From 88dce9d854797c05d0ff296b70e0430535ef8aaf Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Tue, 21 May 2024 11:49:22 -0700 Subject: [PATCH] v2.32.2 --- HISTORY.md | 14 ++++++++++++++ src/requests/__version__.py | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 5ee5029d9f..4fca5894d7 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,20 @@ dev - \[Short description of non-trivial change.\] +2.32.2 (2024-05-21) +------------------- + +**Deprecations** +- To provide a more stable migration for custom HTTPAdapters impacted + by the CVE changes in 2.32.0, we've renamed `_get_connection` to + a new public API, `get_connection_with_tls_context`. Existing custom + HTTPAdapters will need to migrate their code to use this new API. + `get_connection` is considered deprecated in all versions of Requests>=2.32.0. + + A minimal (2-line) example has been provided in the linked PR to ease + migration, but we strongly urge users to evaluate if their custom adapter + is subject to the same issue described in CVE-2024-35195. (#6710) + 2.32.1 (2024-05-20) ------------------- diff --git a/src/requests/__version__.py b/src/requests/__version__.py index ecc87fbf72..24829c4b5f 100644 --- a/src/requests/__version__.py +++ b/src/requests/__version__.py @@ -5,8 +5,8 @@ __title__ = "requests" __description__ = "Python HTTP for Humans." __url__ = "https://requests.readthedocs.io" -__version__ = "2.32.1" -__build__ = 0x023201 +__version__ = "2.32.2" +__build__ = 0x023202 __author__ = "Kenneth Reitz" __author_email__ = "me@kennethreitz.org" __license__ = "Apache-2.0"