From 1aa6502a31b3501f82af7455492892d024c04082 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 9 May 2022 10:58:34 +0100 Subject: [PATCH 1/7] Version 0.23.0 --- httpx/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpx/__version__.py b/httpx/__version__.py index f08752c89c..68831d05c8 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.22.0" +__version__ = "0.23.0" From 1921f3e78cd1cc85a0584776f94a4be8fe8f5a72 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 9 May 2022 11:16:03 +0100 Subject: [PATCH 2/7] Update changelog --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4e940ee16..745a39f695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,25 @@ 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.23.0 + +### Changed + +* Drop support for Python 3.6. (#2097) + +### Fixed + +* Fix `URL.copy_with` for some oddly formed URL cases. (#2185) +* Digest authentication should use case-insensitive comparison for determining which algorithm is being used. (#2204) +* Fix console markup escaping in command line client. (#1866) +* When files are used in multipart upload, ensure we always seek to the start of the file. (#2065) +* Ensure that `iter_bytes` never yields zero-length chunks. (#2068) +* Preserve `Authorization` header for redirects that are to the same origin, but are an `http`-to-`https` upgrade. (#2074) +* When responses have binary output, don't print the output to the console in the command line client. Use output like `<16086 bytes of binary data>` instead. (#2076) +* Fix display of `--proxies` argument in the command line client help. (#2125) +* Close responses when task cancellations occur during stream reading. (#2156) +* Fix type error on accessing `.request` on `HTTPError` exceptions. (#2158) + ## 0.22.0 (26th January, 2022) ### Added From 9c8cd8bcd91c04053c0ade54c1190b8f56a00e0b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 17 May 2022 14:09:27 +0100 Subject: [PATCH 3/7] Update httpcore dependancy --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0ca769f611..ce8c9095d8 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ def get_packages(package): "charset_normalizer", "sniffio", "rfc3986[idna2008]>=1.3,<2", - "httpcore>=0.14.5,<0.15.0", + "httpcore>=0.15.0", ], extras_require={ "http2": "h2>=3,<5", From e0f2f71493e645072c26746f251b736b58ad0a1b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 17 May 2022 14:19:23 +0100 Subject: [PATCH 4/7] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 745a39f695..ed516cebb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed * Drop support for Python 3.6. (#2097) +* Use `utf-8` as the default character set, instead of falling back to `charset-normalizer` for auto detection. To enable automatic character set recognition, see [the documentation](https://www.python-httpx.org/advanced/#character-set-encodings-and-auto-detection). (#2165) ### Fixed From 9854082a0513ca3909bf1f03e0c8fc977ef7380b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 17 May 2022 14:21:37 +0100 Subject: [PATCH 5/7] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed516cebb1..0d4bdc7ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed * Drop support for Python 3.6. (#2097) -* Use `utf-8` as the default character set, instead of falling back to `charset-normalizer` for auto detection. To enable automatic character set recognition, see [the documentation](https://www.python-httpx.org/advanced/#character-set-encodings-and-auto-detection). (#2165) +* Use `utf-8` as the default character set, instead of falling back to `charset-normalizer` for auto-detection. To enable automatic character set detection, see [the documentation](https://www.python-httpx.org/advanced/#character-set-encodings-and-auto-detection). (#2165) ### Fixed From e51b43e159bea120b58ea7fdbac8eae073ef4051 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 17 May 2022 14:27:00 +0100 Subject: [PATCH 6/7] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4bdc7ff0..8a3bb6d7e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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.23.0 +## 0.23.0 (17th May, 2022) ### Changed From 6f37afa4eb5c9268daff625d10ed3f19446635b2 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 23 May 2022 16:22:20 +0100 Subject: [PATCH 7/7] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a3bb6d7e4..6f5e7c4256 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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.23.0 (17th May, 2022) +## 0.23.0 (23rd May, 2022) ### Changed