Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): update starlette requirement from ^0.20.0 to ^0.21.0 #158

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 27, 2022

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 ➡️ 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 the bump-testclient tool.

Changed

  • Replace requests with httpx in TestClient #1376.

Added

  • Add WebSocketException and support for WebSocket exception handlers #1263.
  • Add middleware parameter to Mount class #1649.
  • Officially support Python 3.11 1863.
  • Implement __repr__ for route classes #1864.

Fixed

  • Fix bug on which BackgroundTasks were cancelled when using BaseHTTPMiddleware and 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 ➡️ 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 the bump-testclient tool.

Changed

  • Replace requests with httpx in TestClient #1376.

Added

  • Add WebSocketException and support for WebSocket exception handlers #1263.
  • Add middleware parameter to Mount class #1649.
  • Officially support Python 3.11 1863.
  • Implement __repr__ for route classes #1864.

Fixed

  • Fix bug on which BackgroundTasks were cancelled when using BaseHTTPMiddleware and 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 StaticFiles to follow symlinks" #1681.

0.20.2

June 7, 2022

Fixed

  • Fix regression on route paths with colons #1675.
  • Allow StaticFiles to follow symlinks #1337.

0.20.1

May 28, 2022

Fixed

  • Improve detection of async callables #1444.
  • Send 400 (Bad Request) when boundary is missing #1617.
  • Send 400 (Bad Request) when missing "name" field on Content-Disposition header #1643.
  • Do not send empty data to StreamingResponse on BaseHTTPMiddleware #1609.
  • Add __bool__ dunder for Secret #1625.

... (truncated)

Commits
  • 0b8a775 Version 0.21.0 (#1812)
  • 040d8c8 Replace task cancellation in BaseHTTPMiddleware with http.disconnect+`rec...
  • 70971ea Implement repr for route classes (#1864)
  • e89e131 Add official support for Python 3.11 (#1863)
  • ef34ece Add Mount(..., middleware=[...]) (#1649)
  • bc61505 Add Starlette-Admin to third party package section (#1853)
  • 6765502 Replace HTTP client on TestClient from requests to httpx (#1376)
  • 243d03e Remove reference to DatabaseMiddleware in the documentation (#1845)
  • d525431 Add WebSocketException and support for WS handlers (#1263)
  • 9386bcf Add missing Middleware import on BaseHTTPMiddleware section (#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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 27, 2022
@ghost
Copy link

ghost commented Sep 27, 2022

👇 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

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

Updates the requirements on [starlette](https://github.com/encode/starlette) to permit the latest version.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](encode/starlette@0.20.0...0.21.0)

---
updated-dependencies:
- dependency-name: starlette
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/starlette-tw-0.21.0 branch from ea5e237 to 6c1b94b Compare October 15, 2022 08:58
@codeclimate
Copy link

codeclimate bot commented Oct 15, 2022

Code Climate has analyzed commit 6c1b94b and detected 0 issues on this pull request.

View more on Code Climate.

@miketheman miketheman merged commit 994050c into main Oct 15, 2022
@miketheman miketheman deleted the dependabot/pip/starlette-tw-0.21.0 branch October 15, 2022 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant