Yamlator

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 2

0.4.0

* Added import statements to the Yamlator schema syntax that support importing one or more types
* Added namespaces to the import statements with the `as` keyword
* Improvements to the loading of rulesets to allow for schema files to be less restrictive in the order resources are defined.
* Improvements to the grammar file to include new terminals and remove duplicate constructs

0.3.1

* Added top level validation to Yamlator to support data structures that may not be an object or a map
* Minor docstring and structure improvements in the `tests/` module
* Improvements to the codebase docstrings

0.3.0

* Added the `union` data type to the schema to allow a key to be more than one specific type
* Reduced the constraints on the `install_requirements` in `setup.py`
* Minor fixes and improvements to the overall codebase

0.2.2

* Added support for Python 3.6+ by removing the `__future__` and `dataclass` imports from the codebase
* Downgraded pylint in the developer dependencies to allow for Python 3.6 to run locally

0.2.1

* Improved the Yamlator grammar to allow rule names to accept options including symbols, unicode, spaces and dashes. Any YAML key that contains spaces, must be enclosed in double quotes
* Upgraded the Ubuntu version on the publish workflow

0.2.0

* Added `strict` keyword to rulesets to enable strict mode, which will raise a strict violation for every field not defined in the ruleset
* Added `strict` keyword to schema to enable strict mode, which will raise a strict violation for every field not defined in the schema block
* Added new example [strict_mode](./example/strict_mode/) to the `example` directory
* Updated GitHub workloads to use the latest actions
* Fixed bug with rule definitions where field names with similar character patterns to types would create two separate rules

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.