Bump pydantic from 2.6.4 to 2.7.2
Bumps pydantic from 2.6.4 to 2.7.2.
Release notes
Sourced from pydantic's releases.
v2.7.2 (2024-05-28)
What's Changed
Packaging
- Bump
pydantic-core
tov2.18.3
by@sydney-runkle
in #9515Fixes
- Replace
__spec__.parent
with__package__
by@hramezani
in #9331- Fix validation of
int
s with leading unary minus by@RajatRajdeep
in pydantic/pydantic-core#1291- Fix
str
subclass validation for enums by@sydney-runkle
pydantic/pydantic-core#1273
pydantic/pydantic-core#1273- Support
BigInt
s inLiteral
s andEnum
s by@samuelcolvin
pydantic/pydantic-core#1297
pydantic/pydantic-core#1297- Fix: uuid - allow
str
subclass as input by@davidhewitt
pydantic/pydantic-core#1296
pydantic/pydantic-core#1296Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.1...v2.7.2/
v2.7.1 (2024-04-23)
What's Changed
Packaging
- Bump
pydantic-core
tov2.18.2
by@sydney-runkle
in #9307New Features
- Ftp and Websocket connection strings support by
@CherrySuryp
in #9205Changes
- Use field description for RootModel schema description when there is
…
by@LouisGobert
in #9214Fixes
- Fix
validation_alias
behavior withmodel_construct
forAliasChoices
andAliasPath
by@sydney-runkle
in #9223- Revert
typing.Literal
and import it outside the TYPE_CHECKING block by@frost-nzcr4
in #9232- Fix
Secret
serialization schema, applicable for unions by@sydney-runkle
in #9240- Fix
strict
application tofunction-after
withuse_enum_values
by@sydney-runkle
in #9279- Address case where
model_construct
on a class which definesmodel_post_init
fails withAttributeError
by@babygrimes
in #9168- Fix
model_json_schema
with config types by@NeevCohen
in #9287- Support multiple zeros as an
int
by@samuelcolvin
in pydantic/pydantic-core#1269- Fix validation of
int
s with leading unary plus by@cknv
in pydantic/pydantic-core#1272- Fix interaction between
extra != 'ignore'
andfrom_attributes=True
by@davidhewitt
in pydantic/pydantic-core#1276- Handle error from
Enum
'smissing
function asValidationError
by@sydney-runkle
in pydantic/pydantic-core#1274- Fix memory leak with
Iterable
validation by@davidhewitt
in pydantic/pydantic-core#1271New Contributors
@zzstoatzz
made their first contribution in #9219@frost-nzcr4
made their first contribution in #9232
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.7.2 (2024-05-28)
What's Changed
Packaging
- Bump
pydantic-core
tov2.18.3
by@sydney-runkle
in #9515Fixes
- Replace
__spec__.parent
with__package__
by@hramezani
in #9331- Fix validation of
int
s with leading unary minus by@RajatRajdeep
in pydantic/pydantic-core#1291- Fix
str
subclass validation for enums by@sydney-runkle
pydantic/pydantic-core#1273
pydantic/pydantic-core#1273- Support
BigInt
s inLiteral
s andEnum
s by@samuelcolvin
pydantic/pydantic-core#1297
pydantic/pydantic-core#1297- Fix: uuid - allow
str
subclass as input by@davidhewitt
pydantic/pydantic-core#1296
pydantic/pydantic-core#1296v2.7.1 (2024-04-23)
What's Changed
Packaging
- Bump
pydantic-core
tov2.18.2
by@sydney-runkle
in #9307New Features
- Ftp and Websocket connection strings support by
@CherrySuryp
in #9205Changes
- Use field description for RootModel schema description when there is
…
by@LouisGobert
in #9214Fixes
- Fix
validation_alias
behavior withmodel_construct
forAliasChoices
andAliasPath
by@sydney-runkle
in #9223- Revert
typing.Literal
and import it outside the TYPE_CHECKING block by@frost-nzcr4
in #9232- Fix
Secret
serialization schema, applicable for unions by@sydney-runkle
in #9240- Fix
strict
application tofunction-after
withuse_enum_values
by@sydney-runkle
in #9279- Address case where
model_construct
on a class which definesmodel_post_init
fails withAttributeError
by@babygrimes
in #9168- Fix
model_json_schema
with config types by@NeevCohen
in #9287- Support multiple zeros as an
int
by@samuelcolvin
in pydantic/pydantic-core#1269- Fix validation of
int
s with leading unary plus by@cknv
in pydantic/pydantic-core#1272- Fix interaction between
extra != 'ignore'
andfrom_attributes=True
by@davidhewitt
in pydantic/pydantic-core#1276- Handle error from
Enum
'smissing
function asValidationError
by@sydney-runkle
in pydantic/pydantic-core#1274- Fix memory leak with
Iterable
validation by@davidhewitt
in pydantic/pydantic-core#1271
... (truncated)
Commits
-
70ac7a0
fix version -
08d6ed2
Merge branch '2.7' of https://github.com/pydantic/pydantic into 2.7 -
42f544a
fix version -
a20da21
2.7.2 prep (#9515) -
f42ae9b
Logfire annoucement (#9362) -
451f780
Replace__spec__.parent
with__package__
(#9331) -
2612947
2.7.1 release prep (#9307) -
2b8efa2
Move TODO regarding pickling to markdown (#9288) -
73d1049
adds test case for unexpected discriminated union behavior (#9236) -
c33b925
Change CI to usemacos-13
for Python 3.8 and 3.9 (#9305) - Additional commits viewable in compare view