Releases: encode/starlette
Releases Β· encode/starlette
Version 0.38.2
Fixed
- Fix
routing.get_name()
not to assume all routines have__name__
#2648
Full Changelog: 0.38.1...0.38.2
Version 0.38.1
Version 0.38.0
Added
- Allow use of
memoryview
inStreamingResponse
andResponse
#2576
and #2577. - Send 404 instead of 500 when filename requested is too long on
StaticFiles
#2583.
Changed
- Fail fast on invalid
Jinja2Template
instantiation parameters #2568. - Check endpoint handler is async only once #2536.
Fixed
- Add proper synchronization to
WebSocketTestSession
#2597.
Full Changelog: 0.37.2...0.38.0
Version 0.37.2
Added
- Add
bytes
to_RequestData
type #2510.
Fixed
- Revert "Turn
scope["client"]
toNone
onTestClient
(#2377)" #2525. - Remove deprecated
app
argument passed tohttpx.Client
on theTestClient
#2526.
Full Changelog: 0.37.1...0.37.2
Version 0.37.1
Version 0.37.0
Version 0.36.3
Version 0.36.2
Version 0.36.1
Fixed
- Check if "extensions" in scope before checking the extension #2438.
Full Changelog: 0.36.0...0.36.1
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: 0.35.1...0.36.0