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

# hypercorn breaking changes

hypercorn 0.18.0 (November 8, 2025) is its newest release with breaking changes, 9 of them. The first: Hypercorn 0.18.0 drops support for Python 3.8 and 3.9. Every breaking API change we have recorded in hypercorn on PyPI: 38 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.18.0`, released November 8, 2025. [Source repository](https://github.com/pgjones/hypercorn)

Its 0.18.0 release drops Python 3.8 and [3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.16.0](#v-0-16-0) to [0.18.0](#v-0-18-0): 26 breaking changes in 2 versions.

## hypercorn 0.18.0 breaking changes

hypercorn 0.18.0, released November 8, 2025: 9 breaking changes.

- **Removed**  

Hypercorn 0.18.0 no longer supports Python 3.8 and 3.9; users on those versions must stay on an earlier release or upgrade Python. [github.com](https://github.com/pgjones/hypercorn/blob/0.18.0/CHANGELOG.rst)
- **Signature changed** `hypercorn.asyncio.run.TCPServer.__await__`  

Was def \_\_await\_\_(self) -> Generator\[Any, None, None\]; now def \_\_await\_\_(self) -> Generator\[Any\]. [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.protocol.H2Protocol.initiate`  

Was async def initiate(self, headers: Optional\[List\[Tuple\[bytes, bytes\]\]\] = None, settings: Optional\[str\] = None) -> None; now async def initiate(self, headers: list\[tuple\[bytes, bytes\]\] | None = None, settings: bytes | None = None) ->... [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.lifespan.Lifespan.handle_lifespan`  

Was async def handle_lifespan(self, \*, task_status: trio.\_core.\_run.\_TaskStatus = trio.TASK_STATUS_IGNORED) -> None; now async def handle_lifespan(self, \*, task_status: trio.TaskStatus = trio.TASK_STATUS_IGNORED) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.run.TCPServer.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, state: LifespanState, stream: trio.abc.Stream) -> None; now def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, state: LifespanState... [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.run.UDPServer.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, state: LifespanState, socket: trio.socket.socket) -> None; now def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, state... [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.run.UDPServer.run`  

Was async def run(self, task_status: trio.\_core.\_run.\_TaskStatus = trio.TASK_STATUS_IGNORED) -> None; now async def run(self, task_status: trio.TaskStatus = trio.TASK_STATUS_IGNORED) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.serve`  

Was async def serve(app: Framework, config: Config, \*, shutdown_trigger: Optional\[Callable\[..., Awaitable\[None\]\]\] = None, task_status: trio.\_core.\_run.\_TaskStatus = trio.TASK_STATUS_IGNORED, mode: Optional\[Literal\['asgi', 'wsgi'\]\] = None)... [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)
- **Signature changed** `hypercorn.trio.worker_serve`  

Was async def worker_serve(app: AppWrapper, config: Config, \*, sockets: Optional\[Sockets\] = None, shutdown_trigger: Optional\[Callable\[..., Awaitable\[None\]\]\] = None, task_status: trio.\_core.\_run.\_TaskStatus = trio.TASK_STATUS_IGNORED) ->... [pypi.org](https://pypi.org/project/Hypercorn/0.18.0/)

## hypercorn 0.17.0 breaking changes

hypercorn 0.17.0, released May 27, 2024: 17 breaking changes.

- **Removed** `hypercorn.asyncio.run.TCPServer.idle_lock`  

TCPServer.idle_lock was removed in Hypercorn 0.17.0 [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Removed** `hypercorn.asyncio.udp_server.QuicProtocol.http_connections`  

QuicProtocol.http_connections was removed in Hypercorn 0.17.0 [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.lifespan.Lifespan.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, loop: asyncio.AbstractEventLoop) -> None; now def \_\_init\_\_(self, app: AppWrapper, config: Config, loop: asyncio.AbstractEventLoop, lifespan_state: LifespanState) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.run.TCPServer.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, loop: asyncio.AbstractEventLoop, config: Config, context: WorkerContext, reader: asyncio.StreamReader, writer: asyncio.StreamWriter) -> None; now def \_\_init\_\_(self, app: AppWrapper, loop... [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.run.UDPServer.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, loop: asyncio.AbstractEventLoop, config: Config, context: WorkerContext) -> None; now def \_\_init\_\_(self, app: AppWrapper, loop: asyncio.AbstractEventLoop, config: Config, context: WorkerContext... [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.udp_server.QuicProtocol.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, task_group: TaskGroup, server: Optional\[Tuple\[str, int\]\], send: Callable\[\[Event\], Awaitable\[None\]\]) -> None; now def \_\_init\_\_(self, app: AppWrapper, config... [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.udp_server.QuicProtocol.connections`  

Was connections: Dict\[bytes, QuicConnection\]; now connections: Dict\[bytes, \_Connection\]. [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.asyncio.udp_server.QuicProtocol.send_all`  

Was async def send_all(self, connection: QuicConnection) -> None; now async def send_all(self, connection: \_Connection) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.protocol.H11Protocol.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, task_group: TaskGroup, ssl: bool, client: Optional\[Tuple\[str, int\]\], server: Optional\[Tuple\[str, int\]\], send: Callable\[\[Event\], Awaitable\[None\]\]) -> None; now... [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)
- **Signature changed** `hypercorn.protocol.H2Protocol.__init__`  

Was def \_\_init\_\_(self, app: AppWrapper, config: Config, context: WorkerContext, task_group: TaskGroup, ssl: bool, client: Optional\[Tuple\[str, int\]\], server: Optional\[Tuple\[str, int\]\], send: Callable\[\[Event\], Awaitable\[None\]\]) -> None; now... [pypi.org](https://pypi.org/project/Hypercorn/0.17.0/)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## hypercorn 0.16.0 breaking changes

hypercorn 0.16.0, released January 1, 2024: 12 breaking changes.

- **Removed** `hypercorn.run.start_processes`  

hypercorn.run.start_processes was removed in Hypercorn 0.16.0 [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Removed** `hypercorn.run.wait_for_changes`  

hypercorn.run.wait_for_changes was removed in Hypercorn 0.16.0 [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Removed** `hypercorn.utils.wait_for_changes`  

hypercorn.utils.wait_for_changes was removed in Hypercorn 0.16.0 [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Behavior changed** `start_response`  

Hypercorn now raises an error if a WSGI app returns without calling start_response. WSGI apps that skip this call will now fail. [github.com](https://github.com/pgjones/hypercorn/blob/0.16.0/CHANGELOG.rst)
- **Behavior changed** `wsgi.errors`  

The WSGI environ wsgi.errors stream now writes to stdout instead of stderr. Code that reads or writes wsgi.errors may need updating. [github.com](https://github.com/pgjones/hypercorn/blob/0.16.0/CHANGELOG.rst)
- **Signature changed** `hypercorn.asyncio.run.raise_shutdown`  

Was async def raise_shutdown(shutdown_event: Callable\[..., Awaitable\[None\]\]) -> None; now async def raise_shutdown(shutdown_event: Callable\[..., Awaitable\]) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Signature changed** `hypercorn.asyncio.run.WorkerContext.__init__`  

Was def \_\_init\_\_(self) -> None; now def \_\_init\_\_(self, max_requests: Optional\[int\]) -> None. [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Signature changed** `hypercorn.asyncio.serve`  

Was async def serve(app: Framework, config: Config, \*, shutdown_trigger: Optional\[Callable\[..., Awaitable\[None\]\]\] = None, mode: Optional\[Literal\['asgi', 'wsgi'\]\] = None) -> None; now async def serve(app: Framework, config: Config, \*... [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Signature changed** `hypercorn.asyncio.worker_serve`  

Was async def worker_serve(app: AppWrapper, config: Config, \*, sockets: Optional\[Sockets\] = None, shutdown_trigger: Optional\[Callable\[..., Awaitable\[None\]\]\] = None) -> None; now async def worker_serve(app: AppWrapper, config: Config, \*... [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)
- **Signature changed** `hypercorn.run.run`  

Was def run(config: Config) -> None; now def run(config: Config) -> int. [pypi.org](https://pypi.org/project/Hypercorn/0.16.0/)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
