Skip to content

Conversation

@mend-for-gitproxy.zycloud.tk
Copy link
Contributor

@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot commented Dec 23, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
uvicorn (changelog) ==0.17 -> ==0.31.0 age adoption passing confidence
uvicorn (changelog) ==0.14 -> ==0.31.0 age adoption passing confidence

Release Notes

encode/uvicorn (uvicorn)

v0.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 to specify 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.

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)

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 these updates again.


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

@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.20.0 Update dependency uvicorn to v0.21.0 Mar 10, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch 2 times, most recently from 989d337 to 0c55eec Compare March 16, 2023 18:46
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.21.0 Update dependency uvicorn to v0.21.1 Mar 16, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 0c55eec to b7abb11 Compare April 28, 2023 07:35
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.21.1 Update dependency uvicorn to v0.22.0 Apr 28, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from b7abb11 to 99f296d Compare July 15, 2023 07:09
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.22.0 Update dependency uvicorn to v0.23.0 Jul 15, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 99f296d to 5f40ed5 Compare July 18, 2023 12:24
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.23.0 Update dependency uvicorn to v0.23.1 Jul 18, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 5f40ed5 to 1303cbb Compare July 31, 2023 12:06
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.23.1 Update dependency uvicorn to v0.23.2 Jul 31, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 1303cbb to fa86eff Compare November 29, 2023 06:29
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.23.2 Update dependency uvicorn to v0.24.0.post1 Nov 29, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from fa86eff to a9f4d41 Compare December 21, 2023 05:07
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.24.0.post1 Update dependency uvicorn to v0.25.0 Dec 21, 2023
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from a9f4d41 to 30d6e3a Compare January 17, 2024 04:51
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.25.0 Update dependency uvicorn to v0.26.0 Jan 17, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 30d6e3a to afc149d Compare January 23, 2024 05:42
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.26.0 Update dependency uvicorn to v0.27.0 Jan 23, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from afc149d to 32ecbd9 Compare January 30, 2024 04:34
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.27.0 Update dependency uvicorn to v0.27.0.post1 Jan 30, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 32ecbd9 to 84194c4 Compare February 11, 2024 05:19
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.27.0.post1 Update dependency uvicorn to v0.27.1 Feb 11, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 84194c4 to 799cd51 Compare March 10, 2024 04:48
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.27.1 Update dependency uvicorn to v0.28.0 Mar 10, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 799cd51 to 5dc0565 Compare March 20, 2024 04:42
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.28.0 Update dependency uvicorn to v0.28.1 Mar 20, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 5dc0565 to 2258ee1 Compare March 21, 2024 04:59
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.28.1 Update dependency uvicorn to v0.29.0 Mar 21, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 2258ee1 to 4f66fa1 Compare May 28, 2024 14:26
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.29.0 Update dependency uvicorn to v0.30.0 May 28, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 4f66fa1 to 240a5a7 Compare June 3, 2024 04:29
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.0 Update dependency uvicorn to v0.30.1 Jun 3, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 240a5a7 to 6f3ea39 Compare July 21, 2024 05:55
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.1 Update dependency uvicorn to v0.30.3 Jul 21, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from 6f3ea39 to af5fdbc Compare August 1, 2024 06:18
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.3 Update dependency uvicorn to v0.30.4 Aug 1, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from af5fdbc to ef38ad3 Compare August 3, 2024 06:51
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.4 Update dependency uvicorn to v0.30.5 Aug 3, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from ef38ad3 to bced9ab Compare August 14, 2024 07:23
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.5 Update dependency uvicorn to v0.30.6 Aug 14, 2024
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot force-pushed the whitesource-remediate/uvicorn-0.x branch from bced9ab to 26d51a1 Compare September 28, 2024 04:46
@mend-for-gitproxy.zycloud.tk mend-for-gitproxy.zycloud.tk bot changed the title Update dependency uvicorn to v0.30.6 Update dependency uvicorn to v0.31.0 Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant