Skip to content

Releases: smarie/python-yamlable

1.1.1 - Python 3.10 compliance

06 Jul 09:03
Compare
Choose a tag to compare

See documentation page for details.

1.1.0 - Now load objects from sequences and scalars too

04 Feb 21:54
Compare
Choose a tag to compare
  • Objects (subclasses of YamlAble or YamlObject2) 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 of YamlCodec) can also support this feature, through the from_yaml_list and from_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 of YamlObject2 anymore as it could lead to an unexpected behaviour. Fixes #15

See documentation page for details.

1.0.4 - better type hinting (mypy)

28 Jun 16:19
Compare
Choose a tag to compare
  • 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

26 Apr 14:20
Compare
Choose a tag to compare
  • packaging improvements: set the "universal wheel" flag to 1, and cleaned up the setup.py. In particular removed dependency to six for setup and added py.typed file, as well as set the zip_safe flag to False. Removed tests folder from package. Fixes #10

See documentation page for details.

1.0.2 - `pyproject.toml`

18 Nov 12:15
Compare
Choose a tag to compare

Added pyproject.toml.

See documentation page for details.

1.0.1 - added `__version__` attribute

01 Oct 14:38
Compare
Choose a tag to compare

Added __version__ pkg-level attribute.

See documentation page for details.

1.0.0 - Compliance with PyYaml 5.1 and de-facto 1.0.0

23 Apr 11:25
Compare
Choose a tag to compare
  • 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.