This release adds several new features, including experimental support for inline typed dictionaries (PEP 764) and sentinels (PEP 661), and support for changes in Python 3.14. In addition, Python 3.8 is no longer supported.
Changes since 4.14.0rc1:
- Remove
__or__
and__ror__
methods fromtyping_extensions.Sentinel
on Python versions <3.10. PEP 604 was introduced in Python 3.10, and
typing_extensions
does not generally attempt to backport PEP-604 methods
to prior versions. - Further update
typing_extensions.evaluate_forward_ref
with changes in Python 3.14.
Changes included in 4.14.0rc1:
- Drop support for Python 3.8 (including PyPy-3.8). Patch by Victorien Plot.
- Do not attempt to re-export names that have been removed from
typing
,
anticipating the removal oftyping.no_type_check_decorator
in Python 3.15.
Patch by Jelle Zijlstra. - Update
typing_extensions.Format
,typing_extensions.evaluate_forward_ref
, and
typing_extensions.TypedDict
to align
with changes in Python 3.14. Patches by Jelle Zijlstra. - Fix tests for Python 3.14 and 3.15. Patches by Jelle Zijlstra.
New features:
- Add support for inline typed dictionaries (PEP 764).
Patch by Victorien Plot. - Add
typing_extensions.Reader
andtyping_extensions.Writer
. Patch by
Sebastian Rittau. - Add support for sentinels (PEP 661). Patch by
Victorien Plot.