Skip to content

Releases: encode/uvicorn

Version 0.25.0

20 Dec 21:41
b52f3f9
Compare
Choose a tag to compare

Added

  • Support the WebSocket Denial Response ASGI extension (#1916) 17/12/23

Fixed

  • Allow explicit hidden file paths on --reload-include (#2176) 08/12/23
  • Properly annotate uvicorn.run() (#2158) 22/11/23

Full Changelog: 0.24.0...0.25.0

Version 0.24.0.post1

06 Nov 06:36
bf04afb
Compare
Choose a tag to compare

Fixed

  • Revert mkdocs-material from 9.1.21 to 9.2.6 (#2148) 05/11/23

Version 0.24.0

04 Nov 19:29
5f142a8
Compare
Choose a tag to compare

Added

  • Support Python 3.12 (#2145) 04/11/23
  • Allow setting app via environment variable UVICORN_APP (#2106)

Full Changelog: 0.23.2...0.24.0

Version 0.23.2

31 Jul 06:00
f3040fb
Compare
Choose a tag to compare

Fixed

  • Maintain the same behavior of websockets from 10.4 on 11.0 (#2061) 30/07/23

Full Changelog: 0.23.1...0.23.2

Version 0.23.1

18 Jul 08:04
bf8f52b
Compare
Choose a tag to compare

Fixed

  • Add typing_extensions for Python 3.10 and lower (#2053) 18/07/23

Full Changelog: 0.23.0...0.23.1

Version 0.23.0

15 Jul 06:26
cd18c3b
Compare
Choose a tag to compare

Added

  • Add --ws-max-queue parameter WebSockets (#2033) 10/07/23

Removed

  • Drop support for Python 3.7 (#1996) 19/06/23
  • Remove asgiref as typing dependency (#1999) 08/06/23

Fixed

  • Set scope["scheme"] to ws or wss instead of http or https on ProxyHeadersMiddleware for WebSockets (#2043) 12/07/23

Changed

  • Raise ImportError on circular import (#2040) 09/07/23
  • Use logger.getEffectiveLevel() instead of logger.level to check if log level is TRACE (#1966) 01/06/23

Full Changelog: 0.22.0...0.23.0

Version 0.22.0

28 Apr 00:52
71043a9
Compare
Choose a tag to compare

Added

  • Add --timeout-graceful-shutdown parameter (#1950)
  • Handle SIGBREAK on Windows (#1909)

Fixed

  • Shutdown event is now being triggered on Windows when using hot reload (#1584)
  • --reload-delay is effectively used on the watchfiles reloader (#1930)

Full Changelog: 0.21.1...0.22.0

Version 0.21.1

16 Mar 12:28
73b7bcd
Compare
Choose a tag to compare

Fixed

  • Reset lifespan state on each request (#1903) 16/03/23

Version 0.21.0

09 Mar 23:06
c459165
Compare
Choose a tag to compare

Added

  • Introduce lifespan state (#1818) 05/03/23
  • Allow headers to be sent as iterable on H11 implementation (#1782) 27/11/22
  • Improve discoverability when --port=0 is used (#1890) 09/03/23

Changed

  • Avoid importing h11 and pyyaml when not needed to improve import time (#1846) 07/02/23
  • Replace current native WSGIMiddleware implementation by a2wsgi (#1825) 16/01/23
  • Change default --app-dir from "." (dot) to "" (empty string) (#1835) 06/01/23

Fixed

  • Send code 1012 on shutdown for WebSockets (#1816) 06/01/23
  • Use surrogateescape to encode headers on websockets implementation (#1005) 12/12/22
  • Fix warning message on reload failure (#1784) 29/11/22

Full Changelog: 0.20.0...0.21.0

Version 0.20.0

20 Nov 12:33
448be75
Compare
Choose a tag to compare

Added

  • Check if handshake is completed before sending frame on wsproto shutdown (#1737)
  • Add default headers to WebSockets implementations (#1606 & #1747) 28/10/22
  • Warn user when reload and workers flag are used together (#1731) 31/10/22

Fixed

  • Use correct WebSocket error codes on close (#1753) 20/11/22
  • Send disconnect event on connection lost for wsproto (#996) 29/10/22
  • Add SIGQUIT handler to UvicornWorker (#1710) 01/11/22
  • Fix crash on exist with "--uds" if socket doesn't exist (#1725) 27/10/22
  • Annotate CONFIG_KWARGS in UvicornWorker class (#1746) 31/10/22

Removed

  • Remove conditional on RemoteProtocolError.event_hint on wsproto (#1486) 31/10/22
  • Remove unused handle_no_connect on wsproto implementation (#1759) 17/11/22