Upgrading starlette 0.37 to 0.38
Breaking0.37.2 → 0.38.6Breaking1New3Changed2Fixed6
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Revert "Add support for ASGI pathsend extension".
Must act 1 item needs code or config changes
What you must change
Breaking1
Revert "Add support for ASGI pathsend extension".
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
method Response.render(content: typing.Any) -> bytes → method Response.render(content: typing.Any) -> bytes | memoryview - changed:
method Response.set_cookie(key: str, value: str=…, max_age: int | None=…, expires: datetime | str | int | None=…, path: str=…, domain: str | None=…, secure: bool=…, httponly: bool=…, samesite: typing.Literal['lax', 'strict', 'none'] | None=…) -> None → method Response.set_cookie(key: str, value: str=…, max_age: int | None=…, expires: datetime | str | int | None=…, path: str | None=…, domain: str | None=…, secure: bool=…, httponly: bool=…, samesite: typing.Literal['lax', 'strict', 'none'] | None=…) -> None
- changed:
constructor Jinja2Templates(directory: str | PathLike[typing.AnyStr] | typing.Sequence[str | PathLike[typing.AnyStr]], *, context_processors: list[typing.Callable[[Request], dict[str, typing.Any]]] | None=…, **env_options: typing.Any) -> None | (*, env: jinja2.Environment, context_processors: list[typing.Callable[[Request], dict[str, typing.Any]]] | None=…) -> None → constructor Jinja2Templates(directory: str | PathLike[str] | typing.Sequence[str | PathLike[str]], *, context_processors: list[typing.Callable[[Request], dict[str, typing.Any]]] | None=…, **env_options: typing.Any) -> None | (*, env: jinja2.Environment, context_processors: list[typing.Callable[[Request], dict[str, typing.Any]]] | None=…) -> None