Bump pydantic from 2.8.2 to 2.10.2
Bumps pydantic from 2.8.2 to 2.10.2.
Release notes
Sourced from pydantic's releases.
v2.10.2 2024-11-26
What's Changed
Fixes
- Only evaluate
FieldInfoannotations if required during schema building by@Viicosin #10769- Do not evaluate annotations for private fields by
@Viicosin #10962- Support serialization as any for
Secrettypes andUrltypes by@sydney-runklein #10947- Fix type hint of
Field.defaultto be compatible with Python 3.8 and 3.9 by@Viicosin #10972- Add hashing support for URL types by
@sydney-runklein #10975- Hide
BaseModel.__replace__definition from type checkers by@Viicosin 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-coreversion tov2.27.1by@sydney-runklein #10938Fixes
- Use the correct frame when instantiating a parametrized
TypeAdapterby@Viicosin #10893- Relax check for validated data in
default_factoryutils by@sydney-runklein #10909- Fix type checking issue with
model_fieldsandmodel_computed_fieldsby@sydney-runklein #10911- Use the parent configuration during schema generation for stdlib
dataclasses by@sydney-runklein #10928- Use the
globalsof the function when evaluating the return type of serializers andcomputed_fields by@Viicosin #10929- Fix URL constraint application by
@sydney-runklein #10922- Fix URL equality with different validation methods by
@sydney-runklein #10934- Fix JSON schema title when specified as
''by@sydney-runklein #10936- Fix
pythonmode serialization forcomplexinference by@sydney-runklein pydantic-core#1549Full Changelog: https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1
v2.10.0 2024-11-20
The code released in v2.10.0 is practically identical to that of v2.10.0b2. See the v2.10 release blog post for the highlights!
What's Changed
Packaging
- Bump
pydantic-coretov2.27.0by@sydney-runklein #10825- Replaced pdm with uv by
@frfahimin #10727New Features
- Support
fractions.Fractionby@sydney-runklein #10318- Support
Hashablefor json validation by@sydney-runklein #10324
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.10.2 (2024-11-25)
What's Changed
Fixes
- Only evaluate FieldInfo annotations if required during schema building by
@Viicosin #10769- Do not evaluate annotations for private fields by
@Viicosin #10962- Support serialization as any for
Secrettypes andUrltypes by@sydney-runklein #10947- Fix type hint of
Field.defaultto be compatible with Python 3.8 and 3.9 by@Viicosin #10972- Add hashing support for URL types by
@sydney-runklein #10975- Hide
BaseModel.__replace__definition from type checkers by@Viicosin 10979v2.10.1 (2024-11-21)
What's Changed
Packaging
- Bump
pydantic-coreversion tov2.27.1by@sydney-runklein #10938Fixes
- Use the correct frame when instantiating a parametrized
TypeAdapterby@Viicosin #10893- Relax check for validated data in
default_factoryutils by@sydney-runklein #10909- Fix type checking issue with
model_fieldsandmodel_computed_fieldsby@sydney-runklein #10911- Use the parent configuration during schema generation for stdlib
dataclasses by@sydney-runklein #10928- Use the
globalsof the function when evaluating the return type of serializers andcomputed_fields by@Viicosin #10929- Fix URL constraint application by
@sydney-runklein #10922- Fix URL equality with different validation methods by
@sydney-runklein #10934- Fix JSON schema title when specified as
''by@sydney-runklein #10936- Fix
pythonmode serialization forcomplexinference by@sydney-runklein pydantic-core#1549New Contributors
v2.10.0 (2024-11-20)
The code released in v2.10.0 is practically identical to that of v2.10.0b2.
See the v2.10 release blog post for the highlights!
What's Changed
Packaging
... (truncated)
Commits
-
fe32515Prepare for v2.10.2 release (#10982) -
226cfafHideBaseModel.__replace__definition from type checkers (#10979) -
02229a6hashing support for urls (#10975) -
a9cf39cFix type hint ofField.defaultto be compatible with Python 3.8 and 3.9 (#1... -
869eafdSupport serialization as any forSecrettypes andUrltypes (#10947) -
7c0ed72Do not evaluate annotations for private fields (#10962) -
d6fc7fcOnly evaluateFieldInfoannotations if required during schema building (#10... -
17e60faspacing -
369b355remove typo -
4c75404Prepare for v2.10.1 release (#10939) - Additional commits viewable in compare view