---
title: "httpcore2 2.16.1 Breaking Changes on PyPI | Since.dev"
description: "What each httpcore2 release removed, renamed or changed: 13 breaking changes in 4 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/httpcore2
last_updated: 2026-12-04
---

# httpcore2 breaking changes

httpcore2 2.16.1 (November 16, 2026) is its newest release with breaking changes, 10 of them. The first: HTTP/2 requests without a Host header now raise LocalProtocolError instead of IndexError in httpcore2 2.16.1. Every breaking API change we have recorded in httpcore2 on PyPI: 13 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.18.0`, released December 4, 2026. [Source repository](https://github.com/pydantic/httpx2)

Its 2.15.0 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.13.0](#v-2-13-0) to [2.16.1](#v-2-16-1): 12 breaking changes in 3 versions.

## httpcore2 2.16.1 breaking changes

httpcore2 2.16.1, released November 16, 2026: 10 breaking changes.

- **Behavior changed**  

An HTTP/2 request sent directly to an httpcore2 connection without a Host header now raises LocalProtocolError. Code that catches IndexError for this case must catch LocalProtocolError instead. [github.com](https://github.com/pydantic/httpx2/releases/tag/v2.16.1)
- **Behavior changed** `NO_PROXY`  

Requests to subdomains matched by a \*.example.com entry in NO_PROXY now skip the proxy, where they previously went through it. Check proxy setups that rely on the old matching. [github.com](https://github.com/pydantic/httpx2/releases/tag/v2.16.1)
- **Signature changed** `httpcore2.AsyncConnectionPool.__aenter__`  

Was async def \_\_aenter\_\_(self) -> AsyncConnectionPool; now async def \_\_aenter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.AsyncHTTP11Connection.__aenter__`  

Was async def \_\_aenter\_\_(self) -> AsyncHTTP11Connection; now async def \_\_aenter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.AsyncHTTPConnection.__aenter__`  

Was async def \_\_aenter\_\_(self) -> AsyncHTTPConnection; now async def \_\_aenter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.ConnectionPool.__enter__`  

Was def \_\_enter\_\_(self) -> ConnectionPool; now def \_\_enter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.HTTP11Connection.__enter__`  

Was def \_\_enter\_\_(self) -> HTTP11Connection; now def \_\_enter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.HTTPConnection.__enter__`  

Was def \_\_enter\_\_(self) -> HTTPConnection; now def \_\_enter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.Origin.__eq__`  

Was def \_\_eq\_\_(self, other: typing.Any) -> bool; now def \_\_eq\_\_(self, other: object) -> bool. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)
- **Signature changed** `httpcore2.URL.__eq__`  

Was def \_\_eq\_\_(self, other: typing.Any) -> bool; now def \_\_eq\_\_(self, other: object) -> bool. [pypi.org](https://pypi.org/project/httpcore2/2.16.1/)

## httpcore2 2.15.1 breaking changes

httpcore2 2.15.1, released October 19, 2026: 1 breaking change.

- **Signature changed** `httpcore2.default_ssl_context`  

Was def default_ssl_context() -> ssl.SSLContext; now def default_ssl_context(\*, \_trust_env: bool = True) -> ssl.SSLContext. [pypi.org](https://pypi.org/project/httpcore2/2.15.1/)

## httpcore2 2.15.0 breaking changes

httpcore2 2.15.0, released October 19, 2026: 1 breaking change.

- **Removed**  

httpcore2 no longer supports Python 3.10 and now requires Python 3.11 or later. Users on Python 3.10 must upgrade their interpreter before installing this release. [github.com](https://github.com/pydantic/httpx2/releases/tag/v2.15.0)

## httpcore2 2.13.0 breaking changes

httpcore2 2.13.0, released September 14, 2026: 1 breaking change.

- **Configuration changed**  

The trio extra now requires Trio 0.34.0 or later. Users with an older Trio pinned must upgrade it to install the extra. [github.com](https://github.com/pydantic/httpx2/releases/tag/v2.13.0)

## Related packages

- [httpx2](https://since.dev/packages/pypi/httpx2.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
