This library adheres to Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>_.
2.13.2 (2021-11-23)
Fixed typing_extensions being imported unconditionally on Python < 3.9
(bug introduced in 2.13.1)
2.13.1 (2021-11-23)
Fixed @typechecked replacing abstract properties with regular properties
Fixed any generic type subclassing Dict being mistakenly checked as TypedDict on
Python 3.10
2.13.0 (2021-10-11)
Added support for returning NotImplemented from binary magic methods (__eq__() et al)
Added support for checking union types (e.g. Type[Union[X, Y]])
Fixed error message when a check against a Literal fails in a union on Python 3.10
Fixed NewType not being checked on Python 3.10
Fixed unwarranted warning when @typechecked is applied to a class that contains unannotated
properties
Fixed TypeError in the async generator wrapper due to changes in __aiter__() protocol
Fixed broken TypeVar checks – variance is now (correctly) disregarded, and only bound types
and constraints are checked against (but type variable resolution is not done)
2.12.1 (2021-06-04)
Fixed AttributeError when __code__ is missing from the checked callable (PR by epenet)
2.12.0 (2021-04-01)
Added @typeguard_ignore decorator to exclude specific functions and classes from
runtime type checking (PR by Claudio Jolowicz)
2.11.1 (2021-02-16)
Fixed compatibility with Python 3.10
2.11.0 (2021-02-13)
Added support for type checking class properties (PR by Ethan Pronovost)
Fixed static type checking of @typechecked decorators (PR by Kenny Stauffer)
Fixed wrong error message when type check against a bytes declaration fails
Allowed memoryview objects to pass as bytes (like MyPy does)
Shortened tracebacks (PR by prescod)
2.10.0 (2020-10-17)
... (truncated)
Commits
4615f19 Fixed typing_extensions being imported unconditionally on Python < 3.9
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps typeguard from 2.13.0 to 2.13.2.
Changelog
Sourced from typeguard's changelog.
... (truncated)
Commits
4615f19
Fixed typing_extensions being imported unconditionally on Python < 3.92516f18
Added release date4ac7f28
Install coverage with toml support in GA test workflow0ec3dad
Fixed Dict-derived classes being mistaken for TypedDict on Python 3.10+8cfbe29
Fixed@typechecked
replacing abstract properties with regular propertiesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)