chore(deps): bump pydantic from 2.12.3 to 2.12.4
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(20 days ago)
(19 days ago)
dependencies internal size/XS python
Bumps pydantic from 2.12.3 to 2.12.4.
Release notes
Sourced from pydantic's releases.
v2.12.4 2025-11-05
v2.12.4 (2025-11-05)
This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the
build()method of theAnyUrland Dsn types.This patch release also fixes an issue with the serialization of IP address types, when
serialize_as_anyis used. The next patch release will try to address the remaining issues with serialize as any behavior by introducing a new polymorphic serialization feature, that should be used in most cases in place of serialize as any.
Fix issue with forward references in parent
TypedDictclasses by@Viicosin #12427.This issue is only relevant on Python 3.14 and greater.
Exclude fields with
exclude_iffrom JSON Schema required fields by@Viicosin #12430Revert URL percent-encoding of credentials in the
build()method of theAnyUrland Dsn types by@davidhewittin pydantic-core#1833.This was initially considered as a bugfix, but caused regressions and as such was fully reverted. The next release will include an opt-in option to percent-encode components of the URL.
Add type inference for IP address types by
@davidhewittin pydantic-core#1868.The 2.12 changes to the
serialize_as_anybehavior made it so that IP address types could not properly serialize to JSON.Avoid getting default values from defaultdict by
@davidhewittin pydantic-core#1853.This fixes a subtle regression in the validation behavior of the
collections.defaultdicttype.Fix issue with field serializers on nested typed dictionaries by
@davidhewittin pydantic-core#1879.Add more
pydantic-corebuilds for the three-threaded version of Python 3.14 by@davidhewittin pydantic-core#1864.Full Changelog: https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4
Changelog
Sourced from pydantic's changelog.
v2.12.4 (2025-11-05)
This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the
build()method of theAnyUrland Dsn types.This patch release also fixes an issue with the serialization of IP address types, when
serialize_as_anyis used. The next patch release will try to address the remaining issues with serialize as any behavior by introducing a new polymorphic serialization feature, that should be used in most cases in place of serialize as any.
Fix issue with forward references in parent
TypedDictclasses by@Viicosin #12427.This issue is only relevant on Python 3.14 and greater.
Exclude fields with
exclude_iffrom JSON Schema required fields by@Viicosin #12430Revert URL percent-encoding of credentials in the
build()method of theAnyUrland Dsn types by@davidhewittin pydantic-core#1833.This was initially considered as a bugfix, but caused regressions and as such was fully reverted. The next release will include an opt-in option to percent-encode components of the URL.
Add type inference for IP address types by
@davidhewittin pydantic-core#1868.The 2.12 changes to the
serialize_as_anybehavior made it so that IP address types could not properly serialize to JSON.Avoid getting default values from defaultdict by
@davidhewittin pydantic-core#1853.This fixes a subtle regression in the validation behavior of the
collections.defaultdicttype.Fix issue with field serializers on nested typed dictionaries by
@davidhewittin pydantic-core#1879.Add more
pydantic-corebuilds for the three-threaded version of Python 3.14 by@davidhewittin pydantic-core#1864.
Commits
5c842dfPrepare release v2.12.4c678a71Bumppydantic-coreto v2.41.5a7cd292Bumpcloudpickleto v3.1.221f6278Bump actions/setup-node from 5 to 68d6be8fBump astral-sh/setup-uv from 6 to 717865eaBump actions/upload-artifact from 4 to 590ad0afBump actions/download-artifact from 5 to 618e6672Drop testing under PyPy 3.9650215bDocument workaround forMongoDsndefault porte326790Fix example of forbytes_invalid_encodingvalidation error- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10855898 |
| UUID: | 3592624587 |
| Node ID: | PR_kwDODTo4k86xvAJa |
| Host: | GitHub |
| Repository: | aws-powertools/powertools-lambda-python |