Yatiml

Latest version: v0.11.1

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

Scan your dependencies

Page 1 of 3

1.1

first two fixes here add work-arounds that get us partially back up to YAML
1.2 and less surprising syntax rules.

* Switch back to YAML 1.2 floats
* Switch back to YAML 1.2 booleans
* Make enum values matching boolean constants work correctly

0.11.1

******

Fixes
-----

The switch to PyYAML in the previous release also switched us back to YAML

0.11.0

******

New functionality
-----------------

* Support for Python 3.12
* Improved error messages

Fixes
-----

* Now uses PyYAML rather than ruamel.yaml (fixes deprecation warnings)

0.10.0

******

Incompatible changes
--------------------

* Ignore abstract base classes (abc.ABC and/or abstractmethod)

New functionality
-----------------

* Easier-to-understand error messages
* Installation via Conda (already worked, now documented)
* Small documentation improvements
* Python 3.11 support
* Compatibility with ruamel.yaml 0.17

Fixes
-----

* Bug in map_attribute_to_index

Removed
-------

* Support for Python 3.6

0.9.0

*****

New functionality
-----------------

* Support for Python 3.10 (worked fine already, now official)
* Error messages now quote attribute names, making them easier to read.


Fixes
-----

* `map_attribute_to_index()` caused load failure for dictionaries indexed by
a user-defined string class.
* All examples in the documentation now use the new `_yatiml_*` function names,
instead of the old ones without the leading underscore.


Removed
-------

* Loader and Dumper classes, which were deprecated and broken in 0.8.0. Please
use the new `load_function`, `dump_function` and `dumps_function` functions
instead.

0.8.0

*****

Incompatible changes
--------------------

* Accept explicit tags only if compatible with the recognised type(s)

New functionality
-----------------

* Support for untyped documents and attributes
* Support for Any-typed documents and attributes
* Support for Python dataclasses


Fixes
-----

* Dumping of OrderedDict to a file (but not to a string) produced a stray
!!omap.
* Various fixes and improvements to development infrastructure


Removed
-------

* Official support for Python 3.5, which is no longer supported upstream. It
will probably still work, but getting anything to install on 3.5 is getting to
be pretty difficult so it's probably time to upgrade.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.