Skip to content

Commit a656b75

Browse files
authored
Prepare release v2.14.0 (#13948)
1 parent b4028f9 commit a656b75

6 files changed

Lines changed: 55 additions & 7 deletions

File tree

‎CITATION.cff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ keywords:
4444
- hints
4545
- typing
4646
license: MIT
47-
version: v2.14.0b2
48-
date-released: 2026-09-09
47+
version: v2.14.0
48+
date-released: 2026-10-07

‎HISTORY.md‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,54 @@
22
<!-- markdownlint-disable descriptive-link-text -->
33
<!-- markdownlint-disable-next-line first-line-heading -->
44

5+
## v2.14.0 (2026-10-07)
6+
7+
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.14.0)
8+
9+
### What's Changed
10+
11+
The highlights of the v2.14 release are available in the [blog post](https://pydantic.dev/articles/pydantic-v2-14-release).
12+
Several minor changes (considered non-breaking changes according to our [versioning policy](https://pydantic.dev/docs/validation/2.14/get-started/version-policy/#pydantic-v2))
13+
are also included in this release. Make sure to look into them before upgrading.
14+
15+
This release drops support for Python 3.9 and adds support for Python 3.15.
16+
17+
#### New Features
18+
19+
* Add support for `multiple_of` constraint in `fraction` and `timedelta` core schemas by @Viicos in [#13873](https://github.com/pydantic/pydantic/pull/13873)
20+
* Add `__namespace__` parameter to `create_model()` by @Viicos in [#13895](https://github.com/pydantic/pydantic/pull/13895)
21+
22+
#### Changes
23+
24+
* Add an `ordered-dict` core schema by @Viicos in [#13796](https://github.com/pydantic/pydantic/pull/13796)
25+
* Add a `counter` core schema by @Viicos in [#13824](https://github.com/pydantic/pydantic/pull/13824)
26+
* Do not mutate `model_config` attribute by @Viicos in [#13825](https://github.com/pydantic/pydantic/pull/13825)
27+
* Reject newlines in `NameEmail` validation by @Viicos in [#13897](https://github.com/pydantic/pydantic/pull/13897)
28+
29+
#### Fixes
30+
31+
* Call enum constructors in both validation modes by @Viicos in [#13792](https://github.com/pydantic/pydantic/pull/13792)
32+
* Fix documentation examples not raising and remove unused `string_sub_type` unused error code by @Viicos in [#13821](https://github.com/pydantic/pydantic/pull/13821)
33+
* Catch `OverflowError` during `ByteSize` validation by @Viicos in [#13850](https://github.com/pydantic/pydantic/pull/13850)
34+
* Require `multiple_of` constraints to be positive by @Viicos in [#13862](https://github.com/pydantic/pydantic/pull/13862)
35+
* Always pop field name and model type stacks during schema generation by @saquibjawedbit in [#13859](https://github.com/pydantic/pydantic/pull/13859)
36+
* Handle `TypeError` gracefully during docstring extraction by @Viicos in [#13874](https://github.com/pydantic/pydantic/pull/13874)
37+
* Respect config in `TypeAdapter.json_schemas()` by @Viicos in [#13890](https://github.com/pydantic/pydantic/pull/13890)
38+
* Fix config propagation of stdlib dataclasses and `TypedDict`s in JSON Schema by @Viicos in [#13891](https://github.com/pydantic/pydantic/pull/13891)
39+
* Don't apply `ser_json_timedelta` to all datetime types in serialization inference by @Viicos in [#13892](https://github.com/pydantic/pydantic/pull/13892)
40+
* Encode JSON Schema defaults with a consistent configuration by @Viicos in [#13893](https://github.com/pydantic/pydantic/pull/13893)
41+
* Propagate `init` and `kw_only=False` from `Field()` to stdlib dataclass fields by @Viicos in [#13898](https://github.com/pydantic/pydantic/pull/13898)
42+
* Respect propagated extra config in the JSON Schema of stdlib dataclasses by @Viicos in [#13899](https://github.com/pydantic/pydantic/pull/13899)
43+
* Handle OS errors during `ZoneInfo` validation by @Viicos in [#13912](https://github.com/pydantic/pydantic/pull/13912)
44+
* Handle exceptions during `Decimal` validation by @Viicos in [#13940](https://github.com/pydantic/pydantic/pull/13940)
45+
* Rebuild incomplete types during serialization inference by @Viicos in [#13922](https://github.com/pydantic/pydantic/pull/13922)
46+
* Reject large exponents in `Fraction` validation by @Viicos in [#13944](https://github.com/pydantic/pydantic/pull/13944)
47+
* Avoid validating URL prefix multiple times in multi host URLs by @Viicos in [#13945](https://github.com/pydantic/pydantic/pull/13945)
48+
49+
### New Contributors
50+
51+
* @saquibjawedbit made their first contribution in [#13859](https://github.com/pydantic/pydantic/pull/13859)
52+
553
## v2.14.0b2 (2026-09-09)
654

755
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.14.0b2)

‎pydantic-core/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pydantic-core/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pydantic-core"
3-
version = "2.49.0"
3+
version = "2.50.0"
44
edition = "2024"
55
license = "MIT"
66
homepage = "https://github.com/pydantic/pydantic"

‎pydantic/version.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
__all__ = 'VERSION', 'version_info'
1010

11-
VERSION = '2.14.0b2'
11+
VERSION = '2.14.0'
1212
"""The version of Pydantic.
1313
1414
This version specifier is guaranteed to be compliant with the [specification],
@@ -19,7 +19,7 @@
1919
"""
2020

2121
# Keep this in sync with the version constraint in the `pyproject.toml` dependencies:
22-
_COMPATIBLE_PYDANTIC_CORE_VERSION = '2.49.0'
22+
_COMPATIBLE_PYDANTIC_CORE_VERSION = '2.50.0'
2323

2424

2525
def version_short() -> str:

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies = [
4747
'typing-extensions>=4.16.0',
4848
'annotated-types>=0.6.0',
4949
# Keep this in sync with the version in the `check_pydantic_core_version()` function:
50-
'pydantic-core==2.49.0',
50+
'pydantic-core==2.50.0',
5151
'typing-inspection>=0.4.4',
5252
]
5353
dynamic = ['version', 'readme']

0 commit comments

Comments
 (0)