Update dependency uvicorn to v0.30.6 #3

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.30.6

Release Notes

encode/uvicorn (uvicorn)

v0.30.6

Compare Source

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

v0.30.5

Compare Source

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

v0.30.4

Compare Source

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

v0.30.3

Compare Source

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

v0.30.2

Compare Source

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

v0.30.1

Compare Source

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

v0.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)

v0.29.0

Compare Source

Added
  • Cooperative signal handling (#​1600)

v0.28.1

Compare Source

Fixed
  • Revert raise ClientDisconnected on HTTP (#​2276)

v0.28.0

Compare Source

Added
  • Raise ClientDisconnected on send() when client disconnected (#​2220)
Fixed
  • Except AttributeError on sys.stdin.fileno() for Windows IIS10 (#​1947)
  • Use X-Forwarded-Proto for WebSockets scheme when the proxy provides it (#​2258)

v0.27.1

Compare Source

  • Fix spurious LocalProtocolError errors when processing pipelined requests (#​2243)

v0.27.0.post1

Compare Source

Fixed
  • Fix nav overrides for newer version of Mkdocs Material (#​2233)

v0.27.0

Compare Source

Fixed
  • Fix nav overrides for newer version of Mkdocs Material (#​2233)

v0.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)
  • Use __future__.annotations on some internal modules (#​2199)

v0.25.0

Compare Source

Added
  • Support the WebSocket Denial Response ASGI extension (#​1916)
Fixed
  • Allow explicit hidden file paths on --reload-include (#​2176)
  • Properly annotate uvicorn.run() (#​2158)

v0.24.0.post1

Compare Source

Fixed
  • Revert mkdocs-material from 9.1.21 to 9.2.6 (#​2148)

v0.24.0

Compare Source

Fixed
  • Revert mkdocs-material from 9.1.21 to 9.2.6 (#​2148)

v0.23.2

Compare Source

Fixed
  • Maintain the same behavior of websockets from 10.4 on 11.0 (#​2061)

v0.23.1

Compare Source

Fixed
  • Add typing_extensions for Python 3.10 and lower (#​2053)

v0.23.0

Compare Source

Added
  • Add --ws-max-queue parameter WebSockets (#​2033)
Removed
  • Drop support for Python 3.7 (#​1996)
  • Remove asgiref as typing dependency (#​1999)
Fixed
  • Set scope["scheme"] to ws or wss instead of http or https on ProxyHeadersMiddleware for WebSockets (#​2043)
Changed
  • Raise ImportError on circular import (#​2040)
  • Use logger.getEffectiveLevel() instead of logger.level to check if log level is TRACE (#​1966)

v0.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)

v0.21.1

Compare Source

Fixed
  • Reset lifespan state on each request (#​1903)

v0.21.0

Compare Source

Added
  • Introduce lifespan state (#​1818)
  • Allow headers to be sent as iterables on H11 implementation (#​1782)
  • Improve discoverability when --port=0 is used (#​1890)
Changed
  • Avoid importing h11 and pyyaml when not needed to improve import time (#​1846)
  • Replace current native WSGIMiddleware implementation by a2wsgi (#​1825)
  • Change default --app-dir from "." (dot) to "" (empty string) (#​1835)
Fixed
  • Send code 1012 on shutdown for WebSockets (#​1816)
  • Use surrogateescape to encode headers on websockets implementation (#​1005)
  • Fix warning message on reload failure (#​1784)

v0.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)
  • Warn user when reload and workers flag are used together (#​1731)
Fixed
  • Use correct WebSocket error codes on close (#​1753)
  • Send disconnect event on connection lost for wsproto (#​996)
  • Add SIGQUIT handler to UvicornWorker (#​1710)
  • Fix crash on exist with "--uds" if socket doesn't exist (#​1725)
  • Annotate CONFIG_KWARGS in UvicornWorker class (#​1746)
Removed
  • Remove conditional on RemoteProtocolError.event_hint on wsproto (#​1486)
  • Remove unused handle_no_connect on wsproto implementation (#​1759)

v0.19.0

Compare Source

Added
  • Support Python 3.11 (#​1652)
  • Bump minimal httptools version to 0.5.0 (#​1645)
  • Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade (#​1661)
  • Add py.typed to comply with PEP 561 (#​1687)
Fixed
  • Set propagate to False on "uvicorn" logger (#​1288)
  • USR1 signal is now handled correctly on UvicornWorker. (#​1565)
  • Use path with query string on WebSockets logs (#​1385)
  • Fix behavior on which "Date" headers were not updated on the same connection (#​1706)
Removed

v0.18.3

Compare Source

Fixed
  • Remove cyclic references on HTTP implementations. (#​1604)
Changed
  • reload_delay default changed from None to 0.25 on uvicorn.run() and Config. None is not an acceptable value anymore. (#​1545)

v0.18.2

Compare Source

Fixed
  • Add default log_config on uvicorn.run() (#​1541)
  • Revert logging file name modification (#​1543)

v0.18.1

Compare Source

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

v0.18.0

Compare Source

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

v0.17.6

Compare Source

Changed
  • Change httptools range to >=0.4.0 (#​1400)

v0.17.5

Compare Source

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

v0.17.4

Compare Source

Fixed
  • Replace create_server by create_unix_server (#​1362)

v0.17.3

Compare Source

Fixed
  • Drop wsproto version checking. (#​1359)

v0.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)
  • 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)
  • Fix wsproto version check expression (#​1342)

v0.17.1

Compare Source

Fixed
  • Move all data handling logic to protocol and ensure connection is closed. (#​1332)
  • Change spec_version field from "2.1" to "2.3", as Uvicorn is compliant with that version of the ASGI specifications. (#​1337)

v0.17.0.post1

Compare Source

Fixed
  • Add the python_requires version specifier (#​1328)

v0.17.0

Compare Source

Fixed
  • Add the python_requires version specifier (#​1328)

v0.16.0

Compare Source

Added
  • Enable read of uvicorn settings from environment variables (#​1279)
  • Bump websockets to 10.0. (#​1180)
  • Ensure non-zero exit code when startup fails (#​1278)
  • Increase httptools version range from "==0.2.*" to ">=0.2.0,<0.4.0". (#​1243)
  • Override default asyncio event loop with reload only on Windows (#​1257)
  • Replace HttpToolsProtocol.pipeline type from list to deque. (#​1213)
  • Replace WSGIResponder.send_queue type from list to deque. (#​1214)
Fixed
  • Main process exit after startup failure on reloader classes (#​1177)
  • Add explicit casting on click options (#​1217)
  • Allow WebSocket close event to receive reason being None from ASGI app. (#​1259)
  • 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)
  • The option --reload-dirs was splitting a string into single character directories. (#​1267)
  • Only second SIGINT is able to forcefully shutdown the server (#​1269)
  • Allow app-dir parameter on the run() function (#​1271)

v0.15.0

Compare Source

Added
  • Change reload to be configurable with glob patterns. Currently only .py files are watched, which is different from the previous default behavior. (#​820)
  • 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)
  • Exit with status 3 when worker starts failed (#​1077)
  • Add option to set websocket ping interval and timeout (#​1048)
  • Adapt bind_socket to make it usable with multiple processes (#​1009)
  • Add existence check to the reload directory(ies) (#​1089)
  • Add missing trace log for websocket protocols (#​1083)
  • Support disabling default Server and Date headers (#​818)
Changed
  • Add PEP440 compliant version of click (#​1099)
  • Bump asgiref to 3.4.0 (#​1100)
Fixed
  • When receiving a SIGTERM supervisors now terminate their processes before joining them (#​1069)
  • Fix the need of httptools on minimal installation (#​1135)
  • Fix ping parameters annotation in Config class (#​1127)

v0.14.0

Compare Source

Added
  • Defaults ws max_size on server to 16MB (#​995)
  • Improve user feedback if no ws library installed (#​926 and #​1023)
  • Support 'reason' field in 'websocket.close' messages (#​957)
  • Implemented lifespan.shutdown.failed (#​755)
Changed
  • Upgraded websockets requirements (#​1065)
  • Switch to asyncio streams API (#​869)
  • Update httptools from 0.1.* to 0.2.* (#​1024)
  • Allow Click 8.0, refs #​1016 (#​1042)
  • Add search for a trusted host in ProxyHeadersMiddleware (#​591)
  • Up wsproto to 1.0.0 (#​892)
Fixed
  • Force reload_dirs to be a list (#​978)
  • Fix gunicorn worker not running if extras not installed (#​901)
  • Fix socket port 0 (#​975)
  • Prevent garbage collection of main lifespan task (#​972)

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.30.6` | --- ### Release Notes <details> <summary>encode/uvicorn (uvicorn)</summary> ### [`v0.30.6`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0306-2024-08-13) [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)) ### [`v0.30.5`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0305-2024-08-02) [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)) ### [`v0.30.4`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0304-2024-07-31) [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/issues/2375)) ### [`v0.30.3`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0303-2024-07-20) [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)) ### [`v0.30.2`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0302-2024-07-20) [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)) ### [`v0.30.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0301-2024-06-02) [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)) ### [`v0.30.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0300-2024-05-28) [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)) ### [`v0.29.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0290-2024-03-19) [Compare Source](https://github.com/encode/uvicorn/compare/0.28.1...0.29.0) ##### Added - Cooperative signal handling ([#&#8203;1600](https://github.com/encode/uvicorn/issues/1600)) ### [`v0.28.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0281-2024-03-19) [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)) ### [`v0.28.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0280-2024-03-09) [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)) ##### Fixed - Except `AttributeError` on `sys.stdin.fileno()` for Windows IIS10 ([#&#8203;1947](https://github.com/encode/uvicorn/issues/1947)) - Use `X-Forwarded-Proto` for WebSockets scheme when the proxy provides it ([#&#8203;2258](https://github.com/encode/uvicorn/issues/2258)) ### [`v0.27.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0271-2024-02-10) [Compare Source](https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1) - Fix spurious LocalProtocolError errors when processing pipelined requests ([#&#8203;2243](https://github.com/encode/uvicorn/issues/2243)) ### [`v0.27.0.post1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0270post1-2024-01-29) [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)) ### [`v0.27.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0270post1-2024-01-29) [Compare Source](https://github.com/encode/uvicorn/compare/0.26.0...0.27.0) ##### Fixed - Fix nav overrides for newer version of Mkdocs Material ([#&#8203;2233](https://github.com/encode/uvicorn/issues/2233)) ### [`v0.26.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0260-2024-01-16) [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)) - Use `__future__.annotations` on some internal modules ([#&#8203;2199](https://github.com/encode/uvicorn/issues/2199)) ### [`v0.25.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0250-2023-12-17) [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)) ##### Fixed - Allow explicit hidden file paths on `--reload-include` ([#&#8203;2176](https://github.com/encode/uvicorn/issues/2176)) - Properly annotate `uvicorn.run()` ([#&#8203;2158](https://github.com/encode/uvicorn/issues/2158)) ### [`v0.24.0.post1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0240post1-2023-11-06) [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)) ### [`v0.24.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0240post1-2023-11-06) [Compare Source](https://github.com/encode/uvicorn/compare/0.23.2...0.24.0) ##### Fixed - Revert mkdocs-material from 9.1.21 to 9.2.6 ([#&#8203;2148](https://github.com/encode/uvicorn/issues/2148)) ### [`v0.23.2`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0232-2023-07-31) [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)) ### [`v0.23.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0231-2023-07-18) [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)) ### [`v0.23.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0230-2023-07-10) [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)) ##### Removed - Drop support for Python 3.7 ([#&#8203;1996](https://github.com/encode/uvicorn/issues/1996)) - Remove `asgiref` as typing dependency ([#&#8203;1999](https://github.com/encode/uvicorn/issues/1999)) ##### 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)) ##### Changed - Raise `ImportError` on circular import ([#&#8203;2040](https://github.com/encode/uvicorn/issues/2040)) - Use `logger.getEffectiveLevel()` instead of `logger.level` to check if log level is `TRACE` ([#&#8203;1966](https://github.com/encode/uvicorn/issues/1966)) ### [`v0.22.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0220-2023-04-28) [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)) ### [`v0.21.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0211-2023-03-16) [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)) ### [`v0.21.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0210-2023-03-09) [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)) - Allow headers to be sent as iterables on H11 implementation ([#&#8203;1782](https://github.com/encode/uvicorn/issues/1782)) - Improve discoverability when --port=0 is used ([#&#8203;1890](https://github.com/encode/uvicorn/issues/1890)) ##### Changed - Avoid importing `h11` and `pyyaml` when not needed to improve import time ([#&#8203;1846](https://github.com/encode/uvicorn/issues/1846)) - Replace current native `WSGIMiddleware` implementation by `a2wsgi` ([#&#8203;1825](https://github.com/encode/uvicorn/issues/1825)) - Change default `--app-dir` from "." (dot) to "" (empty string) ([#&#8203;1835](https://github.com/encode/uvicorn/issues/1835)) ##### Fixed - Send code 1012 on shutdown for WebSockets ([#&#8203;1816](https://github.com/encode/uvicorn/issues/1816)) - Use `surrogateescape` to encode headers on `websockets` implementation ([#&#8203;1005](https://github.com/encode/uvicorn/issues/1005)) - Fix warning message on reload failure ([#&#8203;1784](https://github.com/encode/uvicorn/issues/1784)) ### [`v0.20.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0200-2022-11-20) [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)) - Warn user when `reload` and `workers` flag are used together ([#&#8203;1731](https://github.com/encode/uvicorn/issues/1731)) ##### Fixed - Use correct `WebSocket` error codes on `close` ([#&#8203;1753](https://github.com/encode/uvicorn/issues/1753)) - Send disconnect event on connection lost for `wsproto` ([#&#8203;996](https://github.com/encode/uvicorn/issues/996)) - Add `SIGQUIT` handler to `UvicornWorker` ([#&#8203;1710](https://github.com/encode/uvicorn/issues/1710)) - Fix crash on exist with "--uds" if socket doesn't exist ([#&#8203;1725](https://github.com/encode/uvicorn/issues/1725)) - Annotate `CONFIG_KWARGS` in `UvicornWorker` class ([#&#8203;1746](https://github.com/encode/uvicorn/issues/1746)) ##### Removed - Remove conditional on `RemoteProtocolError.event_hint` on `wsproto` ([#&#8203;1486](https://github.com/encode/uvicorn/issues/1486)) - Remove unused `handle_no_connect` on `wsproto` implementation ([#&#8203;1759](https://github.com/encode/uvicorn/issues/1759)) ### [`v0.19.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0190-2022-10-19) [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)) - Bump minimal `httptools` version to `0.5.0` ([#&#8203;1645](https://github.com/encode/uvicorn/issues/1645)) - Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade ([#&#8203;1661](https://github.com/encode/uvicorn/issues/1661)) - Add `py.typed` to comply with PEP 561 ([#&#8203;1687](https://github.com/encode/uvicorn/issues/1687)) ##### Fixed - Set `propagate` to `False` on "uvicorn" logger ([#&#8203;1288](https://github.com/encode/uvicorn/issues/1288)) - USR1 signal is now handled correctly on `UvicornWorker`. ([#&#8203;1565](https://github.com/encode/uvicorn/issues/1565)) - Use path with query string on `WebSockets` logs ([#&#8203;1385](https://github.com/encode/uvicorn/issues/1385)) - Fix behavior on which "Date" headers were not updated on the same connection ([#&#8203;1706](https://github.com/encode/uvicorn/issues/1706)) ##### Removed - Remove the `--debug` flag ([#&#8203;1640](https://github.com/encode/uvicorn/issues/1640)) - Remove the `DebugMiddleware` ([#&#8203;1697](https://github.com/encode/uvicorn/issues/1697)) ### [`v0.18.3`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0183-2022-08-24) [Compare Source](https://github.com/encode/uvicorn/compare/0.18.2...0.18.3) ##### Fixed - Remove cyclic references on HTTP implementations. ([#&#8203;1604](https://github.com/encode/uvicorn/issues/1604)) ##### Changed - `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)) ### [`v0.18.2`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0182-2022-06-27) [Compare Source](https://github.com/encode/uvicorn/compare/0.18.1...0.18.2) ##### Fixed - Add default `log_config` on `uvicorn.run()` ([#&#8203;1541](https://github.com/encode/uvicorn/issues/1541)) - Revert `logging` file name modification ([#&#8203;1543](https://github.com/encode/uvicorn/issues/1543)) ### [`v0.18.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0181-2022-06-23) [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)) ### [`v0.18.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0180-2022-06-23) [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)) - Annotate `uvicorn.run()` function ([#&#8203;1423](https://github.com/encode/uvicorn/issues/1423)) - Allow configuring `max_incomplete_event_size` for `h11` implementation ([#&#8203;1514](https://github.com/encode/uvicorn/issues/1514)) ##### Removed - Remove `asgiref` dependency ([#&#8203;1532](https://github.com/encode/uvicorn/issues/1532)) ##### Fixed - Turn `raw_path` into bytes on both websockets implementations ([#&#8203;1487](https://github.com/encode/uvicorn/issues/1487)) - Revert log exception traceback in case of invalid HTTP request ([#&#8203;1518](https://github.com/encode/uvicorn/issues/1518)) - Set `asyncio.WindowsSelectorEventLoopPolicy()` when using multiple workers to avoid "WinError 87" ([#&#8203;1454](https://github.com/encode/uvicorn/issues/1454)) ### [`v0.17.6`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0176-2022-03-11) [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)) ### [`v0.17.5`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0175-2022-02-16) [Compare Source](https://github.com/encode/uvicorn/compare/0.17.4...0.17.5) ##### Fixed - Fix case where url is fragmented in httptools protocol ([#&#8203;1263](https://github.com/encode/uvicorn/issues/1263)) - Fix WSGI middleware not to explode quadratically in the case of a larger body ([#&#8203;1329](https://github.com/encode/uvicorn/issues/1329)) ##### Changed - Send HTTP 400 response for invalid request ([#&#8203;1352](https://github.com/encode/uvicorn/issues/1352)) ### [`v0.17.4`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0174-2022-02-04) [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)) ### [`v0.17.3`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0173-2022-02-03) [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)) ### [`v0.17.2`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0172-2022-02-03) [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)) - 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)) - Fix wsproto version check expression ([#&#8203;1342](https://github.com/encode/uvicorn/issues/1342)) ### [`v0.17.1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0171-2022-01-28) [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)) - 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)) ### [`v0.17.0.post1`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0170post1-2022-01-24) [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)) ### [`v0.17.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0170post1-2022-01-24) [Compare Source](https://github.com/encode/uvicorn/compare/0.16.0...0.17.0) ##### Fixed - Add the `python_requires` version specifier ([#&#8203;1328](https://github.com/encode/uvicorn/issues/1328)) ### [`v0.16.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0160-2021-12-08) [Compare Source](https://github.com/encode/uvicorn/compare/0.15.0...0.16.0) ##### Added - Enable read of uvicorn settings from environment variables ([#&#8203;1279](https://github.com/encode/uvicorn/issues/1279)) - Bump `websockets` to 10.0. ([#&#8203;1180](https://github.com/encode/uvicorn/issues/1180)) - Ensure non-zero exit code when startup fails ([#&#8203;1278](https://github.com/encode/uvicorn/issues/1278)) - Increase `httptools` version range from "==0.2.\*" to ">=0.2.0,<0.4.0". ([#&#8203;1243](https://github.com/encode/uvicorn/issues/1243)) - Override default asyncio event loop with reload only on Windows ([#&#8203;1257](https://github.com/encode/uvicorn/issues/1257)) - Replace `HttpToolsProtocol.pipeline` type from `list` to `deque`. ([#&#8203;1213](https://github.com/encode/uvicorn/issues/1213)) - Replace `WSGIResponder.send_queue` type from `list` to `deque`. ([#&#8203;1214](https://github.com/encode/uvicorn/issues/1214)) ##### Fixed - Main process exit after startup failure on reloader classes ([#&#8203;1177](https://github.com/encode/uvicorn/issues/1177)) - Add explicit casting on click options ([#&#8203;1217](https://github.com/encode/uvicorn/issues/1217)) - Allow WebSocket close event to receive reason being None from ASGI app. ([#&#8203;1259](https://github.com/encode/uvicorn/issues/1259)) - 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)) - The option `--reload-dirs` was splitting a string into single character directories. ([#&#8203;1267](https://github.com/encode/uvicorn/issues/1267)) - Only second SIGINT is able to forcefully shutdown the server ([#&#8203;1269](https://github.com/encode/uvicorn/issues/1269)) - Allow app-dir parameter on the run() function ([#&#8203;1271](https://github.com/encode/uvicorn/issues/1271)) ### [`v0.15.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0150-2021-08-13) [Compare Source](https://github.com/encode/uvicorn/compare/0.14.0...0.15.0) ##### 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)) - 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)) - Exit with status 3 when worker starts failed ([#&#8203;1077](https://github.com/encode/uvicorn/issues/1077)) - Add option to set websocket ping interval and timeout ([#&#8203;1048](https://github.com/encode/uvicorn/issues/1048)) - Adapt bind_socket to make it usable with multiple processes ([#&#8203;1009](https://github.com/encode/uvicorn/issues/1009)) - Add existence check to the reload directory(ies) ([#&#8203;1089](https://github.com/encode/uvicorn/issues/1089)) - Add missing trace log for websocket protocols ([#&#8203;1083](https://github.com/encode/uvicorn/issues/1083)) - Support disabling default Server and Date headers ([#&#8203;818](https://github.com/encode/uvicorn/issues/818)) ##### Changed - Add PEP440 compliant version of click ([#&#8203;1099](https://github.com/encode/uvicorn/issues/1099)) - Bump asgiref to 3.4.0 ([#&#8203;1100](https://github.com/encode/uvicorn/issues/1100)) ##### Fixed - When receiving a `SIGTERM` supervisors now terminate their processes before joining them ([#&#8203;1069](https://github.com/encode/uvicorn/issues/1069)) - Fix the need of `httptools` on minimal installation ([#&#8203;1135](https://github.com/encode/uvicorn/issues/1135)) - Fix ping parameters annotation in Config class ([#&#8203;1127](https://github.com/encode/uvicorn/issues/1127)) ### [`v0.14.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0140-2021-06-01) [Compare Source](https://github.com/encode/uvicorn/compare/0.13.4...0.14.0) ##### Added - Defaults ws max_size on server to 16MB ([#&#8203;995](https://github.com/encode/uvicorn/issues/995)) - 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)) - Support 'reason' field in 'websocket.close' messages ([#&#8203;957](https://github.com/encode/uvicorn/issues/957)) - Implemented lifespan.shutdown.failed ([#&#8203;755](https://github.com/encode/uvicorn/issues/755)) ##### Changed - Upgraded websockets requirements ([#&#8203;1065](https://github.com/encode/uvicorn/issues/1065)) - Switch to asyncio streams API ([#&#8203;869](https://github.com/encode/uvicorn/issues/869)) - Update httptools from 0.1.\* to 0.2.\* ([#&#8203;1024](https://github.com/encode/uvicorn/issues/1024)) - Allow Click 8.0, refs [#&#8203;1016](https://github.com/encode/uvicorn/issues/1016) ([#&#8203;1042](https://github.com/encode/uvicorn/issues/1042)) - Add search for a trusted host in ProxyHeadersMiddleware ([#&#8203;591](https://github.com/encode/uvicorn/issues/591)) - Up wsproto to 1.0.0 ([#&#8203;892](https://github.com/encode/uvicorn/issues/892)) ##### Fixed - Force reload_dirs to be a list ([#&#8203;978](https://github.com/encode/uvicorn/issues/978)) - Fix gunicorn worker not running if extras not installed ([#&#8203;901](https://github.com/encode/uvicorn/issues/901)) - Fix socket port 0 ([#&#8203;975](https://github.com/encode/uvicorn/issues/975)) - Prevent garbage collection of main lifespan task ([#&#8203;972](https://github.com/encode/uvicorn/issues/972)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xMSIsInVwZGF0ZWRJblZlciI6IjM4LjI0LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
renovate force-pushed renovate/uvicorn-0.x from 770fcddf93 to 55631cb682 2024-08-18 00:37:02 +00:00 Compare
renovate changed title from Update dependency uvicorn to v0.30.5 to Update dependency uvicorn to v0.30.6 2024-08-18 00:37:05 +00:00
marco closed this pull request 2024-08-24 06:24:03 +00:00
Author
Member

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==0.30.6). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update (`==0.30.6`). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the `ignoreDeps` array of your Renovate config. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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#3