pypi / starlette-context
starlette-context
What changed in starlette-context 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
2 breaking2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstarlette-context 0.54 changes
Breaking changes 2
Replaces the deprecated HTTP_422_UNPROCESSABLE_ENTITY constant.
Python 3.13 and 3.14 are supported; Python 3.9 is no longer supported, and Python 3.10+ is required.
Fixes and other changes 2
Using StrEnum makes str(HeaderKeys.api_key) consistently return "X-API-Key" across supported Python versions.
Replaces an assert with ConfigurationError, providing clearer error messages when processing a request.