Skip to content

Releases: encode/starlette

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

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