morpheus
morpheus copied to clipboard
Bump starlette from 0.14.2 to 0.22.0
Bumps starlette from 0.14.2 to 0.22.0.
Release notes
Sourced from starlette's releases.
Version 0.22.0
Changed
- Bypass
GZipMiddleware
when response includesContent-Encoding
#1901.Fixed
- Remove unneeded
unquote()
from query parameters on theTestClient
#1953.- Make sure
MutableHeaders._list
is actually alist
#1917.- Import compatibility with the next version of
AnyIO
#1936.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-testclient
tool.Changed
- Replace
requests
withhttpx
inTestClient
#1376.Added
- Add
WebSocketException
and support for WebSocket exception handlers #1263.- Add
middleware
parameter toMount
class #1649.- Officially support Python 3.11 #1863.
- Implement
__repr__
for route classes #1864.Fixed
- Fix bug on which
BackgroundTasks
were cancelled when usingBaseHTTPMiddleware
and client disconnected #1715.Version 0.20.4
Fixed
- Remove converter from path when generating OpenAPI schema #1648.
Version 0.20.3
Fixed
- Revert "Allow
StaticFiles
to follow symlinks" #1681.Version 0.20.2
Fixed
Version 0.20.1
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
onBaseHTTPMiddleware
#1609.- Add
__bool__
dunder forSecret
#1625.Version 0.20.0
Removed
Version 0.19.1
... (truncated)
Changelog
Sourced from starlette's changelog.
0.22.0
November 17, 2022
Changed
- Bypass
GZipMiddleware
when response includesContent-Encoding
#1901.Fixed
- Remove unneeded
unquote()
from query parameters on theTestClient
#1953.- Make sure
MutableHeaders._list
is actually alist
#1917.- Import compatibility with the next version of
AnyIO
#1936.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-testclient
tool.Changed
- Replace
requests
withhttpx
inTestClient
#1376.Added
- Add
WebSocketException
and support for WebSocket exception handlers #1263.- Add
middleware
parameter toMount
class #1649.- Officially support Python 3.11 1863.
- Implement
__repr__
for route classes #1864.Fixed
- Fix bug on which
BackgroundTasks
were cancelled when usingBaseHTTPMiddleware
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.
... (truncated)
Commits
549345e
Version 0.22.0 (#1910)24887d6
Fix TestClient for extra unquote in query parameters (#1952) (#1953)bf5d735
docs(testclient): change requests url to httpx url (#1937)a450272
♻️ Add compatibility with the next version of AnyIO (#1936)fbab16a
Ignore Trio excepthook warning (#1932)5dd8ff1
Bump typing-extensions from 4.3.0 to 4.4.0 (#1929)72b6567
Bump mkdocs-material from 8.5.5 to 8.5.7 (#1928)d1136ef
Removegreenlet
fromrequirements.txt
26e759a
Bump coverage from 6.4.2 to 6.5.0 (#1930)e7d000a
Replace 3.11-dev by 3.11 on the pipeline (#1924)- 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)