Aac

Latest version: v0.4.45

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.1.5

Breaking Changes
This release includes changes to the plugin contribution system. Plugins that contribute validations will need to be updated.
python
0.1.4 Plugin validation registration (for definition validation)
plugin.register_validations(_get_plugin_validations())

0.1.5 Plugin validation registration (for definition validation)
plugin.register_definition_validations(_get_plugin_validations())


Some packages were re-arranged in the AaC project including `contribution_types` and all first-party plugins.

If you're interacting with other installed plugins, you'll need to use the new methods in the ActiveContext as the PluginManager interface was deprecated and mostly removed.

New Things/Changes
* Added LSP Rename support for enum values
* Added dynamic LSP semantic tokens for the AaC DSL
* Added LSP diagnostics driven by AaC's validation system
* Added Primitive Validation/Constraints
* Boolean types
* Integer types
* Added defined type validation to the `extension` definition's field `type`
* Added Primitive Types Validation
* Removed the use of `flatten` and the `iteration-tools` dependencies
* Renamed the old Validations contribution point to Definition Validations
* Added secure installations for Linux, macOS, and Windows. The README can be found [here](https://github.com/jondavid-black/AaC/blob/3dfc11baf0ec8d7250608bd16caebdae837fc8af/python/secure_install/README.md).

Fixes
* Fixed an issue with Gen-Plugin generating an incorrect setup.py entrypoint
* Fixed an exception caused by trying to apply an extension to a definition that doesn't exist
* Fixed an exception when activating/deactivating a plugin with an invalid name
* Fixed some issues with message output including possible exceptions

0.1.4

New Features:
* Added support for modeling inheritance in data structures
* Created a new validator that verifies definitions in the context have unique names
* New Plugin Contribution system
* Extended the AaC DSL Language-Server Protocol Features:
* Added Goto Definition for definitions, root keys, and enum values in AaC Files
* Added Find References for definitions and root keys in AaC Files
* Added Rename for definitions in AaC Files
* Added Hover support for definition-names in AaC Files
* Added support for updating definitions
* Added support for deleting definitions
* Added support for gracefully handling definitions with undefined, malformed fields

Fixes:
* The parser now correctly calculates definition lexeme line positions within the AaC file
* Fixed some of the clutter present in PlantUML diagrams
* Fixed some file pathing issues on macOS
* Output for the `help-dump` command is now sorted
* Fixed some issues supporting the use of periods '.' in definition names
* Fixed Gen-Protobuf style and format issues, particularly when spaces are used in definition names

Misc Changes:
* Overhauled the Template Engine
* Added a minimum Python 3.9 check. AaC will present the user with an error message and quit.
* Added a new RESTful API plugin
* Added support for CRUD operations on definitions in the ActiveContext
* Added support for executing AaC plugin commands
* Added support for managing AaC files within the server's current working directory.
* Updated the following validator plugins:
* `Required fields` is updated to allow the user to specify which fields are required
* `Type references exist` is updated to allow users to specify which fields are validated
* Added a new plugin that supplies query-able model references
* Added better error message support for jinja templates
* Added UUID support for Definitions in order to support the changing of Definition names, the previous unique identifier
* Added support for Validator plugins to begin providing varying levels of feedback including INFO, WARNING, and ERROR
* Added support for validating individual definitions in a file using the optional argument `--definition_name` in `aac validate`


Contributors:
* Alex Monnet <Coffee2Bitsusers.noreply.github.com>
* Cameron Chaparro <cvchaparrousers.noreply.github.com>
* Charles Blackard <charles.blackardusers.noreply.github.com>
* Jondavid Black <jondavid-blackusers.noreply.github.com>

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.