fix(deps): update dependency pydantic to v2.12.5 #14

Merged
renovate-bot merged 1 commit from renovate/pydantic-2.x into main 2026-01-18 17:41:02 +01:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
pydantic (changelog) ==2.12.0==2.12.5 age confidence

Release Notes

pydantic/pydantic (pydantic)

v2.12.5

Compare Source

GitHub release

This is the fifth 2.12 patch release, addressing an issue with the MISSING sentinel and providing several documentation improvements.

The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing
the remaining unexpected changes to the serialize as any behavior.

  • Fix pickle error when using model_construct() on a model with MISSING as a default value by @​ornariece in #​12522.
  • Several updates to the documentation by @​Viicos.

v2.12.4

Compare Source

GitHub release

This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the build() method
of the AnyUrl and Dsn types.

This patch release also fixes an issue with the serialization of IP address types, when serialize_as_any is 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.

v2.12.3

Compare Source

GitHub release

What's Changed

This is the third 2.12 patch release, fixing issues related to the FieldInfo class, and reverting a change to the supported
after model validator function signatures.

  • Raise a warning when an invalid after model validator function signature is raised by @​Viicos in #​12414.
    Starting in 2.12.0, using class methods for after model validators raised an error, but the error wasn't raised concistently. We decided
    to emit a deprecation warning instead.
  • Add FieldInfo.asdict() method, improve documentation around FieldInfo by @​Viicos in #​12411.
    This also add back support for mutations on FieldInfo classes, that are reused as Annotated metadata. However, note that this is still
    not a supported pattern. Instead, please refer to the added example in the documentation.

The blog post section on changes was also updated to document the changes related to serialize_as_any.

v2.12.2

Compare Source

GitHub release

What's Changed
Fixes
  • Release a new pydantic-core version, as a corrupted CPython 3.10 manylinux2014_aarch64 wheel got uploaded (pydantic-core#1843).
  • Fix issue with recursive generic models with a parent model class by @​Viicos in #​12398

v2.12.1

Compare Source

GitHub release

What's Changed

This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.

Fixes
New Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pydantic](https://github.com/pydantic/pydantic) ([changelog](https://docs.pydantic.dev/latest/changelog/)) | `==2.12.0` → `==2.12.5` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.12.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.12.0/2.12.5?slim=true) | --- ### Release Notes <details> <summary>pydantic/pydantic (pydantic)</summary> ### [`v2.12.5`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2125-2025-11-26) [Compare Source](https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5) [GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.5) This is the fifth 2.12 patch release, addressing an issue with the `MISSING` sentinel and providing several documentation improvements. The next 2.13 minor release will be published in a couple weeks, and will include a new *polymorphic serialization* feature addressing the remaining unexpected changes to the *serialize as any* behavior. - Fix pickle error when using `model_construct()` on a model with `MISSING` as a default value by [@&#8203;ornariece](https://github.com/ornariece) in [#&#8203;12522](https://github.com/pydantic/pydantic/pull/12522). - Several updates to the documentation by [@&#8203;Viicos](https://github.com/Viicos). ### [`v2.12.4`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2124-2025-11-05) [Compare Source](https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4) [GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.4) This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the `build()` method of the [`AnyUrl` and Dsn types](https://docs.pydantic.dev/latest/api/networks/). This patch release also fixes an issue with the serialization of IP address types, when `serialize_as_any` is 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 `TypedDict` classes by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12427](https://github.com/pydantic/pydantic/pull/12427). This issue is only relevant on Python 3.14 and greater. - Exclude fields with `exclude_if` from JSON Schema required fields by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12430](https://github.com/pydantic/pydantic/pull/12430) - Revert URL percent-encoding of credentials in the `build()` method of the [`AnyUrl` and Dsn types](https://docs.pydantic.dev/latest/api/networks/) by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1833](https://github.com/pydantic/pydantic-core/pull/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 [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1868](https://github.com/pydantic/pydantic-core/pull/1868). The 2.12 changes to the `serialize_as_any` behavior made it so that IP address types could not properly serialize to JSON. - Avoid getting default values from defaultdict by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1853](https://github.com/pydantic/pydantic-core/pull/1853). This fixes a subtle regression in the validation behavior of the [`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict) type. - Fix issue with field serializers on nested typed dictionaries by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1879](https://github.com/pydantic/pydantic-core/pull/1879). - Add more `pydantic-core` builds for the three-threaded version of Python 3.14 by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1864](https://github.com/pydantic/pydantic-core/pull/1864). ### [`v2.12.3`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2123-2025-10-17) [Compare Source](https://github.com/pydantic/pydantic/compare/v2.12.2...v2.12.3) [GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.3) ##### What's Changed This is the third 2.12 patch release, fixing issues related to the `FieldInfo` class, and reverting a change to the supported [*after* model validator](https://docs.pydantic.dev/latest/concepts/validators/#model-validators) function signatures. - Raise a warning when an invalid after model validator function signature is raised by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12414](https://github.com/pydantic/pydantic/pull/12414). Starting in 2.12.0, using class methods for *after* model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead. - Add [`FieldInfo.asdict()`](https://docs.pydantic.dev/latest/api/fields/#pydantic.fields.FieldInfo.asdict) method, improve documentation around `FieldInfo` by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12411](https://github.com/pydantic/pydantic/pull/12411). This also add back support for mutations on `FieldInfo` classes, that are reused as `Annotated` metadata. **However**, note that this is still *not* a supported pattern. Instead, please refer to the [added example](https://docs.pydantic.dev/latest/examples/dynamic_models/) in the documentation. The [blog post](https://pydantic.dev/articles/pydantic-v2-12-release#changes) section on changes was also updated to document the changes related to `serialize_as_any`. ### [`v2.12.2`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2122-2025-10-14) [Compare Source](https://github.com/pydantic/pydantic/compare/v2.12.1...v2.12.2) [GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.2) ##### What's Changed ##### Fixes - Release a new `pydantic-core` version, as a corrupted CPython 3.10 `manylinux2014_aarch64` wheel got uploaded ([pydantic-core#1843](https://github.com/pydantic/pydantic-core/pull/1843)). - Fix issue with recursive generic models with a parent model class by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12398](https://github.com/pydantic/pydantic/pull/12398) ### [`v2.12.1`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2121-2025-10-13) [Compare Source](https://github.com/pydantic/pydantic/compare/v2.12.0...v2.12.1) [GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.1) ##### What's Changed This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release. ##### Fixes - Do not evaluate annotations when inspecting validators and serializers by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12355](https://github.com/pydantic/pydantic/pull/12355) - Make sure `None` is converted as `NoneType` in Python 3.14 by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12370](https://github.com/pydantic/pydantic/pull/12370) - Backport V1 runtime warning when using Python 3.14 by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12367](https://github.com/pydantic/pydantic/pull/12367) - Fix error message for invalid validator signatures by [@&#8203;Viicos](https://github.com/Viicos) in [#&#8203;12366](https://github.com/pydantic/pydantic/pull/12366) - Populate field name in `ValidationInfo` for validation of default value by [@&#8203;Viicos](https://github.com/Viicos) in [pydantic-core#1826](https://github.com/pydantic/pydantic-core/pull/1826) - Encode credentials in `MultiHostUrl` builder by [@&#8203;willswire](https://github.com/willswire) in [pydantic-core#1829](https://github.com/pydantic/pydantic-core/pull/1829) - Respect field serializers when using `serialize_as_any` serialization flag by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1829](https://github.com/pydantic/pydantic-core/pull/1829) - Fix various `RootModel` serialization issues by [@&#8203;davidhewitt](https://github.com/davidhewitt) in [pydantic-core#1836](https://github.com/pydantic/pydantic-core/pull/1836) ##### New Contributors - [@&#8203;willswire](https://github.com/willswire) made their first contribution in [pydantic-core#1829](https://github.com/pydantic/pydantic-core/pull/1829) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NC4yIiwidXBkYXRlZEluVmVyIjoiNDIuODQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2026-01-18 17:40:11 +01:00
fix(deps): update dependency pydantic to v2.12.5
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 1m4s
c6961dfd0e
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-01-18 17:40:12 +01:00
renovate-bot merged commit 71c00bf843 into main 2026-01-18 17:41:02 +01:00
renovate-bot deleted branch renovate/pydantic-2.x 2026-01-18 17:41:02 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: kfickel/streamd#14
No description provided.