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