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
YamlAbleorYamlObject2) 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_listandfrom_yaml_scalarmethods (not implemented by default). Fixes #12 - Now using
mkdocs-galleryfor documentation examples. Fixed #14 @yaml_infocan not be used on subclasses ofYamlObject2anymore 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 tosixfor setup and addedpy.typedfile, as well as set thezip_safeflag 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.