chore(deps): update dependency uvicorn to v0.34.0 - autoclosed #8

Closed
renovate wants to merge 1 commits from renovate/uvicorn-0.x into main
Member

This PR contains the following updates:

Package Update Change
uvicorn (changelog) minor ==0.13.4 -> ==0.34.0

Release Notes

encode/uvicorn (uvicorn)

v0.34.0: Version 0.34.0

Compare Source

What's Changed


Full Changelog: https://github.com/encode/uvicorn/compare/0.33.0...0.34.0

v0.33.0: Version 0.33.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/encode/uvicorn/compare/0.32.1...0.33.0

v0.32.1: Version 0.32.1

Compare Source

What's Changed


Full Changelog: https://github.com/encode/uvicorn/compare/0.32.0...0.32.1

v0.32.0: Version 0.32.0

Compare Source

Added

  • Officially support Python 3.13 (#​2482)
  • Warn when max_request_limit is exceeded (#​2430)

Full Changelog: https://github.com/encode/uvicorn/compare/0.31.1...0.32.0

v0.31.1: Version 0.31.1

Compare Source

Fixed

  • Support WebSockets 0.13.1 #​2471
  • Restore support for [*] in trusted hosts #​2480
  • Add PathLike[str] type hint for ssl_keyfile #​2481

Full Changelog: https://github.com/encode/uvicorn/compare/0.31.0...0.31.1

v0.31.0: Version 0.31.0

Compare Source

Added

Improve ProxyHeadersMiddleware (#​2468) and (#​2231):

  • Fix the host for requests from clients running on the proxy server itself.
  • Fallback to host that was already set for empty x-forwarded-for headers.
  • Also allow specifying IP Networks as trusted hosts. This greatly simplifies deployments
    on docker swarm/Kubernetes, where the reverse proxy might have a dynamic IP.
    • This includes support for IPv6 Address/Networks.

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.6...0.31.0

v0.30.6: Version 0.30.6

Compare Source

Fixed
  • Don't warn when upgrade is not WebSocket and depedencies are installed (#​2360)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.5...0.30.6

v0.30.5: Version 0.30.5

Compare Source

Fixed
  • Don't close connection before receiving body on H11 (#​2408)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.4...0.30.5

v0.30.4: Version 0.30.4

Compare Source

Fixed
  • Close connection when h11 sets client state to MUST_CLOSE #​2375

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.3...0.30.4

v0.30.3: Version 0.30.3

Compare Source

Fixed

  • Suppress KeyboardInterrupt from CLI and programmatic usage (#​2384)
  • ClientDisconnect inherits from OSError instead of IOError (#​2393)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.2...0.30.3

v0.30.2: Version 0.30.2

Compare Source

Added

Fixed

  • Iterate subprocesses in-place on the process manager (#​2373)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.1...0.30.2

v0.30.1: Version 0.30.1

Compare Source

Fixed
  • Allow horizontal tabs \t in response header values (#​2345)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.0...0.30.1

v0.30.0: Version 0.30.0

Compare Source

Added
  • New multiprocess manager (#​2183)
  • Allow ConfigParser or a io.IO[Any] on log_config (#​1976)
Fixed
  • Suppress side effects of signal propagation (#​2317)
  • Send content-length header on 5xx (#​2304)
Deprecated
  • Deprecate the uvicorn.workers module (#​2302)

Full Changelog: https://github.com/encode/uvicorn/compare/0.29.0...0.30.0

v0.29.0: Version 0.29.0

Compare Source

Added


Full Changelog: https://github.com/encode/uvicorn/compare/0.28.1...0.29.0

v0.28.1: Version 0.28.1

Compare Source

Fixed

  • Revert raise ClientDisconnected on HTTP (#​2276)

Full Changelog: https://github.com/encode/uvicorn/compare/0.28.0...0.28.1

v0.28.0: Version 0.28.0

Compare Source

Added

  • Raise ClientDisconnected on send() when client disconnected (#​2220) 12/02/24

Fixed

  • Except AttributeError on sys.stdin.fileno() for Windows IIS10 (#​1947) 29/02/24
  • Use X-Forwarded-Proto for WebSockets scheme when the proxy provides it (#​2258) 01/03/24

Full Changelog: https://github.com/encode/uvicorn/compare/0.27.1...0.28.0

v0.27.1: Version 0.27.1

Compare Source

Fixed

  • Fix spurious h11.LocalProtocolError errors when processing pipelined requests (#​2243) 10/02/24

Full Changelog: https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1

v0.27.0.post1: Version 0.27.0.post1

Compare Source

Fixed

  • Fix nav overrides for newer version of Mkdocs Material (#​2233) 26/01/24

Full Changelog: https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1

v0.27.0: Version 0.27.0

Compare Source

Added
  • Raise ClientDisconnect(IOError) on send() when client disconnected (#​2218) 19/01/24
  • Bump ASGI WebSocket spec version to 2.4 (#​2221) 20/01/24

Full Changelog: https://github.com/encode/uvicorn/compare/0.26.0...0.27.0

v0.26.0: Version 0.26.0

Compare Source

Changed
  • Update --root-path to include the root path prefix in the full ASGI path as per the ASGI spec (#​2213) 16/01/24
  • Use __future__.annotations on some internal modules (#​2199) 16/01/24

Full Changelog: https://github.com/encode/uvicorn/compare/0.25.0...0.26.0

v0.25.0: Version 0.25.0

Compare Source

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: https://github.com/encode/uvicorn/compare/0.24.0...0.25.0

v0.24.0.post1: Version 0.24.0.post1

Compare Source

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

v0.24.0: Version 0.24.0

Compare Source

Added

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

Full Changelog: https://github.com/encode/uvicorn/compare/0.23.2...0.24.0

v0.23.2: Version 0.23.2

Compare Source

Fixed

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

Full Changelog: https://github.com/encode/uvicorn/compare/0.23.1...0.23.2

v0.23.1: Version 0.23.1

Compare Source

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

Full Changelog: https://github.com/encode/uvicorn/compare/0.23.0...0.23.1

v0.23.0: Version 0.23.0

Compare Source

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: https://github.com/encode/uvicorn/compare/0.22.0...0.23.0

v0.22.0: Version 0.22.0

Compare Source

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: https://github.com/encode/uvicorn/compare/0.21.1...0.22.0

v0.21.1: Version 0.21.1

Compare Source

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

v0.21.0: Version 0.21.0

Compare Source

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: https://github.com/encode/uvicorn/compare/0.20.0...0.21.0

v0.20.0: Version 0.20.0

Compare Source

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

v0.19.0: Version 0.19.0

Compare Source

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 the same per connection (#​1706) 19/10/22
Removed
  • Remove the --debug flag (#​1640) 14/09/22
  • Remove the DebugMiddleware (#​1697) 07/10/22

v0.18.3: Version 0.18.3

Compare Source

What's Changed

  • Remove cyclic references on HTTP implementations. (#​1604) 24/08/22
  • reload_delay default changed from None to 0.25 on uvicorn.run() and Config. None is not an acceptable value anymore. (#​1545) 02/07/22

Full Changelog: https://github.com/encode/uvicorn/compare/0.18.2...0.18.3

v0.18.2: Version 0.18.2

Compare Source

What's Changed

  • Add default log_config on uvicorn.run() #​1541 24/06/22
  • Revert logging file name modification #​1543 27/06/22

Full Changelog: https://github.com/encode/uvicorn/compare/0.18.1...0.18.2

v0.18.1: Version 0.18.1

Compare Source

Fixed
  • Use DEFAULT_MAX_INCOMPLETE_EVENT_SIZE as default to h11_max_incomplete_event_size on the CLI (#​1534) 23/06/22

Full Changelog: https://github.com/encode/uvicorn/compare/0.18.0...0.18.1

v0.18.0: Version 0.18.0

Compare Source

Added
  • The reload flag prioritizes watchfiles instead of the deprecated watchgod (#​1437) 18/06/22
  • Annotate uvicorn.run() function (#​1423) 10/05/22
  • Allow configuring max_incomplete_event_size for h11 implementation (#​1514) 22/06/22
Removed
  • Remove asgiref dependency (#​1532) 22/06/22
Fixed
  • Turn raw_path into bytes on both websockets implementations (#​1487) 16/05/22
  • Revert log exception traceback in case of invalid HTTP request (#​1518) 14/06/22
  • Set asyncio.WindowsSelectorEventLoopPolicy() when using multiple workers to avoid "WinError 87" (#​1454) 22/06/22

Full Changelog: https://github.com/encode/uvicorn/compare/0.17.6...0.18.0

v0.17.6: Version 0.17.6

Compare Source

Changed
  • Change httptools range to >=0.4.0 (#​1400) 11/03/22

v0.17.5: Version 0.17.5

Compare Source

0.17.5 - 2022-02-16
Fixed
  • Fix case where url is fragmented in httptools protocol (#​1263) 2/16/22
  • Fix WSGI middleware not to explode quadratically in the case of a larger body (#​1329) 2/16/16
Changed
  • Send HTTP 400 response for invalid request (#​1352) 2/11/22

Full Changelog: https://github.com/encode/uvicorn/compare/0.17.4...0.17.5

v0.17.4: Version 0.17.4

Compare Source

Fixed
  • Replace create_server by create_unix_server (#​1362) 04/02/22

v0.17.3: Version 0.17.3

Compare Source

Fixed
  • Drop wsproto version checking. (#​1359) 03/02/22

v0.17.2: Version 0.17.2

Compare Source

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: Version 0.17.1

Compare Source

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.post1: Version 0.17.0.post1

Compare Source

Fixed
  • Add the python_requires version specifier (#​1328) 17/01/22

v0.17.0: Version 0.17.0

Compare Source

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.16.0: Version 0.16.0

Compare Source

0.16.0 - 2021-12-08

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 forcelly shutdown the server (#​1269) 28/11/21
  • Allow app-dir parameter on the run() function (#​1271) 06/12/21

v0.15.0: Version 0.15.0

Compare Source

0.15.0 - 2021-08-13

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: Version 0.14.0

Compare Source

0.14.0 - 2021-06-01

Added
  • 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [uvicorn](https://github.com/encode/uvicorn) ([changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)) | minor | `==0.13.4` -> `==0.34.0` | --- ### Release Notes <details> <summary>encode/uvicorn (uvicorn)</summary> ### [`v0.34.0`](https://github.com/encode/uvicorn/releases/tag/0.34.0): Version 0.34.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.33.0...0.34.0) #### What's Changed - Add `content-length` to 500 response in wsproto by [@&#8203;Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2542 - Drop Python 3.8 by [@&#8203;Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2543 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.33.0...0.34.0 ### [`v0.33.0`](https://github.com/encode/uvicorn/releases/tag/0.33.0): Version 0.33.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.32.1...0.33.0) #### What's Changed - Remove WatchGod by [@&#8203;Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2536 #### New Contributors - [@&#8203;bwells](https://github.com/bwells) made their first contribution in https://github.com/encode/uvicorn/pull/2491 - [@&#8203;tback](https://github.com/tback) made their first contribution in https://github.com/encode/uvicorn/pull/2528 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.32.1...0.33.0 ### [`v0.32.1`](https://github.com/encode/uvicorn/releases/tag/0.32.1): Version 0.32.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.32.0...0.32.1) #### What's Changed - Enable httptools lenient data by [@&#8203;vvanglro](https://github.com/vvanglro) in https://github.com/encode/uvicorn/pull/2488 - Drop ASGI spec version to 2.3 on HTTP scope by [@&#8203;Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2513 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.32.0...0.32.1 ### [`v0.32.0`](https://github.com/encode/uvicorn/releases/tag/0.32.0): Version 0.32.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.31.1...0.32.0) #### Added - Officially support Python 3.13 ([#&#8203;2482](https://github.com/encode/uvicorn/issues/2482)) - Warn when `max_request_limit` is exceeded ([#&#8203;2430](https://github.com/encode/uvicorn/issues/2430)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.31.1...0.32.0 ### [`v0.31.1`](https://github.com/encode/uvicorn/releases/tag/0.31.1): Version 0.31.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.31.0...0.31.1) #### Fixed - Support WebSockets 0.13.1 [#&#8203;2471](https://github.com/encode/uvicorn/pull/2471) - Restore support for `[*]` in trusted hosts [#&#8203;2480](https://github.com/encode/uvicorn/pull/2480) - Add `PathLike[str]` type hint for `ssl_keyfile` [#&#8203;2481](https://github.com/encode/uvicorn/pull/2481) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.31.0...0.31.1 ### [`v0.31.0`](https://github.com/encode/uvicorn/releases/tag/0.31.0): Version 0.31.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.6...0.31.0) ##### Added Improve `ProxyHeadersMiddleware` ([#&#8203;2468](https://github.com/encode/uvicorn/issues/2468)) and ([#&#8203;2231](https://github.com/encode/uvicorn/issues/2231)): - Fix the host for requests from clients running on the proxy server itself. - Fallback to host that was already set for empty x-forwarded-for headers. - Also allow specifying IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/Kubernetes, where the reverse proxy might have a dynamic IP. - This includes support for IPv6 Address/Networks. *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.6...0.31.0 ### [`v0.30.6`](https://github.com/encode/uvicorn/releases/tag/0.30.6): Version 0.30.6 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.5...0.30.6) ##### Fixed - Don't warn when upgrade is not WebSocket and depedencies are installed ([#&#8203;2360](https://github.com/encode/uvicorn/issues/2360)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.5...0.30.6 ### [`v0.30.5`](https://github.com/encode/uvicorn/releases/tag/0.30.5): Version 0.30.5 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.4...0.30.5) ##### Fixed - Don't close connection before receiving body on H11 ([#&#8203;2408](https://github.com/encode/uvicorn/issues/2408)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.4...0.30.5 ### [`v0.30.4`](https://github.com/encode/uvicorn/releases/tag/0.30.4): Version 0.30.4 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.3...0.30.4) ##### Fixed - Close connection when `h11` sets client state to `MUST_CLOSE` [#&#8203;2375](https://github.com/encode/uvicorn/pull/2375) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.3...0.30.4 ### [`v0.30.3`](https://github.com/encode/uvicorn/releases/tag/0.30.3): Version 0.30.3 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.2...0.30.3) #### Fixed - Suppress `KeyboardInterrupt` from CLI and programmatic usage ([#&#8203;2384](https://github.com/encode/uvicorn/issues/2384)) - `ClientDisconnect` inherits from `OSError` instead of `IOError` ([#&#8203;2393](https://github.com/encode/uvicorn/issues/2393)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.2...0.30.3 ### [`v0.30.2`](https://github.com/encode/uvicorn/releases/tag/0.30.2): Version 0.30.2 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.1...0.30.2) #### Added - Add `reason` support to [`websocket.disconnect`](https://asgi.readthedocs.io/en/latest/specs/www.html#disconnect-receive-event-ws) event ([#&#8203;2324](https://github.com/encode/uvicorn/issues/2324)) #### Fixed - Iterate subprocesses in-place on the process manager ([#&#8203;2373](https://github.com/encode/uvicorn/issues/2373)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.1...0.30.2 ### [`v0.30.1`](https://github.com/encode/uvicorn/releases/tag/0.30.1): Version 0.30.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.30.0...0.30.1) ##### Fixed - Allow horizontal tabs `\t` in response header values ([#&#8203;2345](https://github.com/encode/uvicorn/issues/2345)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.30.0...0.30.1 ### [`v0.30.0`](https://github.com/encode/uvicorn/releases/tag/0.30.0): Version 0.30.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.29.0...0.30.0) ##### Added - New multiprocess manager ([#&#8203;2183](https://github.com/encode/uvicorn/issues/2183)) - Allow `ConfigParser` or a `io.IO[Any]` on `log_config` ([#&#8203;1976](https://github.com/encode/uvicorn/issues/1976)) ##### Fixed - Suppress side effects of signal propagation ([#&#8203;2317](https://github.com/encode/uvicorn/issues/2317)) - Send `content-length` header on 5xx ([#&#8203;2304](https://github.com/encode/uvicorn/issues/2304)) ##### Deprecated - Deprecate the `uvicorn.workers` module ([#&#8203;2302](https://github.com/encode/uvicorn/issues/2302)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.29.0...0.30.0 ### [`v0.29.0`](https://github.com/encode/uvicorn/releases/tag/0.29.0): Version 0.29.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.28.1...0.29.0) #### Added - Cooperative signal handling by [@&#8203;maxfischer2781](https://github.com/maxfischer2781) in https://github.com/encode/uvicorn/pull/1600 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.28.1...0.29.0 ### [`v0.28.1`](https://github.com/encode/uvicorn/releases/tag/0.28.1): Version 0.28.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.28.0...0.28.1) #### Fixed - Revert raise `ClientDisconnected` on HTTP ([#&#8203;2276](https://github.com/encode/uvicorn/issues/2276)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.28.0...0.28.1 ### [`v0.28.0`](https://github.com/encode/uvicorn/releases/tag/0.28.0): Version 0.28.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.27.1...0.28.0) #### Added - Raise `ClientDisconnected` on `send()` when client disconnected ([#&#8203;2220](https://github.com/encode/uvicorn/issues/2220)) 12/02/24 #### Fixed - Except `AttributeError` on `sys.stdin.fileno()` for Windows IIS10 ([#&#8203;1947](https://github.com/encode/uvicorn/issues/1947)) 29/02/24 - Use `X-Forwarded-Proto` for WebSockets scheme when the proxy provides it ([#&#8203;2258](https://github.com/encode/uvicorn/issues/2258)) 01/03/24 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.27.1...0.28.0 ### [`v0.27.1`](https://github.com/encode/uvicorn/releases/tag/0.27.1): Version 0.27.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1) #### Fixed - Fix spurious `h11.LocalProtocolError` errors when processing pipelined requests ([#&#8203;2243](https://github.com/encode/uvicorn/issues/2243)) 10/02/24 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1 ### [`v0.27.0.post1`](https://github.com/encode/uvicorn/releases/tag/0.27.0.post1): Version 0.27.0.post1 [Compare Source](https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1) #### Fixed - Fix nav overrides for newer version of Mkdocs Material ([#&#8203;2233](https://github.com/encode/uvicorn/issues/2233)) 26/01/24 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1 ### [`v0.27.0`](https://github.com/encode/uvicorn/releases/tag/0.27.0): Version 0.27.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.26.0...0.27.0) ##### Added - Raise `ClientDisconnect(IOError)` on `send()` when client disconnected ([#&#8203;2218](https://github.com/encode/uvicorn/issues/2218)) 19/01/24 - Bump ASGI WebSocket spec version to 2.4 ([#&#8203;2221](https://github.com/encode/uvicorn/issues/2221)) 20/01/24 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.26.0...0.27.0 ### [`v0.26.0`](https://github.com/encode/uvicorn/releases/tag/0.26.0): Version 0.26.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.25.0...0.26.0) ##### Changed - Update `--root-path` to include the root path prefix in the full ASGI `path` as per the ASGI spec ([#&#8203;2213](https://github.com/encode/uvicorn/issues/2213)) 16/01/24 - Use `__future__.annotations` on some internal modules ([#&#8203;2199](https://github.com/encode/uvicorn/issues/2199)) 16/01/24 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.25.0...0.26.0 ### [`v0.25.0`](https://github.com/encode/uvicorn/releases/tag/0.25.0): Version 0.25.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.24.0.post1...0.25.0) #### Added - Support the WebSocket Denial Response ASGI extension ([#&#8203;1916](https://github.com/encode/uvicorn/issues/1916)) 17/12/23 #### Fixed - Allow explicit hidden file paths on `--reload-include` ([#&#8203;2176](https://github.com/encode/uvicorn/issues/2176)) 08/12/23 - Properly annotate `uvicorn.run()` ([#&#8203;2158](https://github.com/encode/uvicorn/issues/2158)) 22/11/23 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.24.0...0.25.0 ### [`v0.24.0.post1`](https://github.com/encode/uvicorn/releases/tag/0.24.0.post1): Version 0.24.0.post1 [Compare Source](https://github.com/encode/uvicorn/compare/0.24.0...0.24.0.post1) ##### Fixed - Revert mkdocs-material from 9.1.21 to 9.2.6 ([#&#8203;2148](https://github.com/encode/uvicorn/issues/2148)) 05/11/23 ### [`v0.24.0`](https://github.com/encode/uvicorn/releases/tag/0.24.0): Version 0.24.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.23.2...0.24.0) #### Added - Support Python 3.12 ([#&#8203;2145](https://github.com/encode/uvicorn/issues/2145)) 04/11/23 - Allow setting `app` via environment variable `UVICORN_APP` ([#&#8203;2106](https://github.com/encode/uvicorn/issues/2106)) *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.23.2...0.24.0 ### [`v0.23.2`](https://github.com/encode/uvicorn/releases/tag/0.23.2): Version 0.23.2 [Compare Source](https://github.com/encode/uvicorn/compare/0.23.1...0.23.2) #### Fixed - Maintain the same behavior of `websockets` from 10.4 on 11.0 ([#&#8203;2061](https://github.com/encode/uvicorn/issues/2061)) 30/07/23 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.23.1...0.23.2 ### [`v0.23.1`](https://github.com/encode/uvicorn/releases/tag/0.23.1): Version 0.23.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.23.0...0.23.1) ##### Fixed - Add `typing_extensions` for Python 3.10 and lower ([#&#8203;2053](https://github.com/encode/uvicorn/issues/2053)) 18/07/23 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.23.0...0.23.1 ### [`v0.23.0`](https://github.com/encode/uvicorn/releases/tag/0.23.0): Version 0.23.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.22.0...0.23.0) #### Added - Add `--ws-max-queue` parameter WebSockets ([#&#8203;2033](https://github.com/encode/uvicorn/issues/2033)) 10/07/23 #### Removed - Drop support for Python 3.7 ([#&#8203;1996](https://github.com/encode/uvicorn/issues/1996)) 19/06/23 - Remove `asgiref` as typing dependency ([#&#8203;1999](https://github.com/encode/uvicorn/issues/1999)) 08/06/23 #### Fixed - Set `scope["scheme"]` to `ws` or `wss` instead of `http` or `https` on `ProxyHeadersMiddleware` for WebSockets ([#&#8203;2043](https://github.com/encode/uvicorn/issues/2043)) 12/07/23 #### Changed - Raise `ImportError` on circular import ([#&#8203;2040](https://github.com/encode/uvicorn/issues/2040)) 09/07/23 - Use `logger.getEffectiveLevel()` instead of `logger.level` to check if log level is `TRACE` ([#&#8203;1966](https://github.com/encode/uvicorn/issues/1966)) 01/06/23 *** **Full Changelog**: https://github.com/encode/uvicorn/compare/0.22.0...0.23.0 ### [`v0.22.0`](https://github.com/encode/uvicorn/releases/tag/0.22.0): Version 0.22.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.21.1...0.22.0) ##### Added - Add `--timeout-graceful-shutdown` parameter ([#&#8203;1950](https://github.com/encode/uvicorn/issues/1950)) - Handle `SIGBREAK` on Windows ([#&#8203;1909](https://github.com/encode/uvicorn/issues/1909)) ##### Fixed - Shutdown event is now being triggered on Windows when using hot reload ([#&#8203;1584](https://github.com/encode/uvicorn/issues/1584)) - `--reload-delay` is effectively used on the `watchfiles` reloader ([#&#8203;1930](https://github.com/encode/uvicorn/issues/1930)) **Full Changelog**: https://github.com/encode/uvicorn/compare/0.21.1...0.22.0 ### [`v0.21.1`](https://github.com/encode/uvicorn/releases/tag/0.21.1): Version 0.21.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.21.0...0.21.1) ##### Fixed - Reset lifespan state on each request ([#&#8203;1903](https://github.com/encode/uvicorn/issues/1903)) 16/03/23 ### [`v0.21.0`](https://github.com/encode/uvicorn/releases/tag/0.21.0): Version 0.21.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.20.0...0.21.0) ##### Added - Introduce lifespan state ([#&#8203;1818](https://github.com/encode/uvicorn/issues/1818)) 05/03/23 - Allow headers to be sent as iterable on H11 implementation ([#&#8203;1782](https://github.com/encode/uvicorn/issues/1782)) 27/11/22 - Improve discoverability when --port=0 is used ([#&#8203;1890](https://github.com/encode/uvicorn/issues/1890)) 09/03/23 ##### Changed - Avoid importing `h11` and `pyyaml` when not needed to improve import time ([#&#8203;1846](https://github.com/encode/uvicorn/issues/1846)) 07/02/23 - Replace current native `WSGIMiddleware` implementation by `a2wsgi` ([#&#8203;1825](https://github.com/encode/uvicorn/issues/1825)) 16/01/23 - Change default `--app-dir` from "." (dot) to "" (empty string) ([#&#8203;1835](https://github.com/encode/uvicorn/issues/1835)) 06/01/23 ##### Fixed - Send code 1012 on shutdown for WebSockets ([#&#8203;1816](https://github.com/encode/uvicorn/issues/1816)) 06/01/23 - Use `surrogateescape` to encode headers on `websockets` implementation ([#&#8203;1005](https://github.com/encode/uvicorn/issues/1005)) 12/12/22 - Fix warning message on reload failure ([#&#8203;1784](https://github.com/encode/uvicorn/issues/1784)) 29/11/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.20.0...0.21.0 ### [`v0.20.0`](https://github.com/encode/uvicorn/releases/tag/0.20.0): Version 0.20.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.19.0...0.20.0) ##### Added - Check if handshake is completed before sending frame on `wsproto` shutdown ([#&#8203;1737](https://github.com/encode/uvicorn/issues/1737)) - Add default headers to WebSockets implementations ([#&#8203;1606](https://github.com/encode/uvicorn/issues/1606) & [#&#8203;1747](https://github.com/encode/uvicorn/issues/1747)) 28/10/22 - Warn user when `reload` and `workers` flag are used together ([#&#8203;1731](https://github.com/encode/uvicorn/issues/1731)) 31/10/22 ##### Fixed - Use correct `WebSocket` error codes on `close` ([#&#8203;1753](https://github.com/encode/uvicorn/issues/1753)) 20/11/22 - Send disconnect event on connection lost for `wsproto` ([#&#8203;996](https://github.com/encode/uvicorn/issues/996)) 29/10/22 - Add `SIGQUIT` handler to `UvicornWorker` ([#&#8203;1710](https://github.com/encode/uvicorn/issues/1710)) 01/11/22 - Fix crash on exist with "--uds" if socket doesn't exist ([#&#8203;1725](https://github.com/encode/uvicorn/issues/1725)) 27/10/22 - Annotate `CONFIG_KWARGS` in `UvicornWorker` class ([#&#8203;1746](https://github.com/encode/uvicorn/issues/1746)) 31/10/22 ##### Removed - Remove conditional on `RemoteProtocolError.event_hint` on `wsproto` ([#&#8203;1486](https://github.com/encode/uvicorn/issues/1486)) 31/10/22 - Remove unused `handle_no_connect` on `wsproto` implementation ([#&#8203;1759](https://github.com/encode/uvicorn/issues/1759)) 17/11/22 ### [`v0.19.0`](https://github.com/encode/uvicorn/releases/tag/0.19.0): Version 0.19.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.18.3...0.19.0) ##### Added - Support Python 3.11 ([#&#8203;1652](https://github.com/encode/uvicorn/issues/1652)) 16/09/22 - Bump minimal `httptools` version to `0.5.0` ([#&#8203;1645](https://github.com/encode/uvicorn/issues/1645)) 13/09/22 - Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade ([#&#8203;1661](https://github.com/encode/uvicorn/issues/1661)) 19/10/22 - Add `py.typed` to comply with PEP 561 ([#&#8203;1687](https://github.com/encode/uvicorn/issues/1687)) 07/10/22 ##### Fixed - Set `propagate` to `False` on "uvicorn" logger ([#&#8203;1288](https://github.com/encode/uvicorn/issues/1288)) 08/10/22 - USR1 signal is now handled correctly on `UvicornWorker`. ([#&#8203;1565](https://github.com/encode/uvicorn/issues/1565)) 26/08/22 - Use path with query string on `WebSockets` logs ([#&#8203;1385](https://github.com/encode/uvicorn/issues/1385)) 11/09/22 - Fix behavior on which "Date" headers were the same per connection ([#&#8203;1706](https://github.com/encode/uvicorn/issues/1706)) 19/10/22 ##### Removed - Remove the `--debug` flag ([#&#8203;1640](https://github.com/encode/uvicorn/issues/1640)) 14/09/22 - Remove the `DebugMiddleware` ([#&#8203;1697](https://github.com/encode/uvicorn/issues/1697)) 07/10/22 ### [`v0.18.3`](https://github.com/encode/uvicorn/releases/tag/0.18.3): Version 0.18.3 [Compare Source](https://github.com/encode/uvicorn/compare/0.18.2...0.18.3) #### What's Changed - Remove cyclic references on HTTP implementations. ([#&#8203;1604](https://github.com/encode/uvicorn/issues/1604)) 24/08/22 - `reload_delay` default changed from `None` to `0.25` on `uvicorn.run()` and `Config`. `None` is not an acceptable value anymore. ([#&#8203;1545](https://github.com/encode/uvicorn/issues/1545)) 02/07/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.18.2...0.18.3 ### [`v0.18.2`](https://github.com/encode/uvicorn/releases/tag/0.18.2): Version 0.18.2 [Compare Source](https://github.com/encode/uvicorn/compare/0.18.1...0.18.2) #### What's Changed - Add default `log_config` on `uvicorn.run()` [#&#8203;1541](https://github.com/encode/uvicorn/issues/1541) 24/06/22 - Revert `logging` file name modification [#&#8203;1543](https://github.com/encode/uvicorn/issues/1543) 27/06/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.18.1...0.18.2 ### [`v0.18.1`](https://github.com/encode/uvicorn/releases/tag/0.18.1): Version 0.18.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.18.0...0.18.1) ##### Fixed - Use `DEFAULT_MAX_INCOMPLETE_EVENT_SIZE` as default to `h11_max_incomplete_event_size` on the CLI ([#&#8203;1534](https://github.com/encode/uvicorn/issues/1534)) 23/06/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.18.0...0.18.1 ### [`v0.18.0`](https://github.com/encode/uvicorn/releases/tag/0.18.0): Version 0.18.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.6...0.18.0) ##### Added - The `reload` flag prioritizes `watchfiles` instead of the deprecated `watchgod` ([#&#8203;1437](https://github.com/encode/uvicorn/issues/1437)) 18/06/22 - Annotate `uvicorn.run()` function ([#&#8203;1423](https://github.com/encode/uvicorn/issues/1423)) 10/05/22 - Allow configuring `max_incomplete_event_size` for `h11` implementation ([#&#8203;1514](https://github.com/encode/uvicorn/issues/1514)) 22/06/22 ##### Removed - Remove `asgiref` dependency ([#&#8203;1532](https://github.com/encode/uvicorn/issues/1532)) 22/06/22 ##### Fixed - Turn `raw_path` into bytes on both websockets implementations ([#&#8203;1487](https://github.com/encode/uvicorn/issues/1487)) 16/05/22 - Revert log exception traceback in case of invalid HTTP request ([#&#8203;1518](https://github.com/encode/uvicorn/issues/1518)) 14/06/22 - Set `asyncio.WindowsSelectorEventLoopPolicy()` when using multiple workers to avoid "WinError 87" ([#&#8203;1454](https://github.com/encode/uvicorn/issues/1454)) 22/06/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.17.6...0.18.0 ### [`v0.17.6`](https://github.com/encode/uvicorn/releases/tag/0.17.6): Version 0.17.6 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.5...0.17.6) ##### Changed - Change `httptools` range to `>=0.4.0` ([#&#8203;1400](https://github.com/encode/uvicorn/issues/1400)) 11/03/22 ### [`v0.17.5`](https://github.com/encode/uvicorn/releases/tag/0.17.5): Version 0.17.5 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.4...0.17.5) ##### 0.17.5 - 2022-02-16 ##### Fixed - Fix case where url is fragmented in httptools protocol ([#&#8203;1263](https://github.com/encode/uvicorn/issues/1263)) 2/16/22 - Fix WSGI middleware not to explode quadratically in the case of a larger body ([#&#8203;1329](https://github.com/encode/uvicorn/issues/1329)) 2/16/16 ##### Changed - Send HTTP 400 response for invalid request ([#&#8203;1352](https://github.com/encode/uvicorn/issues/1352)) 2/11/22 **Full Changelog**: https://github.com/encode/uvicorn/compare/0.17.4...0.17.5 ### [`v0.17.4`](https://github.com/encode/uvicorn/releases/tag/0.17.4): Version 0.17.4 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.3...0.17.4) ##### Fixed - Replace `create_server` by `create_unix_server` ([#&#8203;1362](https://github.com/encode/uvicorn/issues/1362)) 04/02/22 ### [`v0.17.3`](https://github.com/encode/uvicorn/releases/tag/0.17.3): Version 0.17.3 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.2...0.17.3) ##### Fixed - Drop wsproto version checking. ([#&#8203;1359](https://github.com/encode/uvicorn/issues/1359)) 03/02/22 ### [`v0.17.2`](https://github.com/encode/uvicorn/releases/tag/0.17.2): Version 0.17.2 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.1...0.17.2) ##### Fixed - Revert [#&#8203;1332](https://github.com/encode/uvicorn/issues/1332). While trying to solve the memory leak, it introduced an issue ([#&#8203;1345](https://github.com/encode/uvicorn/issues/1345)) when the server receives big chunks of data using the `httptools` implementation. ([#&#8203;1354](https://github.com/encode/uvicorn/issues/1354)) 03/02/22 - Revert stream interface changes. This was introduced on 0.14.0, and caused an issue ([#&#8203;1226](https://github.com/encode/uvicorn/issues/1226)), which caused a memory leak when sending TCP pings. ([#&#8203;1355](https://github.com/encode/uvicorn/issues/1355)) 03/02/22 - Fix wsproto version check expression ([#&#8203;1342](https://github.com/encode/uvicorn/issues/1342)) 28/01/22 ### [`v0.17.1`](https://github.com/encode/uvicorn/releases/tag/0.17.1): Version 0.17.1 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.0.post1...0.17.1) ##### Fixed - Move all data handling logic to protocol and ensure connection is closed. ([#&#8203;1332](https://github.com/encode/uvicorn/issues/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. ([#&#8203;1337](https://github.com/encode/uvicorn/issues/1337)) 25/01/22 ### [`v0.17.0.post1`](https://github.com/encode/uvicorn/releases/tag/0.17.0.post1): Version 0.17.0.post1 [Compare Source](https://github.com/encode/uvicorn/compare/0.17.0...0.17.0.post1) ##### Fixed - Add the `python_requires` version specifier ([#&#8203;1328](https://github.com/encode/uvicorn/issues/1328)) 17/01/22 ### [`v0.17.0`](https://github.com/encode/uvicorn/releases/tag/0.17.0): Version 0.17.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.16.0...0.17.0) ##### Added - Allow configurable websocket per-message-deflate setting ([#&#8203;1300](https://github.com/encode/uvicorn/issues/1300)) 29/12/21 - Support extra_headers for WS accept message ([#&#8203;1293](https://github.com/encode/uvicorn/issues/1293)) 06/01/22 - Add missing http version on websockets scope ([#&#8203;1309](https://github.com/encode/uvicorn/issues/1309)) 08/01/22 ##### Fixed/Removed - Drop Python 3.6 support ([#&#8203;1261](https://github.com/encode/uvicorn/issues/1261)) 06/01/22 - Fix reload process behavior when exception is raised ([#&#8203;1313](https://github.com/encode/uvicorn/issues/1313)) 11/01/22 - Remove `root_path` from logs ([#&#8203;1294](https://github.com/encode/uvicorn/issues/1294)) 25/12/21 ### [`v0.16.0`](https://github.com/encode/uvicorn/releases/tag/0.16.0): Version 0.16.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.15.0...0.16.0) #### 0.16.0 - 2021-12-08 ##### Added - Enable read of uvicorn settings from environment variables ([#&#8203;1279](https://github.com/encode/uvicorn/issues/1279)) 06/12/21 - Bump `websockets` to 10.0. ([#&#8203;1180](https://github.com/encode/uvicorn/issues/1180)) 13/09/21 - Ensure non-zero exit code when startup fails ([#&#8203;1278](https://github.com/encode/uvicorn/issues/1278)) 06/12/21 - Increase `httptools` version range from "==0.2.\*" to ">=0.2.0,<0.4.0". ([#&#8203;1243](https://github.com/encode/uvicorn/issues/1243)) 8/11/21 - Override default asyncio event loop with reload only on Windows ([#&#8203;1257](https://github.com/encode/uvicorn/issues/1257)) 24/11/21 - Replace `HttpToolsProtocol.pipeline` type from `list` to `deque`. ([#&#8203;1213](https://github.com/encode/uvicorn/issues/1213)) 10/10/21 - Replace `WSGIResponder.send_queue` type from `list` to `deque`. ([#&#8203;1214](https://github.com/encode/uvicorn/issues/1214)) 10/10/21 ##### Fixed - Main process exit after startup failure on reloader classes ([#&#8203;1177](https://github.com/encode/uvicorn/issues/1177)) 30/09/21 - Add explicit casting on click options ([#&#8203;1217](https://github.com/encode/uvicorn/issues/1217)) 11/10/21 - Allow WebSocket close event to receive reason being None from ASGI app. ([#&#8203;1259](https://github.com/encode/uvicorn/issues/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. ([#&#8203;1252](https://github.com/encode/uvicorn/issues/1252)) 25/11/21 - The option `--reload-dirs` was splitting a string into single character directories. ([#&#8203;1267](https://github.com/encode/uvicorn/issues/1267)) 25/11/21 - Only second SIGINT is able to forcelly shutdown the server ([#&#8203;1269](https://github.com/encode/uvicorn/issues/1269)) 28/11/21 - Allow app-dir parameter on the run() function ([#&#8203;1271](https://github.com/encode/uvicorn/issues/1271)) 06/12/21 ### [`v0.15.0`](https://github.com/encode/uvicorn/releases/tag/0.15.0): Version 0.15.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.14.0...0.15.0) #### 0.15.0 - 2021-08-13 ##### Added - Change reload to be configurable with glob patterns. Currently only `.py` files are watched, which is different from the previous default behavior. ([#&#8203;820](https://github.com/encode/uvicorn/issues/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`. ([#&#8203;1070](https://github.com/encode/uvicorn/issues/1070)) 30/07/21 - Exit with status 3 when worker starts failed ([#&#8203;1077](https://github.com/encode/uvicorn/issues/1077)) 22/06/21 - Add option to set websocket ping interval and timeout ([#&#8203;1048](https://github.com/encode/uvicorn/issues/1048)) 09/06/21 - Adapt bind_socket to make it usable with multiple processes ([#&#8203;1009](https://github.com/encode/uvicorn/issues/1009)) 21/06/21 - Add existence check to the reload directory(ies) ([#&#8203;1089](https://github.com/encode/uvicorn/issues/1089)) 21/06/21 - Add missing trace log for websocket protocols ([#&#8203;1083](https://github.com/encode/uvicorn/issues/1083)) 19/06/21 - Support disabling default Server and Date headers ([#&#8203;818](https://github.com/encode/uvicorn/issues/818)) 11/06/21 ##### Changed - Add PEP440 compliant version of click ([#&#8203;1099](https://github.com/encode/uvicorn/issues/1099)) 29/06/21 - Bump asgiref to 3.4.0 ([#&#8203;1100](https://github.com/encode/uvicorn/issues/1100)) 29/06/21 ##### Fixed - When receiving a `SIGTERM` supervisors now terminate their processes before joining them ([#&#8203;1069](https://github.com/encode/uvicorn/issues/1069)) 30/07/21 - Fix the need of `httptools` on minimal installation ([#&#8203;1135](https://github.com/encode/uvicorn/issues/1135)) 30/07/21 - Fix ping parameters annotation in Config class ([#&#8203;1127](https://github.com/encode/uvicorn/issues/1127)) 19/07/21 ### [`v0.14.0`](https://github.com/encode/uvicorn/releases/tag/0.14.0): Version 0.14.0 [Compare Source](https://github.com/encode/uvicorn/compare/0.13.4...0.14.0) #### 0.14.0 - 2021-06-01 ##### Added - Defaults ws max_size on server to 16MB ([#&#8203;995](https://github.com/encode/uvicorn/issues/995)) 5/29/21 - Improve user feedback if no ws library installed ([#&#8203;926](https://github.com/encode/uvicorn/issues/926) and [#&#8203;1023](https://github.com/encode/uvicorn/issues/1023)) 2/27/21 - Support 'reason' field in 'websocket.close' messages ([#&#8203;957](https://github.com/encode/uvicorn/issues/957)) 2/24/21 - Implemented lifespan.shutdown.failed ([#&#8203;755](https://github.com/encode/uvicorn/issues/755)) 2/25/21 ##### Changed - Upgraded websockets requirements ([#&#8203;1065](https://github.com/encode/uvicorn/issues/1065)) 6/1/21 - Switch to asyncio streams API ([#&#8203;869](https://github.com/encode/uvicorn/issues/869)) 5/29/21 - Update httptools from 0.1.\* to 0.2.\* ([#&#8203;1024](https://github.com/encode/uvicorn/issues/1024)) 5/28/21 - Allow Click 8.0, refs [#&#8203;1016](https://github.com/encode/uvicorn/issues/1016) ([#&#8203;1042](https://github.com/encode/uvicorn/issues/1042)) 5/23/21 - Add search for a trusted host in ProxyHeadersMiddleware ([#&#8203;591](https://github.com/encode/uvicorn/issues/591)) 3/13/21 - Up wsproto to 1.0.0 ([#&#8203;892](https://github.com/encode/uvicorn/issues/892)) 2/25/21 ##### Fixed - Force reload_dirs to be a list ([#&#8203;978](https://github.com/encode/uvicorn/issues/978)) 6/1/21 - Fix gunicorn worker not running if extras not installed ([#&#8203;901](https://github.com/encode/uvicorn/issues/901)) 5/28/21 - Fix socket port 0 ([#&#8203;975](https://github.com/encode/uvicorn/issues/975)) 3/5/21 - Prevent garbage collection of main lifespan task ([#&#8203;972](https://github.com/encode/uvicorn/issues/972)) 3/4/21 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC40NS4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjgwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
renovate force-pushed renovate/uvicorn-0.x from c695f614cf to 098a05343e 2024-10-13 00:41:58 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.31.0 to Update dependency uvicorn to v0.31.1 2024-10-13 00:42:01 +00:00
renovate force-pushed renovate/uvicorn-0.x from 098a05343e to 11ab5375be 2024-10-20 00:58:37 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.31.1 to Update dependency uvicorn to v0.32.0 2024-10-20 00:58:39 +00:00
renovate force-pushed renovate/uvicorn-0.x from 11ab5375be to 5a6f23b71f 2024-11-24 01:18:42 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.32.0 to Update dependency uvicorn to v0.32.1 2024-11-24 01:18:45 +00:00
renovate force-pushed renovate/uvicorn-0.x from 5a6f23b71f to ade2949622 2024-12-15 01:28:31 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.32.1 to Update dependency uvicorn to v0.33.0 2024-12-15 01:28:33 +00:00
renovate force-pushed renovate/uvicorn-0.x from ade2949622 to e008598185 2024-12-22 01:29:03 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.33.0 to Update dependency uvicorn to v0.34.0 2024-12-22 01:29:06 +00:00
renovate changed title from Update dependency uvicorn to v0.34.0 to chore(deps): update dependency uvicorn to v0.34.0 2025-02-08 08:34:03 +00:00
renovate changed title from chore(deps): update dependency uvicorn to v0.34.0 to chore(deps): update dependency uvicorn to v0.34.0 - autoclosed 2025-02-09 04:02:34 +00:00
renovate closed this pull request 2025-02-09 04:02:35 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: training/workshop-image-improvement#8