Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
v2.41.4
v2.41.3
Release 2.41.3
v2.41.2 2025-10-13
What's Changed
- Populate field name for validation of default value by @Viicos in #1826
 - build PyPy manylinux wheels for x86_64 by @davidhewitt in #1831
 - fix: encode credentials in MultiHostUrl builder by @willswire in #1829
 - Populate 
field_nameinInternalValidatorby @Viicos in #1834 - respect 
field_serializerwhen usingserialize_as_any=Trueby @davidhewitt in #1835 - ci: PGO-optimize linux aarch64, restore builds for windows aarch64 by @davidhewitt in #1837
 - fix various 
RootModelserialization issues by @davidhewitt in #1836 
New Contributors
- @willswire made their first contribution in #1829
 
Full Changelog: v2.41.1...v2.41.2
v2.41.1 2025-10-06
What's Changed
Full Changelog: v2.41.0...v2.41.1
v2.41.0 2025-10-06
What's Changed
- Do not call default factories taking the data argument if a validation error already occurred by @Viicos in #1623
 - fix 
default_factorywhich takes data on more types by @davidhewitt in #1822 - ci: avoid timeout on aarch64 tests by @davidhewitt in #1821
 - make _pydantic_core._pydantic_core pub for static linking by @Gentle in #1820
 - Preserve order for 
collections.OrderedDictby @CloseChoice in #1801 
New Contributors
- @Gentle made their first contribution in #1820
 - @CloseChoice made their first contribution in #1801
 
Full Changelog: v2.40.1...v2.41.0
v2.40.1 2025-10-02
What's Changed
- Reapply "Match return type of SerializationInfo.mode() to mode of model_dump() (#1770)" (#1797) by @Viicos in #1815
 - Add quotes to field name in serialization warning by @Viicos in #1816
 - Only create class instance after validation in 
ModelValidator.validate_construct()by @Viicos in #1818 
Full Changelog: v2.40.0...v2.40.1
v2.40.0 2025-10-01
What's Changed
- Add 
extraparameter to the validate functions by @anvilpete in #1722 - chore: Correct grammar in docstring by @willsawyerrrr in #1784
 - bump pyo3 to 0.26, jiter to 0.11 by @davidhewitt in #1785
 - Add GraalPy 3.12 to CI, build GraalPy wheels for more platforms by @msimacek in #1790
 - Add fail-fast for dicts by @uriyyo in #1543
 - fix 
EitherString::as_cowimplementation by @davidhewitt in #1794 - Reuse basic validators and serializers by @davidhewitt in #1795
 - Add option to preserve empty URL paths by @davidhewitt in #1789
 - Bump idna from 1.0.3 to 1.1.0 by @dependabot[bot] in #1806
 - Bump uuid from 1.17.0 to 1.18.1 by @dependabot[bot] in #1802
 - Bump serde_json from 1.0.142 to 1.0.145 by @dependabot[bot] in #1811
 - Add field name in serialization error by @NicolasPllr1 in #1799
 - Bump regex from 1.11.1 to 1.11.3 by @dependabot[bot] in #1804
 
New Contributors
- @anvilpete made their first contribution in #1722
 - @willsawyerrrr made their first contribution in #1784
 - @l00ptr made their first contribution in #1770
 - @NicolasPllr1 made their first contribution in #1799
 
Full Changelog: v2.39.0...v2.40.0
v2.39.0 2025-08-11
What's Changed
- docs: improve onboarding by @PrettyWood in #1775
 - build: bump pytest to 8.4 by @PrettyWood in #1781
 - Add 
exclude_computed_fieldsserialization option by @Viicos in #1780 
Full Changelog: v2.38.0...v2.39.0
v2.38.0 2025-08-04
What's Changed
- Switch to PEP 639 license information by @Viicos in #1769
 - Simplify 
ValidationError.from_exception_data()docstring by @kinuax in #1768 - feat: make TzInfo instantiable without any arguments by @PrettyWood in #1777
 - fix: make everything work on nightly by @PrettyWood in #1776
 - Bump serde_json from 1.0.140 to 1.0.142 by @dependabot[bot] in #1772
 - Build wheels for GraalPy by @msimacek in #1771
 - bump speedate to 0.17 by @davidhewitt in #1778
 - Implement val_temporal_unit for deciding how datetimes and dates timestamps get validated. by @ollz272 in #1751
 
New Contributors
Full Changelog: v2.37.2...v2.38.0
v2.37.2 2025-07-26
What's Changed
Full Changelog: v2.37.1...v2.37.2