unstale

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 init

@unstale/cli on npm

starlette-context 0.54 changes

Breaking changes 2

  • Replaces the deprecated HTTP_422_UNPROCESSABLE_ENTITY constant.

    0.5.0release notes

  • Python 3.13 and 3.14 are supported; Python 3.9 is no longer supported, and Python 3.10+ is required.

    0.5.0release notes

Fixes and other changes 2

  • Using StrEnum makes str(HeaderKeys.api_key) consistently return "X-API-Key" across supported Python versions.

    0.5.1release notes

  • Replaces an assert with ConfigurationError, providing clearer error messages when processing a request.

    0.5.0release notes