This library adheres to
Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>_.
4.3.0 (2024-05-27)
Added support for checking against static protocols
Fixed some compatibility problems when running on Python 3.13
([#460](https://github.com/agronholm/typeguard/issues/460) <https://github.com/agronholm/typeguard/issues/460>_; PR by @JelleZijlstra)
Fixed test suite incompatibility with pytest 8.2
([#461](https://github.com/agronholm/typeguard/issues/461) <https://github.com/agronholm/typeguard/issues/461>_)
Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just
present) ([#343](https://github.com/agronholm/typeguard/issues/343) <https://github.com/agronholm/typeguard/issues/343>_)
4.2.1 (2023-03-24)
Fixed missing typing_extensions dependency for Python 3.12
([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)
Fixed deprecation warning in the test suite on Python 3.13
([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)
4.2.0 (2023-03-23)
Added support for specifying options for the pytest plugin via pytest config files
([#440](https://github.com/agronholm/typeguard/issues/440) <https://github.com/agronholm/typeguard/issues/440>_)
Avoid creating reference cycles when type checking unions (PR by Shantanu)
Fixed Optional[...] being removed from the AST if it was located within a
subscript ([#442](https://github.com/agronholm/typeguard/issues/442) <https://github.com/agronholm/typeguard/issues/442>_)
Fixed TypedDict from typing_extensions not being recognized as one
([#443](https://github.com/agronholm/typeguard/issues/443) <https://github.com/agronholm/typeguard/issues/443>_)
Fixed typing types (dict[str, int], List[str], etc.) not passing checks
against type or Type
([#432](https://github.com/agronholm/typeguard/issues/432) <https://github.com/agronholm/typeguard/issues/432>_, PR by Yongxin Wang)
Fixed detection of optional fields (NotRequired[...]) in TypedDict when using
forward references ([#424](https://github.com/agronholm/typeguard/issues/424) <https://github.com/agronholm/typeguard/issues/424>_)
Fixed mapping checks against Django's MultiValueDict
([#419](https://github.com/agronholm/typeguard/issues/419) <https://github.com/agronholm/typeguard/issues/419>_)
4.1.5 (2023-09-11)
Fixed Callable erroneously rejecting a callable that has the requested amount of
positional arguments but they have defaults
([#400](https://github.com/agronholm/typeguard/issues/400) <https://github.com/agronholm/typeguard/issues/400>_)
Fixed a regression introduced in v4.1.4 where the elements of Literal got quotes
removed from them by the AST transformer
([#399](https://github.com/agronholm/typeguard/issues/399) <https://github.com/agronholm/typeguard/issues/399>_)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 4.2.1 to 4.3.0.
Release notes
Sourced from typeguard's releases.
Changelog
Sourced from typeguard's changelog.
... (truncated)
Commits
016f813
Added release date72ec4e7
Prevented the pytest plugin from crashing on pytest < 7.0d8b0292
Updated pre-commit modules001977e
Switched from black to ruff-format241d120
Added support for checking against static protocolsd539190
Updated remapped ruff ruleb5e77ab
Added attribution for PR #4600e2cd17
Don't display xfail tracebacks by default6647e5d
Support Python 3.13 (#460)dd3fc1e
Added the pull request templateDependabot 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 show