Releases: smarie/python-yamlable
Releases · smarie/python-yamlable
1.1.1 - Python 3.10 compliance
See documentation page for details.
1.1.0 - Now load objects from sequences and scalars too
- Objects (subclasses of
YamlAble
orYamlObject2
) can now be loaded from both mappings, sequences and scalars. Users may override the default behaviour by overriding__from_yaml_list__
and__from_yaml_scalar__
. Codecs (subclasses ofYamlCodec
) can also support this feature, through thefrom_yaml_list
andfrom_yaml_scalar
methods (not implemented by default). Fixes #12 - Now using
mkdocs-gallery
for documentation examples. Fixed #14 @yaml_info
can not be used on subclasses ofYamlObject2
anymore as it could lead to an unexpected behaviour. Fixes #15
See documentation page for details.
1.0.4 - better type hinting (mypy)
- Most type hints have been fixed, in particular for
@yaml_info
. Fixes #11. - CI/CD pipeline migrated to Github Actions. Added badges using
genbadge
See documentation page for details.
1.0.3 - packaging improvements
- packaging improvements: set the "universal wheel" flag to 1, and cleaned up the
setup.py
. In particular removed dependency tosix
for setup and addedpy.typed
file, as well as set thezip_safe
flag to False. Removed tests folder from package. Fixes #10
See documentation page for details.
1.0.2 - `pyproject.toml`
Added pyproject.toml
.
See documentation page for details.
1.0.1 - added `__version__` attribute
Added __version__
pkg-level attribute.
See documentation page for details.
1.0.0 - Compliance with PyYaml 5.1 and de-facto 1.0.0
-
this version has been out and stable for long enough to be considered a good 1.0.0
-
PyYaml 5.1 added some breaking changes. We now comply with them while still supporting the old versions. Fixed #8.
See documentation page for details.