v2.14.0a1Pre-release
v2.14.0a1 2026-05-22
Added 1
- Add PyEmscripten platform tag support with pydantic-core 3.14 wheel published with the pyemscripten_2026_0 platform tag
Changed 2
- Accept None in MultiHostUrl.build()'s hosts parameter
- Only deepcopy non-updated fields in model_copy()
Fixed 2
- Add Mypy plugin workaround for dynamic models defined in functions
- Fallback to create_model() overload definition when __base__ is set to a type variable in the Mypy plugin
Removed 2
- Drop support for Python 3.9
- Remove support for eval_type_backport()
v2.14.0a1 (2026-05-22)
What's Changed
Packaging
- Add PyEmscripten platform tag support by @Viicos, @greateggsgreg and @sinaatalay in #13199:
pydantic-corenow has a 3.14 wheel published with thepyemscripten_2026_0platform tag. Note that this wheel can only be used with Pyodide 314.0 and greater, still in development. It is recommended to wait for the final 314.0 release (and for Pydantic to publish a new wheel in a future 2.14 release).
Changes
- Accept
NoneinMultiHostUrl.build()'shostsparameter by @Viicos in #13068 - Drop support for Python 3.9 by @Viicos in #13070
- Remove support for
eval_type_backport()by @Viicos in #13133 - Only deepcopy non-updated fields in
model_copy()by @connorcarpenter15 in #13087
Fixes
- Add Mypy plugin workaround for dynamic models defined in functions by @ilevkivskyi in #13177
- Fallback to
create_model()overload definition when__base__is set to a type variable in the Mypy plugin by @cyphercodes in #13146
New Contributors
- @ilevkivskyi made their first contribution in #13177
- @cyphercodes made their first contribution in #13146
- @connorcarpenter15 made their first contribution in #13087
Full Changelog: https://github.com/pydantic/pydantic/compare/v2.13.4...v2.14.0a1