httpx2 breaking changes
httpx2 2.17.0 (November 30, 2026) is its newest release with breaking changes, 6 of them. The first: Cookie jar receives a trimmed request URL in httpx2 2.17.0. Every breaking API change we have recorded in httpx2 on PyPI: 32 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.18.0, released December 4, 2026. Source repository
Its 2.15.0 release drops Python 3.10. Python end of life dates.
httpx2 2.17.0 breaking changes
- Behavior changed
The cookie jar gets the request URL without userinfo, query or fragment, and with at most 1024 bytes of path. Responses to long directory URLs now set and delete no cookies, and user:pass URLs share cookies with the plain URL. github.com - Behavior changed
AsyncHTTPTransport
When proxy is set, uds, local_address, retries and socket_options now take effect instead of being silently ignored. Code that passes them with a proxy will see different connections. github.com - Behavior changed
HTTPTransport
When proxy is set, uds, local_address, retries and socket_options now take effect instead of being silently ignored. Code that passes them with a proxy will see different connections. github.com - Behavior changed
Response.aiter_bytes
aiter_bytes no longer calls aiter_raw, so overriding aiter_raw no longer changes aiter_bytes, aiter_text, aiter_lines or aread. Code that relies on that override must change. github.com - Behavior changed
URL.host
URL.host returns the zone decoded (fe80::1%en0) instead of the %25 form. Code that compares or parses the host string must expect the decoded value. github.com - Behavior changed
URL.netloc
URL.netloc always writes the IPv6 zone as %25. Code that expects the bare zone form in netloc must change. github.com
httpx2 2.16.1 breaking changes
- Behavior changed
The NO_PROXY entry *.example.com now matches subdomains, so requests to them skip the proxy, as .example.com already did. Check proxy setups that relied on those requests going through the proxy. github.com - Signature changed
httpx2.AsyncBaseTransport.__aenter__
Was async def __aenter__(self: A) -> A; now async def __aenter__(self) -> Self. pypi.org - Signature changed
httpx2.AsyncClient.__aenter__
Was async def __aenter__(self: U) -> U; now async def __aenter__(self) -> Self. pypi.org - Signature changed
httpx2.AsyncHTTPTransport.__aenter__
Was async def __aenter__(self: A) -> A; now async def __aenter__(self) -> Self. pypi.org - Signature changed
httpx2.BaseTransport.__enter__
Was def __enter__(self: T) -> T; now def __enter__(self) -> Self. pypi.org - Signature changed
httpx2.Client.__enter__
Was def __enter__(self: T) -> T; now def __enter__(self) -> Self. pypi.org - Signature changed
httpx2.codes.__new__
Was def __new__(cls, value: int, phrase: str = '') -> codes; now def __new__(cls, value: int, phrase: str = '') -> Self. pypi.org - Signature changed
httpx2.Headers.__eq__
Was def __eq__(self, other: typing.Any) -> bool; now def __eq__(self, other: object) -> bool. pypi.org - Signature changed
httpx2.Headers.__ior__
Was def __ior__(self, other: HeaderTypes) -> Headers; now def __ior__(self, other: HeaderTypes) -> Self. pypi.org - Signature changed
httpx2.HTTPTransport.__enter__
Was def __enter__(self: T) -> T; now def __enter__(self) -> Self. pypi.org
And 4 more in this version. Sign up to see every change
httpx2 2.16.0 breaking changes
- Behavior changed
The Cookie header lists cookies from different domains from the least to the most specific domain, instead of in the order the domains were added. Code that depends on the old cookie order must be updated. github.com - Behavior changed
client.cookies.jar.set_policy
A custom cookie policy set with set_policy() is now applied to outgoing requests, where it was previously ignored. Code that set a policy may see different cookies sent. github.com
httpx2 2.15.0 breaking changes
- Removed
httpx2 no longer supports Python 3.10; users on Python 3.10 must stay on 2.14.0 or upgrade Python to 3.11 or later. github.com
httpx2 2.14.0 breaking changes
- Behavior changed
mounts
A mounts key with an IP host followed by an invalid CIDR prefix now raises InvalidURL when the client is created. Fix any such keys. github.com - Behavior changed
NO_PROXY
Any address inside a listed CIDR range now bypasses the proxy, not only the network address itself. Check that proxy routing still matches your intent. github.com
httpx2 2.13.1 breaking changes
- Behavior changed
A file passed as content= now has its Content-Length computed from the bytes left after its current position, so requests with a file not at position zero send a different length. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
httpx2 2.13.0 breaking changes
- Removed
httpx2.Limits.__eq__
Limits.__eq__ was removed in httpx2 2.13.0 pypi.org - Removed
httpx2.Limits.__repr__
Limits.__repr__ was removed in httpx2 2.13.0 pypi.org
And 2 more in this version.
httpx2 2.0.0b1 breaking changes
- Renamed
The package is now httpx2, so import httpx2 replaces import httpx. The CLI, User-Agent header and logger are renamed to match. github.com - Renamed
httpcore
Code that imports httpcore directly should switch to httpcore2. httpx2 pins a specific httpcore2 version. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.