Releases: pydantic/pydantic-core
Releases · pydantic/pydantic-core
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_fields
serialization 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
v2.37.1 2025-07-25
What's Changed
Identical to v2.37.0.
v2.37.0 2025-07-25
v2.36.0 2025-07-23
What's Changed
- Stop testing free-threaded on 3.13 by @Viicos in #1738
- Bump smallvec from 1.15.0 to 1.15.1 by @dependabot[bot] in #1752
- Bump uuid from 1.16.0 to 1.17.0 by @dependabot[bot] in #1754
- Bump pyo3 from 0.25.0 to 0.25.1 by @dependabot[bot] in #1753
- Implement ser_json_temporal config option by @ollz272 in #1743
- Properly coerce fractions as int by @Viicos in #1757
- Add
exclude_if
logic at the field level by @andresliszt in #1535
Full Changelog: v2.35.2...v2.36.0
v2.35.2 2025-06-26
What's Changed
- update to
speedate
0.16 by @davidhewitt in #1740 - Better document
SerializationInfo
by @Viicos in #1747
Full Changelog: v2.35.1...v2.35.2
v2.35.1 2025-06-11
What's Changed
Full Changelog: v2.35.0...v2.35.1
v2.35.0 2025-06-11
What's Changed
- Do not reuse validator and serializer when unpickling by @Viicos in #1693
- Remove unnecessary required fields count when
exclude_none
is set by @Viicos in #1708 - Update test dependencies after 3.8 dropped support by @Viicos in #1710
- Mark constructor parameters of exceptions as positional-only by @Viicos in #1699
- fix: submodel fields with wrap validator affect smart union selection by @weiliddat in #1700
- use
pypa/gh-action-pypi-publish
by @samuelcolvin in #1599 - add critical sections around bytearray reads by @davidhewitt in #1717
- simplify ser-as-any mechanism by @davidhewitt in #1478
- Coerce
'time'
schema constraints by @Viicos in #1720 - drop serde-json
preserve_order
feature by @davidhewitt in #1724 - Remove core schema validation by @Viicos in #1715
- Improve uncaught
PydanticUseDefault
exception message by @Viicos in #1730 - Add support for Python 3.14 by @Viicos in #1714
- drop pypy3.9 support, add pypy3.11 support by @davidhewitt in #1726
- Add
ensure_ascii
option by @Viicos in #1689 - Update repr of
TzInfo
by @Viicos in #1701 - Make
ValidationInfo
andSerializationInfo
generic forcontext
by @Viicos in #1686
New Contributors
- @weiliddat made their first contribution in #1700
Full Changelog: v2.34.1...v2.35.0
v2.33.2 2025-04-23
What's Changed
- fix clippy lints for Rust 1.86 by @davidhewitt in #1682
- Bump uuid from 1.15.1 to 1.16.0 by @dependabot in #1678
- Bump serde_json from 1.0.138 to 1.0.140 by @dependabot in #1679
- Bump pyo3 from 0.24.0 to 0.24.1 by @dependabot in #1677
- Do not reuse validator and serializer when unpickling by @Viicos in #1693
- Bump version to v2.33.2 by @Viicos in #1702
Full Changelog: v2.33.1...v2.33.2