Skip to content

Upgrading starlette 0.22 to 0.23

Review needed0.22.0 → 0.23.1Deprecated1New1Fixed2

Review neededUpgrade verdict

1 deprecation.

  • The decorator shortcuts on the app and router objects are deprecated and should be replaced with explicit route registration.
1 item needs code or config changes

Nothing in this upgrade needs a code or configuration change.

Deprecated1
Deprecates the Starlette and Router decorators.
StarletteRouter

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: constructor TestClient(app: ASGIApp, base_url: str=…, raise_server_exceptions: bool=…, root_path: str=…, backend: str=…, backend_options: typing.Optional[typing.Dict[str, typing.Any]]=…, cookies: httpx._client.CookieTypes=…) -> None → constructor TestClient(app: ASGIApp, base_url: str=…, raise_server_exceptions: bool=…, root_path: str=…, backend: str=…, backend_options: typing.Optional[typing.Dict[str, typing.Any]]=…, cookies: httpx._client.CookieTypes=…, headers: typing.Dict[str, str]=…) -> None