From 579a3f2fb8e1ebd151b8f3a6c1e9bc6dedf5f5bd Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 11 Apr 2023 11:00:02 +0100 Subject: [PATCH] Version 0.24.0 (#2652) * Version 0.24.0 * Typo * Update CHANGELOG.md --- CHANGELOG.md | 13 +++++++++++++ httpx/__version__.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f26d67136..ba90e43a2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/httpx/__version__.py b/httpx/__version__.py index c8823f368d..fe848d827a 100644 --- a/httpx/__version__.py +++ b/httpx/__version__.py @@ -1,3 +1,3 @@ __title__ = "httpx" __description__ = "A next generation HTTP client, for Python 3." -__version__ = "0.23.3" +__version__ = "0.24.0"