Skip to content

Commit 3c66d26

Browse files
Prepare release 4.13.0rc1 (#540)
1 parent 75c95c4 commit 3c66d26

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

CHANGELOG.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
# Unreleased
1+
# Release 4.13.0rc1 (March 18, 2025)
2+
3+
New features:
24

35
- Add `typing_extensions.TypeForm` from PEP 747. Patch by
46
Jelle Zijlstra.
57
- Add `typing_extensions.get_annotations`, a backport of
68
`inspect.get_annotations` that adds features specified
79
by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.
10+
- Backport `evaluate_forward_ref` from CPython PR
11+
[#119891](https://github.com/python/cpython/pull/119891) to evaluate `ForwardRef`s.
12+
Patch by [Daraan](https://github.com/Daraan), backporting a CPython PR by Jelle Zijlstra.
13+
14+
Bugfixes and changed features:
15+
16+
- Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.
817
- Copy the coroutine status of functions and methods wrapped
918
with `@typing_extensions.deprecated`. Patch by Sebastian Rittau.
1019
- Fix bug where `TypeAliasType` instances could be subscripted even
@@ -17,32 +26,29 @@
1726
subscripted with an `Unpack` object.
1827
Patch by [Daraan](https://github.com/Daraan).
1928
- Backport to Python 3.10 the ability to substitute `...` in generic `Callable`
20-
aliases that have a `Concatenate` special form as their argument.
29+
aliases that have a `Concatenate` special form as their argument.
2130
Patch by [Daraan](https://github.com/Daraan).
2231
- Extended the `Concatenate` backport for Python 3.8-3.10 to now accept
2332
`Ellipsis` as an argument. Patch by [Daraan](https://github.com/Daraan).
2433
- Fix backport of `get_type_hints` to reflect Python 3.11+ behavior which does not add
2534
`Union[..., NoneType]` to annotations that have a `None` default value anymore.
2635
This fixes wrapping of `Annotated` in an unwanted `Optional` in such cases.
2736
Patch by [Daraan](https://github.com/Daraan).
28-
- Fix error in subscription of `Unpack` aliases causing nested Unpacks
37+
- Fix error in subscription of `Unpack` aliases causing nested Unpacks
2938
to not be resolved correctly. Patch by [Daraan](https://github.com/Daraan).
3039
- Backport CPython PR [#124795](https://github.com/python/cpython/pull/124795):
3140
fix `TypeAliasType` not raising an error on non-tuple inputs for `type_params`.
3241
Patch by [Daraan](https://github.com/Daraan).
33-
- Backport `evaluate_forward_ref` from CPython PR
34-
[#119891](https://github.com/python/cpython/pull/119891) to evaluate `ForwardRef`s.
35-
Patch by [Daraan](https://github.com/Daraan), backporting a CPython PR by Jelle Zijlstra.
3642
- Fix that lists and ... could not be used for parameter expressions for `TypeAliasType`
3743
instances before Python 3.11.
3844
Patch by [Daraan](https://github.com/Daraan).
39-
- Fix error on Python 3.10 when using `typing.Concatenate` and
45+
- Fix error on Python 3.10 when using `typing.Concatenate` and
4046
`typing_extensions.Concatenate` together. Patch by [Daraan](https://github.com/Daraan).
4147
- Backport of CPython PR [#109544](https://github.com/python/cpython/pull/109544)
4248
to reflect Python 3.13+ behavior: A value assigned to `__total__` in the class body of a
4349
`TypedDict` will be overwritten by the `total` argument of the `TypedDict` constructor.
4450
Patch by [Daraan](https://github.com/Daraan), backporting a CPython PR by Jelle Zijlstra.
45-
- Fix for Python 3.11 that now `isinstance(typing_extensions.Unpack[...], TypeVar)`
51+
- Fix for Python 3.11 that now `isinstance(typing_extensions.Unpack[...], TypeVar)`
4652
evaluates to `False`, however still `True` for <3.11.
4753
Patch by [Daraan](https://github.com/Daraan)
4854

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
66
# Project metadata
77
[project]
88
name = "typing_extensions"
9-
version = "4.12.2"
9+
version = "4.13.0rc1"
1010
description = "Backported and Experimental Type Hints for Python 3.8+"
1111
readme = "README.md"
1212
requires-python = ">=3.8"

0 commit comments

Comments
 (0)