Skip to content

Releases: encode/starlette

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

Version 0.33.0

01 Dec 13:39
bf2d4e1
Compare
Choose a tag to compare

Added

  • Add middleware per Route/WebSocketRoute #2349.
  • Add middleware per Router #2351.

Fixed

  • Do not overwrite "path" and "root_path" scope keys #2352.
  • Set ensure_ascii=False on json.dumps() for WebSocket.send_json() #2341.

Version 0.32.0.post1

06 Nov 06:29
2c066af
Compare
Choose a tag to compare

Fixed

  • Revert mkdocs-material from 9.1.17 to 9.4.7 #2326.

Version 0.32.0

04 Nov 12:16
aa6caf9
Compare
Choose a tag to compare

Added

  • Send reason on WebSocketDisconnect #2309.
  • Add domain parameter to SessionMiddleware #2280.

Changed

  • Inherit from HTMLResponse instead of Response on _TemplateResponse #2274.
  • Restore the Response.render type annotation to its pre-0.31.0 state #2264.

Full Changelog: 0.31.1...0.32.0