Skip to content

Releases: encode/starlette

Version 0.38.5

08 Sep 09:50
2d0dde8
Compare
Choose a tag to compare

Fixed

  • Schedule BackgroundTasks from within BaseHTTPMiddleware #2688.
    This behavior was removed in 0.38.3, and is now restored.

Full Changelog: 0.38.4...0.38.5

Version 0.38.4

01 Sep 15:15
831418a
Compare
Choose a tag to compare

Fixed

  • Ensure accurate root_path removal in get_route_path function #2600

Full Changelog: 0.38.3...0.38.4

Version 0.38.3

01 Sep 07:18
72c2334
Compare
Choose a tag to compare

Added

  • Support for Python 3.13 #2662.

Fixed

  • Don't poll for disconnects in BaseHTTPMiddleware via StreamingResponse #2620.

Full Changelog: 0.38.2...0.38.3

Version 0.38.2

27 Jul 17:57
5ed55c4
Compare
Choose a tag to compare

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

23 Jul 10:17
921f137
Compare
Choose a tag to compare

Removed

  • Revert "Add support for ASGI pathsend extension" #2649.

Full Changelog: 0.38.0...0.38.1

Version 0.38.0

20 Jul 09:17
8b1d2c2
Compare
Choose a tag to compare

Added

  • Allow use of memoryview in StreamingResponse and Response #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

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