Skip to content

Upgrading starlette 0.32 to 0.33

Safe0.32.0.post1 → 0.33.0New2Fixed2

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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

  • changed: constructor Route(path: str, endpoint: typing.Callable[..., typing.Any], *, methods: typing.Optional[typing.List[str]]=…, name: typing.Optional[str]=…, include_in_schema: bool=…) -> None → constructor Route(path: str, endpoint: typing.Callable[..., typing.Any], *, methods: typing.Optional[typing.List[str]]=…, name: typing.Optional[str]=…, include_in_schema: bool=…, middleware: typing.Optional[typing.Sequence[Middleware]]=…) -> None
  • changed: constructor Router(routes: typing.Optional[typing.Sequence[BaseRoute]]=…, redirect_slashes: bool=…, default: typing.Optional[ASGIApp]=…, on_startup: typing.Optional[typing.Sequence[typing.Callable[[], typing.Any]]]=…, on_shutdown: typing.Optional[typing.Sequence[typing.Callable[[], typing.Any]]]=…, lifespan: typing.Optional[Lifespan[typing.Any]]=…) -> None → constructor Router(routes: typing.Optional[typing.Sequence[BaseRoute]]=…, redirect_slashes: bool=…, default: typing.Optional[ASGIApp]=…, on_startup: typing.Optional[typing.Sequence[typing.Callable[[], typing.Any]]]=…, on_shutdown: typing.Optional[typing.Sequence[typing.Callable[[], typing.Any]]]=…, lifespan: typing.Optional[Lifespan[typing.Any]]=…, *, middleware: typing.Optional[typing.Sequence[M…
  • changed: constructor WebSocketRoute(path: str, endpoint: typing.Callable[..., typing.Any], *, name: typing.Optional[str]=…) -> None → constructor WebSocketRoute(path: str, endpoint: typing.Callable[..., typing.Any], *, name: typing.Optional[str]=…, middleware: typing.Optional[typing.Sequence[Middleware]]=…) -> None
  • added: async method Router.app(scope: Scope, receive: Receive, send: Send) -> None
  • changed: method TestClient.websocket_connect(url: str, subprotocols: typing.Sequence[str]=…, **kwargs: typing.Any) -> typing.Any → method TestClient.websocket_connect(url: str, subprotocols: typing.Sequence[str]=…, **kwargs: typing.Any) -> WebSocketTestSession