]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Reintroduce `URLTypes`. (#3288) 0.27.2
authorTom Christie <tom@tomchristie.com>
Tue, 27 Aug 2024 12:52:05 +0000 (13:52 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2024 12:52:05 +0000 (13:52 +0100)
CHANGELOG.md
httpx/__version__.py
httpx/_types.py

index 94900bcb3174308f3118cef5e4fd9400ac4786b3..f3aba3cc03b3becae1a416f51983867e201e66fc 100644 (file)
@@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 
+## 0.27.2 (27th August, 2024)
+
+### Fixed
+
+* Reintroduced supposedly-private `URLTypes` shortcut. (#2673)
+
 ## 0.27.1 (27th August, 2024)
 
-## Added
+### Added
 
 * Support for `zstd` content decoding using the python `zstandard` package is added. Installable using `httpx[zstd]`. (#3139)
 
index 2289912a161dabab8902c9f3c2b2b52e6721d34e..5eaaddbac9900b22dc569acbc3845c9c2d92ba59 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "0.27.1"
+__version__ = "0.27.2"
index 7d959dcb549da9f87520e6727f153acb5183760a..661af262e702a8450eec65f0488b7ba9924f5d2e 100644 (file)
@@ -43,6 +43,8 @@ RawURL = NamedTuple(
     ],
 )
 
+URLTypes = Union["URL", str]
+
 QueryParamTypes = Union[
     "QueryParams",
     Mapping[str, Union[PrimitiveData, Sequence[PrimitiveData]]],