]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Version 0.24.0 (#2652) 0.24.0
authorTom Christie <tom@tomchristie.com>
Tue, 11 Apr 2023 10:00:02 +0000 (11:00 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Apr 2023 10:00:02 +0000 (11:00 +0100)
* Version 0.24.0

* Typo

* Update CHANGELOG.md

CHANGELOG.md
httpx/__version__.py

index 9f26d67136e622d7b5f864799cccf86e97385a91..ba90e43a2e6ffa05bf1e34765172774e65f12f85 100644 (file)
@@ -4,6 +4,19 @@ 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.24.0 (6th April, 2023)
+
+### Changed
+
+* The logging behaviour has been changed to be more in-line with other standard Python logging usages. We no longer have a custom `TRACE` log level, and we no longer use the `HTTPX_LOG_LEVEL` environment variable to auto-configure logging. We now have a significant amount of `DEBUG` logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)
+* The `Response.iter_lines()` method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)
+* Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from `requests`, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)
+* NetRC authentication is no longer automatically handled, but is instead supported by an explicit `httpx.NetRCAuth()` authentication class. See the documentation at https://www.python-httpx.org/advanced/#netrc-support (#2525)
+
+### Removed
+
+* The `rfc3986` dependancy has been removed. (#2252)
+
 ## 0.23.3 (4th Jan, 2023)
 
 ### Fixed
index c8823f368ddc7b60c581bf5baf8649677d46f11d..fe848d827a4f3bf119a447aaa35a273aa4713f45 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "0.23.3"
+__version__ = "0.24.0"