This repository was archived by the owner on Sep 26, 2025. It is now read-only.
Update dependency pydantic-core to v2.39.0 #140
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
==2.18.2->==2.39.0Release Notes
pydantic/pydantic-core (pydantic-core)
v2.39.0: 2025-08-11Compare Source
What's Changed
exclude_computed_fieldsserialization option by @Viicos in #1780Full Changelog: pydantic/pydantic-core@v2.38.0...v2.39.0
v2.38.0: 2025-08-04Compare Source
What's Changed
ValidationError.from_exception_data()docstring by @kinuax in #1768New Contributors
Full Changelog: pydantic/pydantic-core@v2.37.2...v2.38.0
v2.37.2: 2025-07-26Compare Source
What's Changed
missing-sentinelcore schema by @Viicos in #1765Full Changelog: pydantic/pydantic-core@v2.37.1...v2.37.2
v2.37.1: 2025-07-25Compare Source
What's Changed
Identical to v2.37.0.
v2.37.0: 2025-07-25Compare Source
What's Changed
MISSINGsentinel by @Viicos in #1711Full Changelog: pydantic/pydantic-core@v2.36.0...v2.37.0
v2.36.0: 2025-07-23Compare Source
What's Changed
exclude_iflogic at the field level by @andresliszt in #1535Full Changelog: pydantic/pydantic-core@v2.35.2...v2.36.0
v2.35.2: 2025-06-26Compare Source
What's Changed
speedate0.16 by @davidhewitt in #1740SerializationInfoby @Viicos in #1747Full Changelog: pydantic/pydantic-core@v2.35.1...v2.35.2
v2.35.1: 2025-06-11Compare Source
What's Changed
ValidationInfoandSerializationInfoby @Viicos in #1736Full Changelog: pydantic/pydantic-core@v2.35.0...v2.35.1
v2.35.0: 2025-06-11Compare Source
What's Changed
exclude_noneis set by @Viicos in #1708pypa/gh-action-pypi-publishby @samuelcolvin in #1599'time'schema constraints by @Viicos in #1720preserve_orderfeature by @davidhewitt in #1724PydanticUseDefaultexception message by @Viicos in #1730ensure_asciioption by @Viicos in #1689TzInfoby @Viicos in #1701ValidationInfoandSerializationInfogeneric forcontextby @Viicos in #1686New Contributors
Full Changelog: pydantic/pydantic-core@v2.34.1...v2.35.0
v2.34.1Compare Source
v2.34.0: 2025-04-17Compare Source
What's Changed
BigIntto validate againstfloatschema by @Viicos in #1685ValidationInfo.field_nameis correct on validator reuse by @DouweM in #1692releasejob by @Viicos in #1695releasejob x2 by @Viicos in #1696New Contributors
Full Changelog: pydantic/pydantic-core@v2.33.1...v2.34.0
v2.33.2: 2025-04-23Compare Source
What's Changed
Full Changelog: pydantic/pydantic-core@v2.33.1...v2.33.2
v2.33.1: 2025-04-02Compare Source
What's Changed
'timedelta'schema constraints by @Viicos in #1676inline-snapshotwith an upper bound to fix wasm build by @davidhewitt in #1680Full Changelog: pydantic/pydantic-core@v2.33.0...v2.33.1
v2.33.0: 2025-03-26Compare Source
What's Changed
by_aliasdefault value change forto_json()andto_jsonable_python()by @Viicos in #1672Full Changelog: pydantic/pydantic-core@v2.32.0...v2.33.0
v2.32.0: 2025-03-14Compare Source
What's Changed
arguments-v3schema by @Viicos in #1641TzInfo.__new__stub method by @Viicos in #1611Full Changelog: pydantic/pydantic-core@v2.31.1...v2.32.0
v2.31.1: 2025-03-06Compare Source
What's Changed
Full Changelog: pydantic/pydantic-core@v2.31.0...v2.31.1
v2.31.0: 2025-03-05Compare Source
What's Changed
Packaging
serdefrom 1.0.217 to 1.0.218 by @dependabot in #1657uuidfrom 1.12.1 to 1.15.1 by @dependabot in #1655smallvecfrom 1.13.2 to 1.14.0 by @dependabot in #1654Performance
PydanticUnexpectedValueErrorby @sydney-runkle in #1652Fixes
cls_nametotyped-dictschema by @Viicos in #1659Full Changelog: pydantic/pydantic-core@v2.30.0...v2.31.0
v2.30.0: 2025-02-25Compare Source
What's Changed
SchemaValidators in the test suite. by @mikeedjones in #1631LookupKeylogic to reduce redundancy by @davidhewitt in #1635Optionmap inPyMultiHostUrl.buildby @Viicos in #1643ErrorDetails.urlby @Viicos in #1642InitErrorDetails.typedocumentation by @sobolevn in #1645New Contributors
Full Changelog: pydantic/pydantic-core@v2.29.0...v2.30.0
v2.29.0: 2025-02-07Compare Source
What's Changed
Packaging
uuidfrom 1.11.0 to 1.12.1 by @dependabot in #1618serde_jsonfrom 1.0.134 to 1.0.138 by @dependabot in #1617uvcommands in Makefile by @davidhewitt in #1622macos-latestrunners by @davidhewitt in #1624Fixes
multiple_ofvalidation for negative numbers by @K-dash in #1373Performance
SchemaValidatorandSchemaSerializerby @sydney-runkle in #1616New Features
New Contributors
Full Changelog: pydantic/pydantic-core@v2.28.0...v2.29.0
v2.28.0: 2025-01-30Compare Source
What's Changed
python3-dll-adependency by @davidhewitt in #1568PydanticUseDefaultdocstring by @Viicos in #1571default_valuecalls to the underlying schema forDefinitionRefValidatorby @Viicos in #1573SerializationInfo.round_tripby @davidhewitt in #1576to_python()calls checking for undefined by @davidhewitt in #1580ValueErroron year zero by @davidhewitt in #1583pyupgradeas an explicit linting dependency by @sydney-runkle in #1606dataclassInitVars shouldn't be required on serialization by @sydney-runkle in #1602Full Changelog: pydantic/pydantic-core@v2.27.1...v2.28.0
v2.27.2: 2024-12-18Compare Source
What's Changed
default_valuecalls to the underlying schema forDefinitionRefValidatorby @Viicos in #1573ValueErroron year zero by @davidhewitt in #1583Full Changelog: pydantic/pydantic-core@v2.27.1...v2.27.2
v2.27.1: 2024-11-21Compare Source
What's Changed
Bound<'_, PyString>::to_strby @davidhewitt in #1544complextypes inpythonby @sydney-runkle in #1549Full Changelog: pydantic/pydantic-core@v2.27.0...v2.27.1
v2.27.0: 2024-11-12Compare Source
What's Changed
UrlandMultiHostUrldocstrings, we moved them to pydantic by @sydney-runkle in #1531validate_assignmentwhen field has gone missing by @davidhewitt in #1532Unionserializer: do not raise warnings in nested unions by @lukapeschke in #1513_IncExtype alias to be compatible with mypy by @Viicos in #1537wrapserializer breaking union serialization in presence of extra fields by @davidhewitt in #1530trailing-stringswithallow_partialby @samuelcolvin in #1539New Contributors
Full Changelog: pydantic/pydantic-core@v2.26.0...v2.27.0
v2.26.0: 2024-11-04Compare Source
What's Changed
Fixes
cls, the 2x validation isn't worth it (and is breaking) by @sydney-runkle in #1514coerce_numbers_to_strenabled and string has invalid unicode character by @andrey-berenda in #1515complexvalues in enums by @changhc in #1524Packaging
serdefrom 1.0.213 to 1.0.214 by @dependabot in #1519regexfrom 1.11.0 to 1.11.1 by @dependabot in #1520jiterfrom 0.6.1 to 0.7.0 by @dependabot in #1521speedateto 0.15 by @davidhewitt in #1526New Features
allow_partialby @samuelcolvin in #1512New Contributors
Full Changelog: pydantic/pydantic-core@v2.25.1...v2.26.0
v2.25.1: 2024-10-30Compare Source
What's Changed
ValidationErrorandPydanticCustomErrorby @Youssefares in #1413ser_json_timedelta" by @sydney-runkle in #1503UrlandMultiHostUrlby @sydney-runkle in #1508New Contributors
Full Changelog: pydantic/pydantic-core@v2.25.0...v2.25.1
v2.25.0: 2024-10-23Compare Source
What's Changed
host_requiredfor URLs by @Viicos in #1488Full Changelog: pydantic/pydantic-core@v2.24.2...v2.25.0
v2.24.2: 2024-10-15Compare Source
What's Changed
serializationkey toInvalidSchemaby @sydney-runkle in #1482Full Changelog: pydantic/pydantic-core@v2.24.1...v2.24.2
v2.24.1: 2024-10-11Compare Source
What's Changed
Packaging
pyo3from 0.22.2 to 0.22.3 by @dependabot in #1472serdefrom 1.0.209 to 1.0.210 by @dependabot in #1471regexfrom 1.10.6 to 1.11.0 by @dependabot in #1470Fixes
Changes
invalidschema placeholder by @sydney-runkle in #1469issubclassandisinstanceschemas from json by @sydney-runkle in #1479Full Changelog: pydantic/pydantic-core@v2.24.0...v2.24.1
v2.24.0: 2024-09-20Compare Source
What's Changed
Features
ser_json_timedeltaconfig parameter by @ollz272 in #1427TypedDictto type hint variadic keyword arguments inArgumentsValidatorby @Viicos in #1451Fixes
New Contributors
Full Changelog: pydantic/pydantic-core@v2.23.4...v2.24.0
v2.23.4: 2024-09-16Compare Source
What's Changed
_IncExtype alias, only allowTrueby @Viicos in #1453Full Changelog: pydantic/pydantic-core@v2.23.3...v2.23.4
v2.23.3: 2024-09-07Compare Source
What's Changed
Packaging
serdefrom 1.0.204 to 1.0.209 by @dependabot in #1429idnafrom 1.0.1 to 1.0.2 by @dependabot in #1430uuidfrom 1.9.1 to 1.10.0 by @dependabot in #1431regexfrom 1.10.5 to 1.10.6 by @dependabot in #1432serde_jsonfrom 1.0.121 to 1.0.128 by @dependabot in #1440Fixes
_IncExtype annotation by @Viicos in #1443New Contributors
Full Changelog: pydantic/pydantic-core@v2.23.2...v2.23.3
v2.23.2: 2024-09-05Compare Source
What's Changed
pydantic_coreby @sydney-runkle in #1420Full Changelog: pydantic/pydantic-core@v2.23.1...v2.23.2
v2.23.1: 2024-08-29Compare Source
What's Changed
BigIntserialization forintsubclasses by @kxx317 in #1417New Contributors
Full Changelog: pydantic/pydantic-core@v2.23.0...v2.23.1
v2.23.0: 2024-08-19Compare Source
What's Changed
clsreference toTypedDictSchemaby @sydney-runkle in #1410metadatatype hint fromAny->Dict[str, Any] | Noneby @sydney-runkle in #1411Full Changelog: pydantic/pydantic-core@v2.22.0...v2.23.0
v2.22.0: 2024-08-15Compare Source
What's Changed
AnySerializervia core schema by @BoxyUwU in #1394RUSTFLAGSin final binary by @BoxyUwU in #1396base64standard encoding by @josh-newman in #1395strictmode by @sydney-runkle in #1400exclude_, so don't warn onexcludeby @sydney-runkle in #1403typing_extensions.TypedDicton Python < 3.12 by @candleindark in #1404complexnumbers by @changhc in #1331exactnessintoDecimalvalidation logic by @sydney-runkle in #1405New Contributors
Full Changelog: pydantic/pydantic-core@v2.21.0...v2.22.0
v2.21.0: 2024-08-05Compare Source
What's Changed
Packaging
idnafrom 0.5.0 to 1.0.1 by @dependabot in #1358pyo3from 0.22.0 to 0.22.2 by @dependabot in #1383serde_jsonfrom 1.0.118 to 1.0.121 by @dependabot in #1384serdefrom 1.0.203 to 1.0.204 by @dependabot in #1385base64from 0.21.7 to 0.22.1 by @dependabot in #1386Fixes
field_serializerwith computed field by @nix010 in #1349Features
ser_json_bytesby @josh-newman in #1308allow_partial='trailing-strings'by @sydney-runkle in #1390Performance
Uuid:::from_u128foruuid_to_stringby @fft001 in #1362New Contributors
Full Changelog: pydantic/pydantic-core@v2.20.1...v2.21.0
v2.20.1: 2024-07-03Compare Source
What's Changed
pytest-examplesto get tests passing with ruffv0.5.0by @sydney-runkle in #1360uuidfrom 1.9.0 to 1.9.1 by @dependabot in #1356num-bigintfrom 0.4.5 to 0.4.6 by @dependabot in #1357speedateto v0.14.1 and prep forv0.20.1by @sydney-runkle in #1347Full Changelog: pydantic/pydantic-core@v2.20.0...v2.20.1
v2.20.0: 2024-06-24Compare Source
What's Changed
tagged_union_schemaby @davidhewitt in #1333Unionmatching logic during validation by @sydney-runkle in #1332Unionvalidation logic whenextra='allow'by @sydney-runkle in #1334fail_fastconfig option by [@uriyyo](https://github.com/uriyyoConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.