Skip to content

Releases: encode/starlette

Version 0.37.2

05 Mar 16:15
554f368
Compare
Choose a tag to compare

Added

  • Add bytes to _RequestData type #2510.

Fixed

  • Revert "Turn scope["client"] to None on TestClient (#2377)" #2525.
  • Remove deprecated app argument passed to httpx.Client on the TestClient #2526.

Full Changelog: 0.37.1...0.37.2

Version 0.37.1

09 Feb 21:56
74ccb96
Compare
Choose a tag to compare

Fixed

  • Warn instead of raise for missing env file on Config #2485.

Full Changelog: 0.37.0...0.37.1

Version 0.37.0

05 Feb 06:55
6fcd579
Compare
Choose a tag to compare

Added

  • Support the WebSocket Denial Response ASGI extension #2041.

Full Changelog: 0.36.3...0.37.0

Version 0.36.3

04 Feb 18:15
be4f3e1
Compare
Choose a tag to compare

Fixed

  • Create anyio.Event on async context #2459.

Full Changelog: 0.36.2...0.36.3

Version 0.36.2

03 Feb 12:39
04a7d9d
Compare
Choose a tag to compare

Fixed

  • Upgrade python-multipart to 0.0.7 13e5c26.
  • Avoid duplicate charset on Content-Type #2443.

Full Changelog: 0.36.1...0.36.2

Version 0.36.1

23 Jan 08:32
433da65
Compare
Choose a tag to compare

Fixed

  • Check if "extensions" in scope before checking the extension #2438.

Full Changelog: 0.36.0...0.36.1

Version 0.36.0

22 Jan 20:38
8d09cf4
Compare
Choose a tag to compare

Added

  • Add support for ASGI pathsend extension #2435.
  • Cancel WebSocketTestSession on close #2427.
  • Raise WebSocketDisconnect when WebSocket.send() excepts IOError #2425.
  • Raise FileNotFoundError when the env_file parameter on Config is not valid #2422.

Full Changelog: 0.35.1...0.36.0

Version 0.35.1

11 Jan 19:58
c817605
Compare
Choose a tag to compare

Fixed

  • Stop using the deprecated "method" parameter in FileResponse inside of StaticFiles #2406.
  • Make typing-extensions optional again #2409.

Full Changelog: 0.35.0...0.35.1

Version 0.35.0

11 Jan 14:30
1081520
Compare
Choose a tag to compare

Added

  • Add *args to Middleware and improve its type hints #2381.

Fixed

  • Use Iterable instead Iterator on iterate_in_threadpool #2362.

Changes

  • Handle root_path to keep compatibility with mounted ASGI applications and WSGI #2400.
  • Turn scope["client"] to None on TestClient #2377.

Full Changelog: 0.34.0...0.35.0

Version 0.34.0

16 Dec 15:36
23c81da
Compare
Choose a tag to compare

Added

  • Use ParamSpec for run_in_threadpool #2375.
  • Add UploadFile.__repr__ #2360.

Fixed

  • Merge URLs properly on TestClient #2376.
  • Take weak ETags in consideration on StaticFiles #2334.

Deprecated

  • Deprecate FileResponse(method=...) parameter #2366.

Full Changelog: 0.33.0...0.34.0