# What changed in starlette-context

> 4 changes in starlette-context 0.5 from its official release notes, upgrade guides and advisories: 2 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/pypi/starlette-context/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## starlette-context 0.5

### Breaking changes

- Replaces the deprecated HTTP_422_UNPROCESSABLE_ENTITY constant. (0.5.0) — [release notes](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.0)
- Python 3.13 and 3.14 are supported; Python 3.9 is no longer supported, and Python 3.10+ is required. (0.5.0) — [release notes](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.0)

### Fixes and other changes

- Using StrEnum makes str(HeaderKeys.api_key) consistently return "X-API-Key" across supported Python versions. (0.5.1) — [release notes](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.1)
- Replaces an assert with ConfigurationError, providing clearer error messages when processing a request. (0.5.0) — [release notes](https://github.com/tomwojcik/starlette-context/releases/tag/v0.5.0)
