All Versions
46
Latest Version
Avg Release Cycle
36 days
Latest Release
605 days ago

Changelog History
Page 2

  • v0.17.2 Changes

    February 03, 2022

    ๐Ÿ›  Fixed

    • โช Revert #1332. While trying to solve the memory leak, it introduced an issue (#1345) when the server receives big chunks of data using the httptools implementation. (#1354) 03/02/22
    • โช Revert stream interface changes. This was introduced on 0.14.0, and caused an issue (#1226), which caused a memory leak when sending TCP pings. (#1355) 03/02/22
    • ๐Ÿ›  Fix wsproto version check expression (#1342) 28/01/22
  • v0.17.1 Changes

    January 28, 2022

    ๐Ÿ›  Fixed

    • ๐Ÿšš Move all data handling logic to protocol and ensure connection is closed. (#1332) 28/01/22
    • ๐Ÿ”„ Change spec_version field from "2.1" to "2.3", as Uvicorn is compliant with that version of the ASGI specifications. (#1337) 25/01/22
  • v0.17.0 Changes

    January 14, 2022

    โž• Added

    • ๐Ÿ‘ Allow configurable websocket per-message-deflate setting (#1300) 29/12/21
    • ๐Ÿ‘Œ Support extra_headers for WS accept message (#1293) 06/01/22
    • โž• Add missing http version on websockets scope (#1309) 08/01/22

    ๐Ÿ›  Fixed/Removed

    • โฌ‡๏ธ Drop Python 3.6 support (#1261) 06/01/22
    • ๐Ÿ›  Fix reload process behavior when exception is raised (#1313) 11/01/22
    • โœ‚ Remove root_path from logs (#1294) 25/12/21
  • v0.17.0.post1 Changes

    January 24, 2022

    ๐Ÿ›  Fixed

    • โž• Add the python_requires version specifier (#1328) 17/01/22
  • v0.16.0 Changes

    December 08, 2021

    โž• Added

    • Enable read of uvicorn settings from environment variables (#1279) 06/12/21
    • โฌ†๏ธ Bump websockets to 10.0. (#1180) 13/09/21
    • Ensure non-zero exit code when startup fails (#1278) 06/12/21
    • Increase httptools version range from "==0.2.*" to ">=0.2.0,<0.4.0". (#1243) 8/11/21
    • ๐Ÿ Override default asyncio event loop with reload only on Windows (#1257) 24/11/21
    • Replace HttpToolsProtocol.pipeline type from list to deque. (#1213) 10/10/21
    • Replace WSGIResponder.send_queue type from list to deque. (#1214) 10/10/21

    ๐Ÿ›  Fixed

    • Main process exit after startup failure on reloader classes (#1177) 30/09/21
    • โž• Add explicit casting on click options (#1217) 11/10/21
    • ๐Ÿ‘ Allow WebSocket close event to receive reason being None from ASGI app. (#1259) 23/11/21
    • ๐Ÿ›  Fix a bug in WebSocketProtocol.asgi_receive on which we returned a close frame even if there were data messages before that frame in the read queue. (#1252) 25/11/21
    • The option --reload-dirs was splitting a string into single character directories. (#1267) 25/11/21
    • Only second SIGINT is able to forcefully shutdown the server (#1269) 28/11/21
    • ๐Ÿ‘ Allow app-dir parameter on the run() function (#1271) 06/12/21
  • v0.15.0 Changes

    August 13, 2021

    โž• Added

    • ๐Ÿ”„ Change reload to be configurable with glob patterns. Currently only .py files are watched, which is different from the previous default behavior. (#820) 08/08/21
    • โž• Add Python 3.10-rc.1 support. Now the server uses asyncio.run which will: start a fresh asyncio event loop, on shutdown cancel any background tasks rather than aborting them, aexit any remaining async generators, and shutdown the default ThreadPoolExecutor. (#1070) 30/07/21
    • ๐Ÿ‘ท Exit with status 3 when worker starts failed (#1077) 22/06/21
    • โž• Add option to set websocket ping interval and timeout (#1048) 09/06/21
    • Adapt bind_socket to make it usable with multiple processes (#1009) 21/06/21
    • โž• Add existence check to the reload directory(ies) (#1089) 21/06/21
    • โž• Add missing trace log for websocket protocols (#1083) 19/06/21
    • ๐Ÿ‘Œ Support disabling default Server and Date headers (#818) 11/06/21

    ๐Ÿ”„ Changed

    • โž• Add PEP440 compliant version of click (#1099) 29/06/21
    • โฌ†๏ธ Bump asgiref to 3.4.0 (#1100) 29/06/21

    ๐Ÿ›  Fixed

    • When receiving a SIGTERM supervisors now terminate their processes before joining them (#1069) 30/07/21
    • ๐Ÿ›  Fix the need of httptools on minimal installation (#1135) 30/07/21
    • ๐Ÿ›  Fix ping parameters annotation in Config class (#1127) 19/07/21
  • v0.14.0 Changes

    June 01, 2021

    โž• Added

    • 0๏ธโƒฃ Defaults ws max_size on server to 16MB (#995) 5/29/21
    • ๐Ÿ‘Œ Improve user feedback if no ws library installed (#926 and #1023) 2/27/21
    • ๐Ÿ‘Œ Support 'reason' field in 'websocket.close' messages (#957) 2/24/21
    • Implemented lifespan.shutdown.failed (#755) 2/25/21

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Upgraded websockets requirements (#1065) 6/1/21
    • Switch to asyncio streams API (#869) 5/29/21
    • Update httptools from 0.1.* to 0.2.* (#1024) 5/28/21
    • ๐Ÿ‘ Allow Click 8.0, refs #1016 (#1042) 5/23/21
    • โž• Add search for a trusted host in ProxyHeadersMiddleware (#591) 3/13/21
    • Up wsproto to 1.0.0 (#892) 2/25/21

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ฎ Force reload_dirs to be a list (#978) 6/1/21
    • ๐Ÿ›  Fix gunicorn worker not running if extras not installed (#901) 5/28/21
    • ๐Ÿ›  Fix socket port 0 (#975) 3/5/21
    • Prevent garbage collection of main lifespan task (#972) 3/4/21
  • v0.13.4 Changes

    February 20, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed wsgi middleware PATH_INFO encoding (#962) 2/20/21
    • ๐Ÿ›  Fixed uvloop dependency (#952) 2/10/21 then (#959) 2/20/21
    • ๐Ÿ˜Œ Relax watchgod up bound (#946) 1/31/21
    • Return 'connection: close' header in response (#721) 1/25/21

    โž• Added:

    • ๐Ÿ“„ Docs: Nginx + websockets (#948) 2/10/21
    • 0๏ธโƒฃ Document the default value of 1 for workers (#940) (#943) 1/25/21
    • Enabled permessage-deflate extension in websockets (#764) 1/1/21
  • v0.13.3 Changes

    December 29, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿšฆ Prevent swallowing of return codes from subprocess when running with Gunicorn by properly resetting signals. (Pull #895)
    • โš  Tweak detection of app factories to be more robust. A warning is now logged when passing a factory without the --factory flag. (Pull #914)
    • Properly clean tasks when handshake is aborted when running with --ws websockets. (Pull #921)
  • v0.13.2 Changes

    December 12, 2020

    ๐Ÿ›  Fixed

    • ๐ŸŒฒ Log full exception traceback in case of invalid HTTP request. (Pull #886 and #888)