Releases: pydantic/typing-inspection
Releases · pydantic/typing-inspection
v0.4.1 (2025-05-21)
What's Changed
- Fix compatibility with latest Python 3.14 release by @Viicos in #37
- Add
typing_objects.is_forwardref()
by @Viicos in #38 - Fix implementation of
is_union_origin()
by @Viicos in #40 - Add SPDX license identifier by @cdce8p in #42
- Use
list
as a type hint forInspectedAnnotation.metadata
by @Viicos in #43
New Contributors
- @samuelcolvin made their first contribution in #34
- @cdce8p made their first contribution in #42
Full Changelog: v0.4.0...v0.4.1
v0.4.0 (2025-02-25)
What's Changed
- Add support for
dataclasses.InitVar
as a type qualifier by @Viicos in #31
A newDATACLASS
annotation source is added. - Add explicit annotation for
ForbiddenQualifier
exception by @Viicos in #30
Full Changelog: v0.3.1...v0.4.0
v0.3.1 (2025-02-24)
What's Changed
Full Changelog: v0.3.0...v0.3.1
v0.3.0 (2025-02-24)
What's Changed
- Handle bare
ClassVar
type qualifiers, renameINFERRED
sentinel by @Viicos in #26
While currently not explicitly allowed by the typing specification,ClassVar
is allowed as a bare type qualifier.
UnlikeFinal
, the actual type doesn't have to be inferred from the assignment (e.g. one can useAny
).
For this reason, theINFERRED
sentinel was renamed toUNKNOWN
.
Full Changelog: v0.2.0...v0.3.0
v0.2.0 (2025-02-23)
v0.1.0 (2025-02-22)
Initial release.