Skip to content

Releases: FelixTheC/strongtyping

python_3.10.0_12.12.2021

12 Dec 18:58
Compare
Choose a tag to compare

release for Python 3.10 only

v2.1.9

02 Nov 10:35
51845a2
Compare
Choose a tag to compare
  • improvement of callable checks
    # the parameter/return value is an unknown callable
    Callable[..., Any]
    # the callable will have no arguments and returns a string
    Callable[[], str]
    # the annotation needs to match the callable you want to allow
    # for multiple options use
    Union[
          Callable[[int, str, str], str], 
          Callable[[int, str, int], str]
         ]

v2.1.8

02 Oct 17:32
3ad0969
Compare
Choose a tag to compare
refactor: prepare release (#77)

v2.1.7

02 Sep 11:05
7755310
Compare
Choose a tag to compare
  • feat FinalClass decorator, disable Inheritance for the decorated class
  • fix bug #71 (Initializing TypedDict like a normal class with kwargs fails)
  • fix bug #69 (Handle functions wich specify a value having of type TypeDict)

v2.1.6

19 Jul 05:35
a49ddf2
Compare
Choose a tag to compare
  • class decorator for docstrings from typing class_docs_from_typing
  • beta feature FrozenType

v2.1.5

07 Jun 14:03
Compare
Choose a tag to compare
  • support for latest strongtyping-modules version (0.1.4)
  • support for TypedDict
  • bugfixes

v2.1.4-2

30 May 20:44
4e37663
Compare
Choose a tag to compare
Itervalidator (#59)

* [DRAFT] maybe some future implementations

* [FEAT] ValidationType to add validation functions to type annotation

* [FEAT] docstring from type annotations

* [FEAT] docstring from type annotations

* [UPD] add testing

* [FIX] issue when extension module is installed

* [UPD] separate test with py3.9 only syntax

* [UPD] skip specific test when running with installed module

* fixup!

* [UPD] better info for typing.Literal

* fixup!

* [UPD] include new feature information

* [UPD] beta version

* [UPD] mkdocs for readthedocs

* [UPD] include readthedocs conf

* Update .readthedocs.yaml

* Update .readthedocs.yaml

* .

* .

* fixup!

* fixup!fixup!

* fixup!fixup!fixup!

* fixup!fixup!fixup!fixup!

* fixup!

* [UPD] docs

* fixup!

* [FIX] missing iterable check

* [FIX] include missing type check for Iterable

* isort: .

* isort: .

* black: .

* [FIX] better info when Validator is wrong used

* [FEAT] IterValidator which calls the function on each element like map
[FIX] several fixes

* [FIX] cover failing test in pytest.raises

* linting

* [UPD] version

* [UPD] docs

* [FIX] merge conflict

* [FIX] typing.Any and IterValidator

* [FIX] typing.Any and IterValidator

Co-authored-by: eisenmenger <[email protected]>

v2.1.4-1

30 May 20:41
4e37663
Compare
Choose a tag to compare
Itervalidator (#59)

* [DRAFT] maybe some future implementations

* [FEAT] ValidationType to add validation functions to type annotation

* [FEAT] docstring from type annotations

* [FEAT] docstring from type annotations

* [UPD] add testing

* [FIX] issue when extension module is installed

* [UPD] separate test with py3.9 only syntax

* [UPD] skip specific test when running with installed module

* fixup!

* [UPD] better info for typing.Literal

* fixup!

* [UPD] include new feature information

* [UPD] beta version

* [UPD] mkdocs for readthedocs

* [UPD] include readthedocs conf

* Update .readthedocs.yaml

* Update .readthedocs.yaml

* .

* .

* fixup!

* fixup!fixup!

* fixup!fixup!fixup!

* fixup!fixup!fixup!fixup!

* fixup!

* [UPD] docs

* fixup!

* [FIX] missing iterable check

* [FIX] include missing type check for Iterable

* isort: .

* isort: .

* black: .

* [FIX] better info when Validator is wrong used

* [FEAT] IterValidator which calls the function on each element like map
[FIX] several fixes

* [FIX] cover failing test in pytest.raises

* linting

* [UPD] version

* [UPD] docs

* [FIX] merge conflict

* [FIX] typing.Any and IterValidator

* [FIX] typing.Any and IterValidator

Co-authored-by: eisenmenger <[email protected]>

v2.1.3

30 May 19:14
502b355
Compare
Choose a tag to compare
Itervalidator (#58)

* [DRAFT] maybe some future implementations

* [FEAT] ValidationType to add validation functions to type annotation

* [FEAT] docstring from type annotations

* [FEAT] docstring from type annotations

* [UPD] add testing

* [FIX] issue when extension module is installed

* [UPD] separate test with py3.9 only syntax

* [UPD] skip specific test when running with installed module

* fixup!

* [UPD] better info for typing.Literal

* fixup!

* [UPD] include new feature information

* [UPD] beta version

* [UPD] mkdocs for readthedocs

* [UPD] include readthedocs conf

* Update .readthedocs.yaml

* Update .readthedocs.yaml

* .

* .

* fixup!

* fixup!fixup!

* fixup!fixup!fixup!

* fixup!fixup!fixup!fixup!

* fixup!

* [UPD] docs

* fixup!

* [FIX] missing iterable check

* [FIX] include missing type check for Iterable

* isort: .

* isort: .

* black: .

* [FIX] better info when Validator is wrong used

* [FEAT] IterValidator which calls the function on each element like map
[FIX] several fixes

* [FIX] cover failing test in pytest.raises

* linting

* [UPD] version

* [UPD] docs

* [FIX] merge conflict

Co-authored-by: eisenmenger <[email protected]>

v2.1.2

30 May 09:05
16a7e9a
Compare
Choose a tag to compare
Merge fix (#57)

* [DRAFT] maybe some future implementations

* [FEAT] ValidationType to add validation functions to type annotation

* [FEAT] docstring from type annotations

* [FEAT] docstring from type annotations

* [UPD] add testing

* [FIX] issue when extension module is installed

* [UPD] separate test with py3.9 only syntax

* [UPD] skip specific test when running with installed module

* fixup!

* [UPD] better info for typing.Literal

* fixup!

* [UPD] include new feature information

* [UPD] beta version

* [UPD] mkdocs for readthedocs

* [UPD] include readthedocs conf

* Update .readthedocs.yaml

* Update .readthedocs.yaml

* .

* .

* fixup!

* fixup!fixup!

* fixup!fixup!fixup!

* fixup!fixup!fixup!fixup!

* fixup!

* [UPD] docs

* fixup!

* [FIX] missing iterable check

* [FIX] include missing type check for Iterable

* isort: .

* isort: .

* black: .

Co-authored-by: eisenmenger <[email protected]>