Sourced from pydantic's releases.
v2.9.2 (2024-09-17)
What's Changed
Fixes
- Do not error when trying to evaluate annotations of private attributes by
@Viicos
in #10358- Adding notes on designing sound
Callable
discriminators by@sydney-runkle
in #10400- Fix serialization schema generation when using
PlainValidator
by@Viicos
in #10427- Fix
Union
serialization warnings by@sydney-runkle
in pydantic/pydantic-core#1449- Fix variance issue in
_IncEx
type alias, only allowTrue
by@Viicos
in #10414- Fix
ZoneInfo
validation with various invalid types by@sydney-runkle
in #10408Full Changelog: https://github.com/pydantic/pydantic/compare/v2.9.1...v2.9.2
v2.9.1 (2024-09-09)
What's Changed
Fixes
- Fix Predicate issue in v2.9.0 by
@sydney-runkle
in #10321- Fixing
annotated-types
bound to>=0.6.0
by@sydney-runkle
in #10327- Turn
tzdata
install requirement into optionaltimezone
dependency by@jakob-keller
in #10331- Fix
IncExc
type alias definition by@Viicos
in #10339- Use correct types namespace when building namedtuple core schemas by
@Viicos
in #10337- Fix evaluation of stringified annotations during namespace inspection by
@Viicos
in #10347- Fix tagged union serialization with alias generators by
@sydney-runkle
in pydantic/pydantic-core#1442Full Changelog: https://github.com/pydantic/pydantic/compare/v2.9.0...v2.9.1
v2.9.0 (2024-09-05)
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
Check out our blog post to learn more about the release highlights!
What's Changed
Packaging
- Bump
ruff
tov0.5.0
andpyright
tov1.1.369
by@sydney-runkle
in #9801- Bump
pydantic-extra-types
tov2.9.0
by@sydney-runkle
in #9832- Support compatibility with
pdm v2.18.1
by@Viicos
in #10138- Bump
v1
version stub tov1.10.18
by@sydney-runkle
in #10214- Bump
pydantic-core
tov2.23.2
by@sydney-runkle
in #10311New Features
- Add support for
ZoneInfo
by@Youssefares
in #9896- Add
Config.val_json_bytes
by@josh-newman
in #9770- Add DSN for Snowflake by
@aditkumar72
in #10128- Support
complex
number by@changhc
in #9654- Add support for
annotated_types.Not
by@aditkumar72
in #10210
... (truncated)
Sourced from pydantic's changelog.
v2.9.2 (2024-09-17)
What's Changed
Fixes
- Do not error when trying to evaluate annotations of private attributes by
@Viicos
in #10358- Adding notes on designing sound
Callable
discriminators by@sydney-runkle
in #10400- Fix serialization schema generation when using
PlainValidator
by@Viicos
in #10427- Fix
Union
serialization warnings by@sydney-runkle
in pydantic/pydantic-core#1449- Fix variance issue in
_IncEx
type alias, only allowTrue
by@Viicos
in #10414- Fix
ZoneInfo
validation with various invalid types by@sydney-runkle
in #10408v2.9.1 (2024-09-09)
What's Changed
Fixes
- Fix Predicate issue in v2.9.0 by
@sydney-runkle
in #10321- Fixing
annotated-types
bound to>=0.6.0
by@sydney-runkle
in #10327- Turn
tzdata
install requirement into optionaltimezone
dependency by@jakob-keller
in #10331- Fix
IncExc
type alias definition by@Viicos
in #10339- Use correct types namespace when building namedtuple core schemas by
@Viicos
in #10337- Fix evaluation of stringified annotations during namespace inspection by
@Viicos
in #10347- Fix tagged union serialization with alias generators by
@sydney-runkle
in pydantic/pydantic-core#1442v2.9.0 (2024-09-05)
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
What's Changed
Packaging
- Bump
ruff
tov0.5.0
andpyright
tov1.1.369
by@sydney-runkle
in #9801- Bump
pydantic-extra-types
tov2.9.0
by@sydney-runkle
in #9832- Support compatibility with
pdm v2.18.1
by@Viicos
in #10138- Bump
v1
version stub tov1.10.18
by@sydney-runkle
in #10214- Bump
pydantic-core
tov2.23.2
by@sydney-runkle
in #10311New Features
- Add support for
ZoneInfo
by@Youssefares
in #9896- Add
Config.val_json_bytes
by@josh-newman
in #9770- Add DSN for Snowflake by
@aditkumar72
in #10128
... (truncated)
7cedbfb
history updates7eab2b8
v bumpc0a288f
Fix ZoneInfo
with various invalid types (#10408)ea6115d
Fix variance issue in _IncEx
type alias, only allow
True
(#10414)fbfe25a
Fix serialization schema generation when using
PlainValidator
(#10427)26cff3c
Adding notes on designing callable discriminators (#10400)8a0e7ad
Do not error when trying to evaluate annotations of private attributes
(#10358)ecc5275
bump2c61bfd
Fix evaluation of stringified annotations during namespace inspection
(#10347)3d364cb
Use correct types namespace when building namedtuple core schemas (#10337)