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

# starlette-context breaking changes

starlette-context 0.5.0 (February 28, 2026) is its newest release with breaking changes, 2 of them. The first: starlette-context 0.5.0 drops support for Python 3.9 and requires Python 3.10 or later. Every breaking API change we have recorded in starlette-context on PyPI: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.5.1`, released February 28, 2026. [Source repository](https://github.com/tomwojcik/starlette-context)

Its 0.5.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.4.0](#v-0-4-0) to [0.5.0](#v-0-5-0): 2 breaking changes in 1 version.

## starlette-context 0.5.0 breaking changes

starlette-context 0.5.0, released February 28, 2026: 2 breaking changes.

- **Removed**  

Python 3.9 is no longer supported; the minimum supported version is now Python 3.10. [github.com](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.0)
- **Behavior changed** `Plugin.process_request`  

Code that catches AssertionError from Plugin.process_request must now catch ConfigurationError. [github.com](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.0)

## starlette-context 0.4.0 breaking changes

starlette-context 0.4.0, released March 4, 2025: 5 breaking changes.

- **Removed** `ContextMiddleware`  

ContextMiddleware no longer emits a deprecation warning because Starlette no longer plans to deprecate it. [github.com](https://github.com/tomwojcik/starlette-context/releases/tag/v0.4.0)
- **Removed** `starlette_context.middleware.context_middleware.CONTEXT_MIDDLEWARE_WARNING_MSG`  

starlette_context.middleware.context_middleware.CONTEXT_MIDDLEWARE_WARNING_MSG was removed in starlette-context 0.4.0 [pypi.org](https://pypi.org/project/starlette-context/0.4.0/)
- **Behavior changed**  

Python 3.8 is no longer supported; only Python 3.9 and later are supported, so users on 3.8 must upgrade Python. [github.com](https://github.com/tomwojcik/starlette-context/releases/tag/v0.4.0)
- **Signature changed** `starlette_context.middleware.context_middleware.ContextMiddleware.__init__`  

Was def \_\_init\_\_(self, plugins: Optional\[Sequence\[Plugin\]\] = None, default_error_response: Response = Response(status_code=400), \*args, \*\*kwargs) -> None; now def \_\_init\_\_(self, app: ASGIApp, plugins: Optional\[Sequence\[Plugin\]\] = None... [pypi.org](https://pypi.org/project/starlette-context/0.4.0/)
- **Signature changed** `starlette_context.middleware.ContextMiddleware.__init__`  

Was def \_\_init\_\_(self, plugins: Optional\[Sequence\[Plugin\]\] = None, default_error_response: Response = Response(status_code=400), \*args, \*\*kwargs) -> None; now def \_\_init\_\_(self, app: ASGIApp, plugins: Optional\[Sequence\[Plugin\]\] = None... [pypi.org](https://pypi.org/project/starlette-context/0.4.0/)

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