Skip to content

Commit 1b359ed

Browse files
authored
Prepare release v2.13.0 (#13065)
1 parent b1bf194 commit 1b359ed

6 files changed

Lines changed: 46 additions & 10 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.13.0b3
48-
date-released: 2026-03-31
47+
version: v2.13.0
48+
date-released: 2026-04-13

HISTORY.md

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

5+
## v2.13.0 (2026-04-13)
6+
7+
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.13.0)
8+
9+
The highlights of the v2.13 release are available in the [blog post](https://pydantic.dev/articles/pydantic-v2-13-release).
10+
Several minor changes (considered non-breaking changes according to our [versioning policy](https://pydantic.dev/docs/validation/2.13/get-started/version-policy/#pydantic-v2))
11+
are also included in this release. Make sure to look into them before upgrading.
12+
13+
This release contains the updated `pydantic.v1` namespace, matching version 1.10.26 which includes support for Python 3.14.
14+
15+
### What's Changed
16+
17+
See the beta releases for all changes sinces 2.12.
18+
19+
#### Packaging
20+
21+
* Add zizmor for GitHub Actions workflow linting by @Viicos in [#13039](https://github.com/pydantic/pydantic/pull/13039)
22+
* Update jiter to v0.14.0 to fix a segmentation fault on musl Linux by @Viicos in [#13064](https://github.com/pydantic/pydantic/pull/13064)
23+
24+
#### New Features
25+
26+
* Allow default factories of private attributes to take validated model data by @Viicos in [#13013](https://github.com/pydantic/pydantic/pull/13013)
27+
28+
#### Changes
29+
30+
* Warn when serializing fixed length tuples with too few items by @arvindsaripalli in [#13016](https://github.com/pydantic/pydantic/pull/13016)
31+
32+
#### Fixes
33+
34+
* Change type of `Any` when synthesizing `_build_sources` for `BaseSettings.__init__()` signature in the mypy plugin by @Viicos in [#13049](https://github.com/pydantic/pydantic/pull/13049)
35+
* Fix model equality when using runtime `extra` configuration by @Viicos in [#13062](https://github.com/pydantic/pydantic/pull/13062)
36+
37+
### New Contributors
38+
39+
* @arvindsaripalli made their first contribution in [#13016](https://github.com/pydantic/pydantic/pull/13016)
40+
541
## v2.13.0b3 (2026-03-31)
642

743
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.13.0b3)
@@ -255,15 +291,15 @@ This is the first 2.12 patch release, addressing most (but not all yet) regressi
255291

256292
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.12.0)
257293

258-
### What's Changed
259-
260294
This is the final 2.12 release. It features the work of 20 external contributors and provides useful new features, along with initial Python 3.14 support.
261295
Several minor changes (considered non-breaking changes according to our [versioning policy](https://docs.pydantic.dev/2.12/version-policy/#pydantic-v2))
262296
are also included in this release. Make sure to look into them before upgrading.
263297

264298
**Note that Pydantic V1 is not compatible with Python 3.14 and greater**.
265299

266-
Changes (see the alpha and beta releases for additional changes since 2.11):
300+
### What's Changed
301+
302+
See the beta releases for all changes sinces 2.11.
267303

268304
#### Packaging
269305

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.45.0"
3+
version = "2.46.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.13.0b3'
11+
VERSION = '2.13.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.45.0'
22+
_COMPATIBLE_PYDANTIC_CORE_VERSION = '2.46.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.14.1',
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.45.0',
50+
'pydantic-core==2.46.0',
5151
'typing-inspection>=0.4.2',
5252
]
5353
dynamic = ['version', 'readme']

0 commit comments

Comments
 (0)