Releases: ken-morel/pyoload
v2.0.2
v2.0.1
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
What's Changed
- Update README.md by @ken-morel in #33
- added missing trailing comma by @ken-morel in #34
- Update README.md by @ken-morel in #35
- removed duplicate tip in readme by @ken-morel in #40
- corrected overload to multiple dispatch and multimethod by @ken-morel in #42
- Update README.md by @ken-morel in #44
- Update index.rst by @ken-morel in #45
- Delete src/pyoload/taskama.sublime-workspace by @ken-morel in #47
- Create test_values.py by @ken-morel in #46
- Update test.yml re by @ken-morel in #51
- Adding python<=3.9 support by @ken-morel in #52
What's new
-
Greatly worked on the docs to make them more undetsandable and increase coverage.
-
Renamed overload to multiple dispatch or multimethod as required, since
As from :ref:Overload or multimethod
. -
Added new options to :ref:
pyoload.Checks
such as registerring under multiple names. -
Increased the pytest coverage to ensure the full functionality of
pyoload
on the several supported python versions. -
Greatly improved performance using
inspect.Signature
. Providing support
for partial annotating of function.(Yes, from v2.0.0 some annotations may be ommited). -
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.
- :ref:
-
Improved support for python 3.9 and 3.10
-
renamed functions as the previous
pyoload.typeMatch
to :ref:pyoload.type_match
to follow
the snake case system of nomenclature. -
: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. -
Now most classes implement
__slots__
to improve memory size.
Full Changelog: v1.1.3...v2.0.0
usage fixes
What's Changed
- Update README.md by @ken-morel in #29
- Added support for multiple names to Check.register by @ken-morel in #31
Full Changelog: v1.1.2...v1.1.3
v1.1.2
v1.1.1
What's Changed
- Update README.rst by @ken-morel in #22
- Update README.rst by @ken-morel in #23
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Added documentation by @ken-morel in #9
- Update README.rst by @ken-morel in #10
- Rename docs/source/conf.py to docs/conf.py by @ken-morel in #11
- Update README.rst by @ken-morel in #17
New Contributors
- @ken-morel made their first contribution in #9
Full Changelog: v1.0.2...v1.1.0
v1.0.1-beta
Update __init__.py
v1.0.0-beta
Initial releases