Bump pydantic from 2.8.2 to 2.10.3
Bumps pydantic from 2.8.2 to 2.10.3.
Release notes
Sourced from pydantic's releases.
v2.10.3 2024-12-03
What's Changed
Fixes
- Set fields when
defer_build
is set on Pydantic dataclasses by@Viicos
in #10984- Do not resolve the JSON Schema reference for
dict
core schema keys by@Viicos
in #10989- Use the globals of the function when evaluating the return type for
PlainSerializer
andWrapSerializer
functions by@Viicos
in #11008- Fix host required enforcement for urls to be compatible with v2.9 behavior by
@sydney-runkle
in #11027- Add a
default_factory_takes_validated_data
property toFieldInfo
by@Viicos
in #11034- Fix url json schema in
serialization
mode by@sydney-runkle
in #11035Full Changelog: https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3
v2.10.2 2024-11-26
What's Changed
Fixes
- Only evaluate
FieldInfo
annotations if required during schema building by@Viicos
in #10769- Do not evaluate annotations for private fields by
@Viicos
in #10962- Support serialization as any for
Secret
types andUrl
types by@sydney-runkle
in #10947- Fix type hint of
Field.default
to be compatible with Python 3.8 and 3.9 by@Viicos
in #10972- Add hashing support for URL types by
@sydney-runkle
in #10975- Hide
BaseModel.__replace__
definition from type checkers by@Viicos
in 10979Full Changelog: https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2
v2.10.1 2024-11-21
What's Changed
Packaging
- Bump
pydantic-core
version tov2.27.1
by@sydney-runkle
in #10938Fixes
- Use the correct frame when instantiating a parametrized
TypeAdapter
by@Viicos
in #10893- Relax check for validated data in
default_factory
utils by@sydney-runkle
in #10909- Fix type checking issue with
model_fields
andmodel_computed_fields
by@sydney-runkle
in #10911- Use the parent configuration during schema generation for stdlib
dataclass
es by@sydney-runkle
in #10928- Use the
globals
of the function when evaluating the return type of serializers andcomputed_field
s by@Viicos
in #10929- Fix URL constraint application by
@sydney-runkle
in #10922- Fix URL equality with different validation methods by
@sydney-runkle
in #10934- Fix JSON schema title when specified as
''
by@sydney-runkle
in #10936- Fix
python
mode serialization forcomplex
inference by@sydney-runkle
in pydantic-core#1549Full Changelog: https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1
v2.10.0 2024-11-20
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.10.3 (2024-12-03)
What's Changed
Fixes
- Set fields when
defer_build
is set on Pydantic dataclasses by@Viicos
in #10984- Do not resolve the JSON Schema reference for
dict
core schema keys by@Viicos
in #10989- Use the globals of the function when evaluating the return type for
PlainSerializer
andWrapSerializer
functions by@Viicos
in #11008- Fix host required enforcement for urls to be compatible with v2.9 behavior by
@sydney-runkle
in #11027- Add a
default_factory_takes_validated_data
property toFieldInfo
by@Viicos
in #11034- Fix url json schema in
serialization
mode by@sydney-runkle
in #11035v2.10.2 (2024-11-25)
What's Changed
Fixes
- Only evaluate FieldInfo annotations if required during schema building by
@Viicos
in #10769- Do not evaluate annotations for private fields by
@Viicos
in #10962- Support serialization as any for
Secret
types andUrl
types by@sydney-runkle
in #10947- Fix type hint of
Field.default
to be compatible with Python 3.8 and 3.9 by@Viicos
in #10972- Add hashing support for URL types by
@sydney-runkle
in #10975- Hide
BaseModel.__replace__
definition from type checkers by@Viicos
in 10979v2.10.1 (2024-11-21)
What's Changed
Packaging
- Bump
pydantic-core
version tov2.27.1
by@sydney-runkle
in #10938Fixes
- Use the correct frame when instantiating a parametrized
TypeAdapter
by@Viicos
in #10893- Relax check for validated data in
default_factory
utils by@sydney-runkle
in #10909- Fix type checking issue with
model_fields
andmodel_computed_fields
by@sydney-runkle
in #10911- Use the parent configuration during schema generation for stdlib
dataclass
es by@sydney-runkle
in #10928- Use the
globals
of the function when evaluating the return type of serializers andcomputed_field
s by@Viicos
in #10929- Fix URL constraint application by
@sydney-runkle
in #10922- Fix URL equality with different validation methods by
@sydney-runkle
in #10934- Fix JSON schema title when specified as
''
by@sydney-runkle
in #10936
... (truncated)
Commits
-
c326748
Prep for v2.10.3 release (#11038) -
68d35bf
Fix url json schema inserialization
mode (#11035) -
fa69b4c
Add adefault_factory_takes_validated_data
property toFieldInfo
(#11034) -
435a703
Fix host required enforcement for urls to be compatible with v2.9 behavior (#... -
b2c4548
Use the globals of the function when evaluating the return type for `PlainSer... -
cb962c1
Do not resolve the JSON Schema reference fordict
core schema keys (#10989) -
10ebcdf
Set fields whendefer_build
is set on Pydantic dataclasses (#10984) -
fe32515
Prepare for v2.10.2 release (#10982) -
226cfaf
HideBaseModel.__replace__
definition from type checkers (#10979) -
02229a6
hashing support for urls (#10975) - Additional commits viewable in compare view
Merge request reports
Activity
Please register or sign in to reply