pypi pydantic 2.12.0b1
v2.12.0b1 2025-10-03

18 hours ago

v2.12.0b1 (2025-10-03)

This is the first beta release of the upcoming 2.12 release.

What's Changed

Packaging

New Features

Changes

  • Raise error if an incompatible pydantic-core version is installed by @Viicos in #12196
  • Remove runtime warning for experimental features by @Viicos in #12265
  • Warn if registering virtual subclasses on Pydantic models by @Viicos in #11669

Fixes

  • Fix __getattr__() behavior on Pydantic models when a property raised an AttributeError and extra values are present by @raspuchin in #12106
  • Add test to prevent regression with Pydantic models used as annotated metadata by @Viicos in #12133
  • Allow to use property setters on Pydantic dataclasses with validate_assignment set by @Viicos in #12173
  • Fix mypy v2 plugin for upcoming mypy release by @cdce8p in #12209
  • Respect custom title in functions JSON Schema by @Viicos in #11892
  • Fix ImportString JSON serialization for objects with a name attribute by @chr1sj0nes in #12219
  • Do not error on fields overridden by methods in the mypy plugin by @Viicos in #12290

New Contributors

Don't miss a new pydantic release

NewReleases is sending notifications on new releases.