Upgrading starlette 0.34 to 0.35
Safe0.34.0 → 0.35.1New1Fixed4Other1
SafeUpgrade verdict
Only new features and fixes in this range.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
method Starlette.add_middleware(middleware_class: type, **options: typing.Any) -> None → method Starlette.add_middleware(middleware_class: typing.Type[_MiddlewareClass[P]], *args: P.args, **kwargs: P.kwargs) -> None - added:
variable P
- changed:
async function iterate_in_threadpool(iterator: typing.Iterator[T]) -> typing.AsyncIterator[T] → async function iterate_in_threadpool(iterator: typing.Iterable[T]) -> typing.AsyncIterator[T]
- changed:
constructor Middleware(cls: type, **options: typing.Any) -> None → constructor Middleware(cls: Type[_MiddlewareClass[P]], *args: P.args, **kwargs: P.kwargs) -> None - added:
export ASGIApp - added:
export Receive - added:
export Scope - added:
export Send - added:
variable P