klen / py-frameworks-bench

Another benchmark for some python frameworks
https://klen.github.io/py-frameworks-bench/
MIT License
709 stars 85 forks source link

build(deps): bump starlette from 0.17.1 to 0.20.0 in /frameworks #165

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps starlette from 0.17.1 to 0.20.0.

Release notes

Sourced from starlette's releases.

Version 0.20.0

Removed

Version 0.19.1

Fixed

  • Fix inference of Route.name when created from methods #1553.
  • Avoid TypeError on websocket.disconnect when code is None #1574.

Deprecated

  • Deprecate WS_1004_NO_STATUS_RCVD and WS_1005_ABNORMAL_CLOSURE in favor of WS_1005_NO_STATUS_RCVD and WS_1006_ABNORMAL_CLOSURE, as the previous constants didn't match the WebSockets specs #1580.

Version 0.19.0

Added

  • Error handler will always run, even if the error happens on a background task #761.
  • Add headers parameter to HTTPException #1435.
  • Internal responses with 405 status code insert an Allow header, as described by RFC 7231 #1436.
  • The content argument in JSONResponse is now required #1431.
  • Add custom URL convertor register #1437.
  • Add content disposition type parameter to FileResponse #1266.
  • Add next query param with original request URL in requires decorator #920.
  • Add raw_path to TestClient scope #1445.
  • Add union operators to MutableHeaders #1240.
  • Display missing route details on debug page #1363.
  • Change anyio required version range to >=3.4.0,<5.0 #1421 and #1460.
  • Add typing-extensions>=3.10 requirement - used only on lower versions than Python 3.10 #1475.

Fixed

  • Prevent BaseHTTPMiddleware from hiding errors of StreamingResponse and mounted applications #1459.
  • SessionMiddleware uses an explicit path=..., instead of defaulting to the ASGI 'root_path' #1512.
  • Request.client is now compliant with the ASGI specifications #1462.
  • Raise KeyError at early stage for missing boundary #1349.

Deprecated

  • Deprecate WSGIMiddleware in favor of a2wsgi #1504.
  • Deprecate run_until_first_complete #1443.

Version 0.18.0

Added

  • Change default chunk size from 4Kb to 64Kb on FileResponse #1345.
  • Add support for functools.partial in WebSocketRoute #1356.
  • Add StaticFiles packages with directory #1350.
  • Allow environment options in Jinja2Templates #1401.
  • Allow HEAD method on HttpEndpoint #1346.
  • Accept additional headers on websocket.accept message #1361 and #1422.
  • Add reason to WebSocket close ASGI event #1417.
  • Add headers attribute to UploadFile #1382.
  • Don't omit Content-Length header for Content-Length: 0 cases #1395.
  • Don't set headers for responses with 1xx, 204 and 304 status code #1397.
  • SessionMiddleware.max_age now accepts None, so cookie can last as long as the browser session #1387.

... (truncated)

Changelog

Sourced from starlette's changelog.

0.20.0

May 3, 2022

Removed

0.19.1

April 22, 2022

Fixed

  • Fix inference of Route.name when created from methods #1553.
  • Avoid TypeError on websocket.disconnect when code is None #1574.

Deprecated

  • Deprecate WS_1004_NO_STATUS_RCVD and WS_1005_ABNORMAL_CLOSURE in favor of WS_1005_NO_STATUS_RCVD and WS_1006_ABNORMAL_CLOSURE, as the previous constants didn't match the WebSockets specs #1580.

0.19.0

March 9, 2022

Added

  • Error handler will always run, even if the error happens on a background task #761.
  • Add headers parameter to HTTPException #1435.
  • Internal responses with 405 status code insert an Allow header, as described by RFC 7231 #1436.
  • The content argument in JSONResponse is now required #1431.
  • Add custom URL convertor register #1437.
  • Add content disposition type parameter to FileResponse #1266.
  • Add next query param with original request URL in requires decorator #920.
  • Add raw_path to TestClient scope #1445.
  • Add union operators to MutableHeaders #1240.
  • Display missing route details on debug page #1363.
  • Change anyio required version range to >=3.4.0,<5.0 #1421 and #1460.
  • Add typing-extensions>=3.10 requirement - used only on lower versions than Python 3.10 #1475.

Fixed

  • Prevent BaseHTTPMiddleware from hiding errors of StreamingResponse and mounted applications #1459.
  • SessionMiddleware uses an explicit path=..., instead of defaulting to the ASGI 'root_path' #1512.
  • Request.client is now compliant with the ASGI specifications #1462.
  • Raise KeyError at early stage for missing boundary #1349.

Deprecated

  • Deprecate WSGIMiddleware in favor of a2wsgi #1504.
  • Deprecate run_until_first_complete #1443.

0.18.0

... (truncated)

Commits


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[bot] commented 2 years ago

Superseded by #167.