Sourced from requests's\nreleases.
\n\n\nv2.32.0
\n2.32.0 (2024-05-20)
\n🐍 PYCON US 2024 EDITION 🐍
\nSecurity
\n\n
\n- Fixed an issue where setting
\nverify=False
on the first\nrequest from a\nSession will cause subsequent requests to the same origin to\nalso ignore\ncert verification, regardless of the value ofverify
.\n(https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
\n\n
\n- \n
verify=True
now reuses a global SSLContext which should\nimprove\nrequest time variance between first and subsequent requests. It should\nalso minimize certificate load time on Windows systems when using a\nPython\nversion built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection\n(
\nchardet
orcharset_normalizer
) when\nrepackaged or vendored.\nThis enablespip
and other projects to minimize their\nvendoring\nsurface area. TheResponse.text()
and\napparent_encoding
APIs\nwill default toutf-8
if neither library is present. (#6702)Bugfixes
\n\n
\n- Fixed bug in length detection where emoji length was incorrectly\ncalculated in the request content-length. (#6589)
\n- Fixed deserialization bug in JSONDecodeError. (#6629)
\n- Fixed bug where an extra leading
\n/
(path separator)\ncould lead\nurllib3 to unnecessarily reparse the request URI. (#6644)Deprecations
\n\n
\n- Requests has officially added support for CPython 3.12 (#6503)
\n- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
\n- Requests has officially dropped support for CPython 3.7 (#6642)
\n- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
\nDocumentation
\n\n
\n- Various typo fixes and doc improvements.
\nPackaging
\n\n
\n- Requests has started adopting some modern packaging practices.\nThe source files for the projects (formerly
\nrequests
) is\nnow located\ninsrc/requests
in the Requests sdist. (#6506)- Starting in Requests 2.33.0, Requests will migrate to a PEP 517\nbuild system\nusing
\nhatchling
. This should not impact the average user,\nbut extremely old\nversions of packaging utilities may have issues with the new packaging\nformat.New Contributors
\n\n
\n\n- \n
@matthewarmand
\nmade their first contribution in psf/requests#6258- \n
@cpzt
made their\nfirst contribution in psf/requests#6456
... (truncated)
\nSourced from requests's\nchangelog.
\n\n\n2.32.0 (2024-05-20)
\nSecurity
\n\n
\n- Fixed an issue where setting
\nverify=False
on the first\nrequest from a\nSession will cause subsequent requests to the same origin to\nalso ignore\ncert verification, regardless of the value ofverify
.\n(https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
\n\n
\n- \n
verify=True
now reuses a global SSLContext which should\nimprove\nrequest time variance between first and subsequent requests. It should\nalso minimize certificate load time on Windows systems when using a\nPython\nversion built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection\n(
\nchardet
orcharset_normalizer
) when\nrepackaged or vendored.\nThis enablespip
and other projects to minimize their\nvendoring\nsurface area. TheResponse.text()
and\napparent_encoding
APIs\nwill default toutf-8
if neither library is present. (#6702)Bugfixes
\n\n
\n- Fixed bug in length detection where emoji length was incorrectly\ncalculated in the request content-length. (#6589)
\n- Fixed deserialization bug in JSONDecodeError. (#6629)
\n- Fixed bug where an extra leading
\n/
(path separator)\ncould lead\nurllib3 to unnecessarily reparse the request URI. (#6644)Deprecations
\n\n
\n- Requests has officially added support for CPython 3.12 (#6503)
\n- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
\n- Requests has officially dropped support for CPython 3.7 (#6642)
\n- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
\nDocumentation
\n\n
\n- Various typo fixes and doc improvements.
\nPackaging
\n\n
\n- Requests has started adopting some modern packaging practices.\nThe source files for the projects (formerly
\nrequests
) is\nnow located\ninsrc/requests
in the Requests sdist. (#6506)- Starting in Requests 2.33.0, Requests will migrate to a PEP 517\nbuild system\nusing
\nhatchling
. This should not impact the average user,\nbut extremely old\nversions of packaging utilities may have issues with the new packaging\nformat.
d6ebc4a
\nv2.32.09a40d12
\nAvoid reloading root certificates to improve concurrent performance (#6667)0c030f7
\nMerge pull request #6702\nfrom nateprewitt/no_char_detection555b870
\nAllow character detection dependencies to be optional in post-packaging\nstepsd6dded3
\nMerge pull request #6700\nfrom franekmagiera/update-redirect-to-invalid-uri-testbf24b7d
\nUse an invalid URI that will not cause httpbin to throw 5002d5f547
\nPin 3.8 and 3.9 runners back to macos-13 (#6688)f1bb07d
\nMerge pull request #6687\nfrom psf/dependabot/github_actions/github/codeql-act...60047ad
\nBump github/codeql-action from 3.24.0 to 3.25.031ebb81
\nMerge pull request #6682\nfrom frenzymadness/pytest8//common
. (#3962)"}},{"before":null,"after":"b473eac5bc1e7209147351058a65c0c1aea5272c","ref":"refs/heads/gh-readonly-queue/trunk/pr-3962-03e3a72628c380e54e672400629e13749fec6164","pushedAt":"2024-05-20T23:29:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Fix clang-tidy issues in `//common`. (#3962)\n\nThese likely predate the CI integration for `clang-tidy` runs.\n\nMost of these seem good generally, even though I disabled some with\nnolint comments. The multilevel pointer one seems almost like a bug in\nthe check to detect the specific case of `memcpy`, but otherwise seems\nlike a solid lint.","shortMessageHtmlLink":"Fix clang-tidy issues in //common
. (#3962)"}},{"before":"03e3a72628c380e54e672400629e13749fec6164","after":null,"ref":"refs/heads/gh-readonly-queue/trunk/pr-3957-7fc69c00faf664e81d1661b95ebe6461bf8a4011","pushedAt":"2024-05-20T22:59:58.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"7fc69c00faf664e81d1661b95ebe6461bf8a4011","after":"03e3a72628c380e54e672400629e13749fec6164","ref":"refs/heads/trunk","pushedAt":"2024-05-20T22:59:57.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)\n\nMechanically, replacing Directive->Decl, directive->declaration,\n_declaration->_decl (to avoid comments).\n\nContext:\nhttps://discord.com/channels/655572317891461132/963846118964350976/1241145948625703062","shortMessageHtmlLink":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)"}},{"before":null,"after":"03e3a72628c380e54e672400629e13749fec6164","ref":"refs/heads/gh-readonly-queue/trunk/pr-3957-7fc69c00faf664e81d1661b95ebe6461bf8a4011","pushedAt":"2024-05-20T22:53:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)\n\nMechanically, replacing Directive->Decl, directive->declaration,\n_declaration->_decl (to avoid comments).\n\nContext:\nhttps://discord.com/channels/655572317891461132/963846118964350976/1241145948625703062","shortMessageHtmlLink":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)"}},{"before":"b10cd0c74bb21cbbc6d02f963c3feb507be4dbf3","after":null,"ref":"refs/heads/gh-readonly-queue/trunk/pr-3957-7fc69c00faf664e81d1661b95ebe6461bf8a4011","pushedAt":"2024-05-20T22:45:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":null,"after":"b10cd0c74bb21cbbc6d02f963c3feb507be4dbf3","ref":"refs/heads/gh-readonly-queue/trunk/pr-3957-7fc69c00faf664e81d1661b95ebe6461bf8a4011","pushedAt":"2024-05-20T22:33:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)\n\nMechanically, replacing Directive->Decl, directive->declaration,\n_declaration->_decl (to avoid comments).\n\nContext:\nhttps://discord.com/channels/655572317891461132/963846118964350976/1241145948625703062","shortMessageHtmlLink":"Rename Directive->Decl in general, BindExport->ExportDecl (#3957)"}},{"before":"7fc69c00faf664e81d1661b95ebe6461bf8a4011","after":null,"ref":"refs/heads/gh-readonly-queue/trunk/pr-3763-3b32d390ac2e16388448ce258e825179e44b7f85","pushedAt":"2024-05-20T19:18:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"3b32d390ac2e16388448ce258e825179e44b7f85","after":"7fc69c00faf664e81d1661b95ebe6461bf8a4011","ref":"refs/heads/trunk","pushedAt":"2024-05-20T19:18:39.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Matching redeclarations (#3763)\n\nRequire exact syntactic matching in redeclarations. Provide new\nterminology for\nredeclaration matching and agreement. Specify non-redeclaration rules\nfor the\nother contexts where we require multiple declarations to match, such as\n`impl`s\nof `interfaces`, `impl`s of `virtual fn`s.\n\n---------\n\nCo-authored-by: Chandler Carruth