Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 2.1
We’ve just uploaded mypy 2.1.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
librt.vecs: Fast Growable Array Type for Mypyc
The new
librt.vecsmodule provides an efficient growable array typevecthat is optimized for mypyc use. It provides fast, packed arrays with integer and floating point value types, which can be several times faster thanlist, and tens of times faster thanarray.arrayin code compiled using mypyc. It also supports nestedvecobjects and non-value-type items, such asvec[vec[str]].Refer to the documentation for the details.
Contributed by Jukka Lehtosalo.
librt.random: Fast Pseudo-Random Number Generation
The new
librt.randommodule provides fast pseudo-random number generation that is optimized for code compiled using mypyc. It can be 3x to 10x faster than the stdlibrandommodule in compiled code.Refer to the documentation for the details.
Contributed by Jukka Lehtosalo (PR 21433).
Mypyc Improvements
- Make compilation order with multiple files consistent (Piotr Sawicki, PR 21419)
- Fix crash on accessing
StopAsyncIteration(Piotr Sawicki, PR 21406)- Fix incremental compilation with
separateflag (Vaggelis Danias, PR 21299)Fixes to Crashes
- Fix crash on partial type with
--allow-redefinitionandglobaldeclaration (Jukka Lehtosalo, PR 21428)- Fix broken awaitable generator patching (Ivan Levkivskyi, PR 21435)
Changes to Messages
... (truncated)
c1c336d
Remove +dev from version74df14b
Add changelog for mypy 2.1 (#21464)022d9bc
Revert "TypeForm: Enable by default (#21262)"8826288
[mypyc] Document librt.random (#21463)3f4067b
Bump librt version to 0.11.0 (#21458)2b1eb58
[mypyc] Enable incremental self-compilation (#21369)8152f4a
Respect file config comments for stale modules (#21444)116d60b
Fix nondeterminism from nonassociativity of overload joins (#21455)6c4af8e
Fix function call message change for small number of args (#21432)4b8fdca
[mypyc] Add librt.random module (#21433)Sourced from requests's releases.
v2.34.0
2.34.0 (2026-05-11)
Announcements
Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.
Special thanks to
@bastimeyer,@cthoyt,@edgarrmondragon, and@srittaufor helping review and test the types ahead of the release. (#7272)Improvements
- Digest Auth hashing algorithms have added
usedforsecurity=Falseto clarify security considerations. (#7310)- Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (#7422)
- Requests added support for Python 3.14t. (#7419)
Bugfixes
Response.historyno longer contains a reference to itself, preventing accidental looping when traversing the history list. (#7328)- Requests no longer performs greedy matching on no_proxy domains. The proxy_bypass implementation has been updated with CPython's fix from bpo-39057. (#7427)
- Requests no longer incorrectly strips duplicate leading slashes in URI paths. This should address user issues with specific presigned URLs. Note the full fix requires urllib3 2.7.0+. (#7315)
New Contributors
@cjrichesmade their first contribution in psf/requests#7365@dsanadermade their first contribution in psf/requests#7376@DimitriPapadopoulosmade their first contribution in psf/requests#7393@joshua-51made their first contribution in psf/requests#7416@eggsortmade their first contribution in psf/requests#7421@typhon8made their first contribution in psf/requests#7315@bastimeyermade their first contribution in psf/requests#7425Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2340-2026-05-11
Sourced from requests's changelog.
2.34.0 (2026-05-11)
Announcements
Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.
Special thanks to
@bastimeyer,@cthoyt,@edgarrmondragon, and@srittaufor helping review and test the types ahead of the release. (#7272)Improvements
- Digest Auth hashing algorithms have added
usedforsecurity=Falseto clarify security considerations. (#7310)- Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (#7422)
- Requests added support for Python 3.14t. (#7419)
Bugfixes
Response.historyno longer contains a reference to itself, preventing accidental looping when traversing the history list. (#7328)- Requests no longer performs greedy matching on no_proxy domains. The proxy_bypass implementation has been updated with CPython's fix from bpo-39057. (#7427)
- Requests no longer incorrectly strips duplicate leading slashes in URI paths. This should address user issues with specific presigned URLs. Note the full fix requires urllib3 2.7.0+. (#7315)
0b401c7
v2.34.086b378d
Align Session.get parameters with requests.get (#7429)a4f9a59
Port bpo-39057 to Requests (#7427)3816cfa
Parameterize SupportsItems to handle Mapping key invariance (#7426)b684dcb
sessions: fix hooks type (#7425)dc9dbdf
Formalize 3.15 support (#7422)25340eb
Clear proxy env vars before every test run (#7423)fd62809
Preserve leading slashes in request path_url (#7315)e8d2c01
docs: Fix missing hook output in docs example (#7421)eb173bc
Add 3.14t support to CI (#7419)