Bump pydantic from 2.7.0 to 2.7.1
Bumps pydantic from 2.7.0 to 2.7.1.
Release notes
Sourced from pydantic's releases.
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@CherrySuryp
made their first contribution in #9205@vagenas
made their first contribution in #9268@ollz272
made their first contribution in #9262@babygrimes
made their first contribution in #9168@swelborn
made their first contribution in #9296@kf-novi
made their first contribution in #9236@lgeiger
made their first contribution in #9288Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.0...v2.7.1/
Changelog
Sourced from pydantic's changelog.
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@CherrySuryp
made their first contribution in #9205@vagenas
made their first contribution in #9268@ollz272
made their first contribution in #9262@babygrimes
made their first contribution in #9168@swelborn
made their first contribution in #9296@kf-novi
made their first contribution in #9236@lgeiger
made their first contribution in #9288
Commits
-
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) -
82e4664
Fix model json schema with config types (#9287) -
a0f18e3
Fix bullets in Strict Mode docs (#9296) -
77b0e1c
Address case where model_construct on a class which defines model_post_init f... -
6322b24
Fixstrict
application tofunction-after
withuse_enum_values
(#9279) -
bb857bd
docs(performance): remove section on literal vs enum performance (#9262) -
3c15a8b
docs: makeTypeAdapter
example PEP-8 compliant (#9268) - Additional commits viewable in compare view