Releases: pydantic/pydantic-core
Releases Β· pydantic/pydantic-core
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
v2.34.1
Release 2.34.1
v2.34.0 2025-04-17
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
- Allow JSON
BigInt
to validate againstfloat
schema by @Viicos in #1685 - Ensure
ValidationInfo.field_name
is correct on validator reuse by @DouweM in #1692 - Bump version to v2.34.0 by @Viicos in #1694
- Fix CI condition for
release
job by @Viicos in #1695 - Fix CI condition for
release
job x2 by @Viicos in #1696
New Contributors
Full Changelog: v2.33.1...v2.34.0
v2.33.1 2025-04-02
What's Changed
- Coerce
'timedelta'
schema constraints by @Viicos in #1676 - Pin
inline-snapshot
with an upper bound to fix wasm build by @davidhewitt in #1680 - Bump version to v2.33.1 by @Viicos in #1681
Full Changelog: v2.33.0...v2.33.1
v2.33.0 2025-03-26
What's Changed
- Add support for extra keys validation for model fields by @Viicos in #1671
- Revert
by_alias
default value change forto_json()
andto_jsonable_python()
by @Viicos in #1672
Full Changelog: v2.32.0...v2.33.0
v2.32.0 2025-03-14
What's Changed
- bump jiter to 0.9, pyo3 to 0.24 by @davidhewitt in #1667
- update authors by @davidhewitt in #1668
- Add new
arguments-v3
schema by @Viicos in #1641 - Add
TzInfo.__new__
stub method by @Viicos in #1611 - Bump version to v2.32.0 by @Viicos in #1670
Full Changelog: v2.31.1...v2.32.0
v2.31.1 2025-03-06
What's Changed
- Skip reusing after validators in prebuilt schemas by @sydney-runkle in #1663
Full Changelog: v2.31.0...v2.31.1