fix(deps): update dependency starlette to ^0.37.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
starlette (changelog) | dependencies | minor |
^0.25.0 -> ^0.37.0
|
Release Notes
encode/starlette (starlette)
v0.37.0
: Version 0.37.0
Added
- Support the WebSocket Denial Response ASGI extension #2041.
Full Changelog: https://github.com/encode/starlette/compare/0.36.3...0.37.0
v0.36.3
: Version 0.36.3
Fixed
- Create
anyio.Event
on async context #2459.
Full Changelog: https://github.com/encode/starlette/compare/0.36.2...0.36.3
v0.36.2
: Version 0.36.2
Fixed
Full Changelog: https://github.com/encode/starlette/compare/0.36.1...0.36.2
v0.36.1
: Version 0.36.1
Fixed
- Check if "extensions" in scope before checking the extension #2438.
Full Changelog: https://github.com/encode/starlette/compare/0.36.0...0.36.1
v0.36.0
: Version 0.36.0
Added
- Add support for ASGI
pathsend
extension #2435. - Cancel
WebSocketTestSession
on close #2427. - Raise
WebSocketDisconnect
whenWebSocket.send()
exceptsIOError
#2425. - Raise
FileNotFoundError
when theenv_file
parameter onConfig
is not valid #2422.
Full Changelog: https://github.com/encode/starlette/compare/0.35.1...0.36.0
v0.35.1
: Version 0.35.1
Fixed
- Stop using the deprecated "method" parameter in
FileResponse
inside ofStaticFiles
#2406. - Make
typing-extensions
optional again #2409.
Full Changelog: https://github.com/encode/starlette/compare/0.35.0...0.35.1
v0.35.0
: Version 0.35.0
Added
- Add
*args
toMiddleware
and improve its type hints #2381.
Fixed
- Use
Iterable
insteadIterator
oniterate_in_threadpool
#2362.
Changes
- Handle
root_path
to keep compatibility with mounted ASGI applications and WSGI #2400. - Turn
scope["client"]
toNone
onTestClient
#2377.
Full Changelog: https://github.com/encode/starlette/compare/0.34.0...0.35.0
v0.34.0
: Version 0.34.0
Added
Fixed
Deprecated
- Deprecate
FileResponse(method=...)
parameter #2366.
Full Changelog: https://github.com/encode/starlette/compare/0.33.0...0.34.0
v0.33.0
: Version 0.33.0
Added
Fixed
- Do not overwrite
"path"
and"root_path"
scope keys #2352. - Set
ensure_ascii=False
onjson.dumps()
forWebSocket.send_json()
#2341.
v0.32.0
: Version 0.32.0
Added
Changed
- Inherit from
HTMLResponse
instead ofResponse
on_TemplateResponse
#2274. - Restore the
Response.render
type annotation to its pre-0.31.0 state #2264.
Full Changelog: https://github.com/encode/starlette/compare/0.31.1...0.32.0
v0.31.1
: Version 0.31.1
Fixed
- Fix import error when
exceptiongroup
isn't available #2231. - Set
url_for
global for custom Jinja environments #2230.
Full Changelog: https://github.com/encode/starlette/compare/0.31.0...0.31.1
v0.31.0
: Version 0.31.0
Added
- Officially support Python 3.12 #2214.
- Support AnyIO 4.0 #2211.
- Strictly type annotate Starlette (strict mode on mypy) #2180.
Fixed
- Don't group duplicated headers on a single string when using the
TestClient
#2219.
Full Changelog: https://github.com/encode/starlette/compare/0.30.0...0.31.0
v0.30.0
: Version 0.30.0
Removed
- Drop Python 3.7 support #2178.
v0.29.0
: Version 0.29.0
Added
- Add
follow_redirects
parameter toTestClient
#2207. - Add
__str__
toHTTPException
andWebSocketException
#2181. - Warn users when using
lifespan
together withon_startup
/on_shutdown
#2193. - Collect routes from
Host
to generate the OpenAPI schema #2183. - Add
request
argument toTemplateResponse
#2191.
Fixed
- Stop
body_stream
in casemore_body=False
onBaseHTTPMiddleware
#2194.
Full Changelog: https://github.com/encode/starlette/compare/0.28.0...0.29.0
v0.28.0
: Version 0.28.0
Changed
- Reuse
Request
's body buffer for call_next inBaseHTTPMiddleware
#1692. - Move exception handling logic to
Route
#2026.
Added
- Add
env
parameter toJinja2Templates
, and deprecate**env_options
#2159. - Add clear error message when
httpx
is not installed #2177.
Fixed
- Allow "name" argument on
templates url_for()
#2127.
Full Changelog: https://github.com/encode/starlette/compare/0.27.0...0.28.0
v0.27.0
: Version 0.27.0
This release fixes a path traversal vulnerability in StaticFiles
. You can view the full security advisory:
https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px
Added
- Minify JSON websocket data via
send_json
https://github.com/encode/starlette/pull/2128
Fixed
- Replace
commonprefix
bycommonpath
onStaticFiles
1797de4. - Convert ImportErrors into ModuleNotFoundError #2135.
- Correct the RuntimeError message content in websockets #2141.
Full Changelog: https://github.com/encode/starlette/compare/0.26.1...0.27.0
v0.26.1
: Version 0.26.1
Fixed
- Fix typing of Lifespan to allow subclasses of Starlette #2077.
v0.26.0
: Version 0.26.0
Added
- Support lifespan state #2060, #2065 and #2064.
Changed
- Change
url_for
signature to return aURL
instance #1385.
Fixed
- Allow "name" argument on
url_for()
andurl_path_for()
#2050.
Deprecated
- Deprecate
on_startup
andon_shutdown
events #2070.
Full Changelog: https://github.com/encode/starlette/compare/0.25.0...0.26.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.