chore(deps-dev): update starlette requirement from ^0.20.0 to ^0.21.0
Updates the requirements on starlette to permit the latest version.
Release notes
Sourced from starlette's releases.
Version 0.21.0
This release replaces the underlying HTTP client used on the
TestClient(requests:arrow_right:httpx), and as those clients differ a bit on their API, your test suite will likely break. To make the migration smoother, you can use thebump-testclienttool.Changed
- Replace
requestswithhttpxinTestClient#1376.Added
- Add
WebSocketExceptionand support for WebSocket exception handlers #1263.- Add
middlewareparameter toMountclass #1649.- Officially support Python 3.11 1863.
- Implement
__repr__for route classes #1864.Fixed
- Fix bug on which
BackgroundTaskswere cancelled when usingBaseHTTPMiddlewareand client disconnected #1715.
Changelog
Sourced from starlette's changelog.
0.21.0
September 26, 2022
This release replaces the underlying HTTP client used on the
TestClient(requests:arrow_right:httpx), and as those clients differ a bit on their API, your test suite will likely break. To make the migration smoother, you can use thebump-testclienttool.Changed
- Replace
requestswithhttpxinTestClient#1376.Added
- Add
WebSocketExceptionand support for WebSocket exception handlers #1263.- Add
middlewareparameter toMountclass #1649.- Officially support Python 3.11 1863.
- Implement
__repr__for route classes #1864.Fixed
- Fix bug on which
BackgroundTaskswere cancelled when usingBaseHTTPMiddlewareand client disconnected #1715.0.20.4
June 28, 2022
Fixed
- Remove converter from path when generating OpenAPI schema #1648.
0.20.3
June 10, 2022
Fixed
- Revert "Allow
StaticFilesto follow symlinks" #1681.0.20.2
June 7, 2022
Fixed
0.20.1
May 28, 2022
Fixed
... (truncated)
Commits
0b8a775Version 0.21.0 (#1812)040d8c8Replace task cancellation inBaseHTTPMiddlewarewithhttp.disconnect+`rec...70971eaImplement repr for route classes (#1864)e89e131Add official support for Python 3.11 (#1863)ef34eceAdd Mount(..., middleware=[...]) (#1649)bc61505AddStarlette-Adminto third party package section (#1853)6765502Replace HTTP client on TestClient fromrequeststohttpx(#1376)243d03eRemove reference toDatabaseMiddlewarein the documentation (#1845)d525431AddWebSocketExceptionand support for WS handlers (#1263)9386bcfAdd missingMiddlewareimport onBaseHTTPMiddlewaresection (#1844)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
👇 Click on the image for a new way to code review
-
Make big changes easier — review code in small groups of related files
-
Know where to start — see the whole change at a glance
-
Take a code tour — explore the change with an interactive tour
-
Make comments and review — all fully sync’ed with github
Legend

Code Climate has analyzed commit 6c1b94b6 and detected 0 issues on this pull request.
View more on Code Climate.