uvicorn v0.20.0 Release Notes

Release Date: 2022-11-20 // over 1 year ago
  • โž• 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

Previous changes from v0.19.0

  • โž• Added

    • ๐Ÿ‘Œ Support Python 3.11 (#1652) 16/09/22
    • โฌ†๏ธ Bump minimal httptools version to 0.5.0 (#1645) 13/09/22
    • โฌ†๏ธ Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade (#1661) 19/10/22
    • โž• Add py.typed to comply with PEP 561 (#1687) 07/10/22

    ๐Ÿ›  Fixed

    • Set propagate to False on "uvicorn" logger (#1288) 08/10/22
    • ๐Ÿšฆ USR1 signal is now handled correctly on UvicornWorker. (#1565) 26/08/22
    • ๐Ÿ”Š Use path with query string on WebSockets logs (#1385) 11/09/22
    • ๐Ÿ›  Fix behavior on which "Date" headers were not updated on the same connection (#1706) 19/10/22

    โœ‚ Removed

    • โœ‚ Remove the --debug flag (#1640) 14/09/22
    • โœ‚ Remove the DebugMiddleware (#1697) 07/10/22