Skip to content

Releases: pydantic/typing-inspection

v0.4.0 (2025-02-25)

25 Feb 17:26
34ce565
Compare
Choose a tag to compare

What's Changed

  • Add support for dataclasses.InitVar as a type qualifier by @Viicos in #31
    A new DATACLASS 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)

24 Feb 17:13
b843e29
Compare
Choose a tag to compare

What's Changed

  • Allow unhashable items in Literal forms by @Viicos in #28

Full Changelog: v0.3.0...v0.3.1

v0.3.0 (2025-02-24)

24 Feb 09:58
1ca4d71
Compare
Choose a tag to compare

What's Changed

  • Handle bare ClassVar type qualifiers, rename INFERRED sentinel by @Viicos in #26
    While currently not explicitly allowed by the typing specification, ClassVar is allowed as a bare type qualifier.
    Unlike Final, the actual type doesn't have to be inferred from the assignment (e.g. one can use Any).
    For this reason, the INFERRED sentinel was renamed to UNKNOWN.

Full Changelog: v0.2.0...v0.3.0

v0.2.0 (2025-02-23)

23 Feb 18:51
ee1f9ad
Compare
Choose a tag to compare

What's Changed

  • Add typing_objects.is_deprecated() by @Viicos in #24
  • Add missing positional only parameter markers in typing_objects stub file by @Viicos in #23
  • Add project URLs by @Viicos in #22

Full Changelog: v0.1.0...v0.2.0

v0.1.0 (2025-02-22)

23 Feb 18:45
59a3504
Compare
Choose a tag to compare

Initial release.