Skip to content

Releases: ken-morel/pyoload

v2.0.2

19 Jul 06:59
e032dc1
Compare
Choose a tag to compare

Added support for python builtin Iterable, Iterator, and Mapping: by @ken-morel

v2.0.1

27 Jun 10:37
Compare
Choose a tag to compare

What's Changed

  • Corrected bug when using Unions of GenericAliases by @ken-morel
  • Added support for multiple checker methods by @ken-morel
  • pyoload.type_match now raises an exception when it cannot check the values by @ken-morel
  • Improved the code coverage to 99% by @ken-morel
  • Improved the readthedocs documentation by @ken-morel
  • Improved README.md to add more examples, by @ken-morel

Full Changelog: v2.0.0...v2.0.1
What's new: https://pyoload.readthedocs.io/en/v2.0.1/whatsnew.html

v2.0.0

09 Jun 08:02
Compare
Choose a tag to compare

What's Changed

What's new

  1. Greatly worked on the docs to make them more undetsandable and increase coverage.

  2. Renamed overload to multiple dispatch or multimethod as required, since
    As from :ref:Overload or multimethod.

  3. Added new options to :ref:pyoload.Checks such as registerring under multiple names.

  4. Increased the pytest coverage to ensure the full functionality of pyoload
    on the several supported python versions.

  5. Greatly improved performance using inspect.Signature. Providing support
    for partial annotating of function.(Yes, from v2.0.0 some annotations may be ommited).

  6. Added helper methods for interacting with annotated functions,
    They include

    • :ref:pyoload.annotable
    • :ref:pyoload.unannotable
    • :ref:pyoload.is_annotable
    • :ref:pyoload.is_annotated

    Those methods will help you prevent some functions from being annotated.

  7. Improved support for python 3.9 and 3.10

  8. renamed functions as the previous pyoload.typeMatch to :ref:pyoload.type_match to follow
    the snake case system of nomenclature.

  9. :ref:pyoload.type_match returns a tuple of the matchin status and errors
    which may have lead to type mismatch, thosse errors are added to traceback
    to ease debugging.

  10. Now most classes implement __slots__ to improve memory size.

Full Changelog: v1.1.3...v2.0.0

usage fixes

02 Jun 14:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.2...v1.1.3

v1.1.2

02 Jun 09:00
Compare
Choose a tag to compare
v1.1.2

v1.1.1

02 Jun 08:35
0f02d6e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0

28 May 14:48
cc17bcb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.1.0

v1.0.1-beta

04 May 00:48
4de2cf3
Compare
Choose a tag to compare
v1.0.1-beta Pre-release
Pre-release
Update __init__.py

v1.0.0-beta

04 May 00:38
3053e26
Compare
Choose a tag to compare
v1.0.0-beta Pre-release
Pre-release

Initial releases