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

⬆ Bump starlette from 0.20.4 to 0.21.0 #5570

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2022

Bumps starlette from 0.20.4 to 0.21.0.

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.
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 compatibility score

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 Nov 1, 2022
Bumps [starlette](https://github.com/encode/starlette) from 0.20.4 to 0.21.0.
- [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.4...0.21.0)

---
updated-dependencies:
- dependency-name: starlette
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/starlette-0.21.0 branch from 24fc894 to 7f54edb Compare November 3, 2022 12:27
@vergeev
Copy link

vergeev commented Nov 6, 2022

I think it duplicates #5471

@iudeen
Copy link
Contributor

iudeen commented Nov 6, 2022

@vergeev its a dependabot PR 🤷‍♂️

@vergeev
Copy link

vergeev commented Nov 7, 2022

@iudeen Yeah, I just wanted to point out that similar MR exists.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2022

Looks like starlette is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Nov 13, 2022
@dependabot dependabot bot deleted the dependabot/pip/starlette-0.21.0 branch November 13, 2022 14:27
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.

None yet

2 participants