Repository: encode/httpx
Pull request: Version 0.23.1
I think we should probably roll a 0.23.1 (or a 0.24.0) release here.

We've got a fairly substantial list of work since the latest release.

There are a couple of minor removals included here, but they're only for old undocumented aspects, so I *think* we're probably okay including them in a minor, but I'm happy to go with the group consensus here.

Closes #2443

## 0.23.1

### Added

* Support for Python 3.11. (#2420)
* Allow setting an explicit multipart boundary in `Content-Type` header. (#2278)
* Allow `tuple` or `list` for multipart values, not just `list`. (#2355)
* Allow `str` content for multipart upload files. (#2400)
* Support connection upgrades. See https://www.encode.io/httpcore/extensions/#upgrade-requests

### Fixed

* Don't drop empty query parameters. (#2354)

### Removed

* Drop `.read`/`.aread` from SyncByteStream/AsyncByteStream (#2407)
* Drop `RawURL`. (#2241)


Problem statement:
Support httpcore>=0.16.0
Hi,

I have a project that uses `fastapi` and `uvicorn` which demands `h11>=0.8`. Latest version of `fastapi` changed their test suite from `requests` to `httpx`. So I had to add `httpx` to my tests requirements.

Now the problem is, that `httpx` requires `httpcore`, which since version `0.16.0` allows for `h11==0.14.0`, but the current version of `httpcore` required by `httpx` doesn't, so I end up having to downgrade the `h11==0.14.0` which I have to `0.12.0`.

Can the constraint for `httpcore` be updated to `>=0.16.0` here?

Hints from issue discussion:

Commit message: Update CHANGELOG.md

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

Patch to review:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f5e7c4256..9d44b5a0b4 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.1
+
+### Added
+
+* Support for Python 3.11. (#2420)
+* Allow setting an explicit multipart boundary in `Content-Type` header. (#2278)
+* Allow `tuple` or `list` for multipart values, not just `list`. (#2355)
+* Allow `str` content for multipart upload files. (#2400)
+* Support connection upgrades. See https://www.encode.io/httpcore/extensions/#upgrade-requests
+
+### Fixed
+
+* Don't drop empty query parameters. (#2354)
+
+### Removed
+
+* Drop `.read`/`.aread` from SyncByteStream/AsyncByteStream. (#2407)
+* Drop `RawURL`. (#2241)
+
 ## 0.23.0 (23rd May, 2022)
 
 ### Changed
diff --git a/httpx/__version__.py b/httpx/__version__.py
index 68831d05c8..36a6a14f94 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.0"
+__version__ = "0.23.1"
diff --git a/pyproject.toml b/pyproject.toml
index be41c92289..592a6e26e1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -29,7 +29,7 @@ classifiers = [
 ]
 dependencies = [
     "certifi",
-    "httpcore>=0.15.0,<0.16.0",
+    "httpcore>=0.15.0,<0.17.0",
     "rfc3986[idna2008]>=1.3,<2",
     "sniffio",
 ]
diff --git a/setup.py b/setup.py
index 7b44ded04a..596b378d98 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,6 @@
         "certifi",
         "sniffio",
         "rfc3986[idna2008]>=1.3,<2",
-        "httpcore>=0.15.0,<0.16.0",
+        "httpcore>=0.15.0,<0.17.0",
     ],
 )


Code review comments:
diff_hunk: @@ -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.1
+
+### Added
+
+* Support for Python 3.11. (#2420)
+* Allow setting an explicit multipart boundary in `Content-Type` header. (#2278)
+* Allow `tuple` or `list` for multipart values, not just `list`. (#2355)
+* Allow `str` content for multipart upload files. (#2400)
+* Support connection upgrades. See https://www.encode.io/httpcore/extensions/#upgrade-requests
+
+### Fixed
+
+* Don't drop empty query parameters. (#2354)
+
+### Removed
+
+* Drop `.read`/`.aread` from SyncByteStream/AsyncByteStream. (#2407)
path: CHANGELOG.md
text: @author:
```suggestion
* Drop `.read`/`.aread` from `SyncByteStream`/`AsyncByteStream`. (#2407)
```