Strictyaml

Latest version: v1.7.3

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

Scan your dependencies

Page 10 of 13

0.5.0

* BUG : Fixed some broken elements of roundtripping.
* BUG : .data representations did not give keys as strings.
* BUG : Fixed bool(x) overriding in python 2.
* FEATURE : Greater than / less than implemented along with better post-representation assignment to mappings.
* FEATURE : Better repr()
* BUG : Keys are now represented as YAML() objects with full access to the location of the key in the YAML document.
* FEATURE : Added is_[scalar|mapping|sequence] methods.
* FEATURE : .values() on YAML object.
* FEATURE : Added .value property to YAML object.
* FEATURE : Implemented __contains__ so the 'in' method can be used.
* FEATURE : Added .get(val) and .keys() so mapping YAML objects can be treated like dicts.
* FEATURE : Added .items() to YAML object.
* FEATURE : Handle srting casting for integers.
* FEATURE : Raise TypeError when trying to cast a string to bool.
* FEATURE : Raise TypeError when attempting to cast YAML(bool) to string.
* FEATURE : Get lines for a specific YAML value, lines before it and lines after.
* FEATURE : Print line numbers of YAML elements.
* FEATURE : Any validator.
* FEATURE : Fixed length sequence validation.
* BUG : Fixed roundtripping.
* FEATURE : Rountripped YAML with modifications.
* BUG : Fixed ruamel.yaml version at a higher level.
* FEATURE : Parse YAML into roundtrippable YAML object.

0.4.2

No relevant code changes.

0.4.1

* BUG : Fixed comma separated validator - now removes trailing spaces when parsing "a, b, c" so it does not parse as "a", " b", " c".

0.4.0

* FEATURE: Comma separated values.

0.3.9

* FEATURE : Added import for CommentedYAML type.

0.3.8

* FEATURE : Empty property validation.

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.