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.
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
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
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
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 [@​Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2542
- Drop Python 3.8 by [@​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 [@​Kludex](https://github.com/Kludex) in https://github.com/encode/uvicorn/pull/2536
#### New Contributors
- [@​bwells](https://github.com/bwells) made their first contribution in https://github.com/encode/uvicorn/pull/2491
- [@​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 [@​vvanglro](https://github.com/vvanglro) in https://github.com/encode/uvicorn/pull/2488
- Drop ASGI spec version to 2.3 on HTTP scope by [@​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 ([#​2482](https://github.com/encode/uvicorn/issues/2482))
- Warn when `max_request_limit` is exceeded ([#​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 [#​2471](https://github.com/encode/uvicorn/pull/2471)
- Restore support for `[*]` in trusted hosts [#​2480](https://github.com/encode/uvicorn/pull/2480)
- Add `PathLike[str]` type hint for `ssl_keyfile` [#​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` ([#​2468](https://github.com/encode/uvicorn/issues/2468)) and ([#​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 ([#​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 ([#​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` [#​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 ([#​2384](https://github.com/encode/uvicorn/issues/2384))
- `ClientDisconnect` inherits from `OSError` instead of `IOError` ([#​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 ([#​2324](https://github.com/encode/uvicorn/issues/2324))
#### Fixed
- Iterate subprocesses in-place on the process manager ([#​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 ([#​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 ([#​2183](https://github.com/encode/uvicorn/issues/2183))
- Allow `ConfigParser` or a `io.IO[Any]` on `log_config` ([#​1976](https://github.com/encode/uvicorn/issues/1976))
##### Fixed
- Suppress side effects of signal propagation ([#​2317](https://github.com/encode/uvicorn/issues/2317))
- Send `content-length` header on 5xx ([#​2304](https://github.com/encode/uvicorn/issues/2304))
##### Deprecated
- Deprecate the `uvicorn.workers` module ([#​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 [@​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 ([#​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 ([#​2220](https://github.com/encode/uvicorn/issues/2220)) 12/02/24
#### Fixed
- Except `AttributeError` on `sys.stdin.fileno()` for Windows IIS10 ([#​1947](https://github.com/encode/uvicorn/issues/1947)) 29/02/24
- Use `X-Forwarded-Proto` for WebSockets scheme when the proxy provides it ([#​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 ([#​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 ([#​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 ([#​2218](https://github.com/encode/uvicorn/issues/2218)) 19/01/24
- Bump ASGI WebSocket spec version to 2.4 ([#​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 ([#​2213](https://github.com/encode/uvicorn/issues/2213)) 16/01/24
- Use `__future__.annotations` on some internal modules ([#​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 ([#​1916](https://github.com/encode/uvicorn/issues/1916)) 17/12/23
#### Fixed
- Allow explicit hidden file paths on `--reload-include` ([#​2176](https://github.com/encode/uvicorn/issues/2176)) 08/12/23
- Properly annotate `uvicorn.run()` ([#​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 ([#​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 ([#​2145](https://github.com/encode/uvicorn/issues/2145)) 04/11/23
- Allow setting `app` via environment variable `UVICORN_APP` ([#​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 ([#​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 ([#​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 ([#​2033](https://github.com/encode/uvicorn/issues/2033)) 10/07/23
#### Removed
- Drop support for Python 3.7 ([#​1996](https://github.com/encode/uvicorn/issues/1996)) 19/06/23
- Remove `asgiref` as typing dependency ([#​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 ([#​2043](https://github.com/encode/uvicorn/issues/2043)) 12/07/23
#### Changed
- Raise `ImportError` on circular import ([#​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` ([#​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 ([#​1950](https://github.com/encode/uvicorn/issues/1950))
- Handle `SIGBREAK` on Windows ([#​1909](https://github.com/encode/uvicorn/issues/1909))
##### Fixed
- Shutdown event is now being triggered on Windows when using hot reload ([#​1584](https://github.com/encode/uvicorn/issues/1584))
- `--reload-delay` is effectively used on the `watchfiles` reloader ([#​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 ([#​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 ([#​1818](https://github.com/encode/uvicorn/issues/1818)) 05/03/23
- Allow headers to be sent as iterable on H11 implementation ([#​1782](https://github.com/encode/uvicorn/issues/1782)) 27/11/22
- Improve discoverability when --port=0 is used ([#​1890](https://github.com/encode/uvicorn/issues/1890)) 09/03/23
##### Changed
- Avoid importing `h11` and `pyyaml` when not needed to improve import time ([#​1846](https://github.com/encode/uvicorn/issues/1846)) 07/02/23
- Replace current native `WSGIMiddleware` implementation by `a2wsgi` ([#​1825](https://github.com/encode/uvicorn/issues/1825)) 16/01/23
- Change default `--app-dir` from "." (dot) to "" (empty string) ([#​1835](https://github.com/encode/uvicorn/issues/1835)) 06/01/23
##### Fixed
- Send code 1012 on shutdown for WebSockets ([#​1816](https://github.com/encode/uvicorn/issues/1816)) 06/01/23
- Use `surrogateescape` to encode headers on `websockets` implementation ([#​1005](https://github.com/encode/uvicorn/issues/1005)) 12/12/22
- Fix warning message on reload failure ([#​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 ([#​1737](https://github.com/encode/uvicorn/issues/1737))
- Add default headers to WebSockets implementations ([#​1606](https://github.com/encode/uvicorn/issues/1606) & [#​1747](https://github.com/encode/uvicorn/issues/1747)) 28/10/22
- Warn user when `reload` and `workers` flag are used together ([#​1731](https://github.com/encode/uvicorn/issues/1731)) 31/10/22
##### Fixed
- Use correct `WebSocket` error codes on `close` ([#​1753](https://github.com/encode/uvicorn/issues/1753)) 20/11/22
- Send disconnect event on connection lost for `wsproto` ([#​996](https://github.com/encode/uvicorn/issues/996)) 29/10/22
- Add `SIGQUIT` handler to `UvicornWorker` ([#​1710](https://github.com/encode/uvicorn/issues/1710)) 01/11/22
- Fix crash on exist with "--uds" if socket doesn't exist ([#​1725](https://github.com/encode/uvicorn/issues/1725)) 27/10/22
- Annotate `CONFIG_KWARGS` in `UvicornWorker` class ([#​1746](https://github.com/encode/uvicorn/issues/1746)) 31/10/22
##### Removed
- Remove conditional on `RemoteProtocolError.event_hint` on `wsproto` ([#​1486](https://github.com/encode/uvicorn/issues/1486)) 31/10/22
- Remove unused `handle_no_connect` on `wsproto` implementation ([#​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 ([#​1652](https://github.com/encode/uvicorn/issues/1652)) 16/09/22
- Bump minimal `httptools` version to `0.5.0` ([#​1645](https://github.com/encode/uvicorn/issues/1645)) 13/09/22
- Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade ([#​1661](https://github.com/encode/uvicorn/issues/1661)) 19/10/22
- Add `py.typed` to comply with PEP 561 ([#​1687](https://github.com/encode/uvicorn/issues/1687)) 07/10/22
##### Fixed
- Set `propagate` to `False` on "uvicorn" logger ([#​1288](https://github.com/encode/uvicorn/issues/1288)) 08/10/22
- USR1 signal is now handled correctly on `UvicornWorker`. ([#​1565](https://github.com/encode/uvicorn/issues/1565)) 26/08/22
- Use path with query string on `WebSockets` logs ([#​1385](https://github.com/encode/uvicorn/issues/1385)) 11/09/22
- Fix behavior on which "Date" headers were the same per connection ([#​1706](https://github.com/encode/uvicorn/issues/1706)) 19/10/22
##### Removed
- Remove the `--debug` flag ([#​1640](https://github.com/encode/uvicorn/issues/1640)) 14/09/22
- Remove the `DebugMiddleware` ([#​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. ([#​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. ([#​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()` [#​1541](https://github.com/encode/uvicorn/issues/1541) 24/06/22
- Revert `logging` file name modification [#​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 ([#​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` ([#​1437](https://github.com/encode/uvicorn/issues/1437)) 18/06/22
- Annotate `uvicorn.run()` function ([#​1423](https://github.com/encode/uvicorn/issues/1423)) 10/05/22
- Allow configuring `max_incomplete_event_size` for `h11` implementation ([#​1514](https://github.com/encode/uvicorn/issues/1514)) 22/06/22
##### Removed
- Remove `asgiref` dependency ([#​1532](https://github.com/encode/uvicorn/issues/1532)) 22/06/22
##### Fixed
- Turn `raw_path` into bytes on both websockets implementations ([#​1487](https://github.com/encode/uvicorn/issues/1487)) 16/05/22
- Revert log exception traceback in case of invalid HTTP request ([#​1518](https://github.com/encode/uvicorn/issues/1518)) 14/06/22
- Set `asyncio.WindowsSelectorEventLoopPolicy()` when using multiple workers to avoid "WinError 87" ([#​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` ([#​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 ([#​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 ([#​1329](https://github.com/encode/uvicorn/issues/1329)) 2/16/16
##### Changed
- Send HTTP 400 response for invalid request ([#​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` ([#​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. ([#​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 [#​1332](https://github.com/encode/uvicorn/issues/1332). While trying to solve the memory leak, it introduced an issue ([#​1345](https://github.com/encode/uvicorn/issues/1345)) when the server receives big chunks of data using the `httptools` implementation. ([#​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 ([#​1226](https://github.com/encode/uvicorn/issues/1226)), which caused a memory leak when sending TCP pings. ([#​1355](https://github.com/encode/uvicorn/issues/1355)) 03/02/22
- Fix wsproto version check expression ([#​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. ([#​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. ([#​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 ([#​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 ([#​1300](https://github.com/encode/uvicorn/issues/1300)) 29/12/21
- Support extra_headers for WS accept message ([#​1293](https://github.com/encode/uvicorn/issues/1293)) 06/01/22
- Add missing http version on websockets scope ([#​1309](https://github.com/encode/uvicorn/issues/1309)) 08/01/22
##### Fixed/Removed
- Drop Python 3.6 support ([#​1261](https://github.com/encode/uvicorn/issues/1261)) 06/01/22
- Fix reload process behavior when exception is raised ([#​1313](https://github.com/encode/uvicorn/issues/1313)) 11/01/22
- Remove `root_path` from logs ([#​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 ([#​1279](https://github.com/encode/uvicorn/issues/1279)) 06/12/21
- Bump `websockets` to 10.0. ([#​1180](https://github.com/encode/uvicorn/issues/1180)) 13/09/21
- Ensure non-zero exit code when startup fails ([#​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". ([#​1243](https://github.com/encode/uvicorn/issues/1243)) 8/11/21
- Override default asyncio event loop with reload only on Windows ([#​1257](https://github.com/encode/uvicorn/issues/1257)) 24/11/21
- Replace `HttpToolsProtocol.pipeline` type from `list` to `deque`. ([#​1213](https://github.com/encode/uvicorn/issues/1213)) 10/10/21
- Replace `WSGIResponder.send_queue` type from `list` to `deque`. ([#​1214](https://github.com/encode/uvicorn/issues/1214)) 10/10/21
##### Fixed
- Main process exit after startup failure on reloader classes ([#​1177](https://github.com/encode/uvicorn/issues/1177)) 30/09/21
- Add explicit casting on click options ([#​1217](https://github.com/encode/uvicorn/issues/1217)) 11/10/21
- Allow WebSocket close event to receive reason being None from ASGI app. ([#​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. ([#​1252](https://github.com/encode/uvicorn/issues/1252)) 25/11/21
- The option `--reload-dirs` was splitting a string into single character directories. ([#​1267](https://github.com/encode/uvicorn/issues/1267)) 25/11/21
- Only second SIGINT is able to forcelly shutdown the server ([#​1269](https://github.com/encode/uvicorn/issues/1269)) 28/11/21
- Allow app-dir parameter on the run() function ([#​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. ([#​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`. ([#​1070](https://github.com/encode/uvicorn/issues/1070)) 30/07/21
- Exit with status 3 when worker starts failed ([#​1077](https://github.com/encode/uvicorn/issues/1077)) 22/06/21
- Add option to set websocket ping interval and timeout ([#​1048](https://github.com/encode/uvicorn/issues/1048)) 09/06/21
- Adapt bind_socket to make it usable with multiple processes ([#​1009](https://github.com/encode/uvicorn/issues/1009)) 21/06/21
- Add existence check to the reload directory(ies) ([#​1089](https://github.com/encode/uvicorn/issues/1089)) 21/06/21
- Add missing trace log for websocket protocols ([#​1083](https://github.com/encode/uvicorn/issues/1083)) 19/06/21
- Support disabling default Server and Date headers ([#​818](https://github.com/encode/uvicorn/issues/818)) 11/06/21
##### Changed
- Add PEP440 compliant version of click ([#​1099](https://github.com/encode/uvicorn/issues/1099)) 29/06/21
- Bump asgiref to 3.4.0 ([#​1100](https://github.com/encode/uvicorn/issues/1100)) 29/06/21
##### Fixed
- When receiving a `SIGTERM` supervisors now terminate their processes before joining them ([#​1069](https://github.com/encode/uvicorn/issues/1069)) 30/07/21
- Fix the need of `httptools` on minimal installation ([#​1135](https://github.com/encode/uvicorn/issues/1135)) 30/07/21
- Fix ping parameters annotation in Config class ([#​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 ([#​995](https://github.com/encode/uvicorn/issues/995)) 5/29/21
- Improve user feedback if no ws library installed ([#​926](https://github.com/encode/uvicorn/issues/926) and [#​1023](https://github.com/encode/uvicorn/issues/1023)) 2/27/21
- Support 'reason' field in 'websocket.close' messages ([#​957](https://github.com/encode/uvicorn/issues/957)) 2/24/21
- Implemented lifespan.shutdown.failed ([#​755](https://github.com/encode/uvicorn/issues/755)) 2/25/21
##### Changed
- Upgraded websockets requirements ([#​1065](https://github.com/encode/uvicorn/issues/1065)) 6/1/21
- Switch to asyncio streams API ([#​869](https://github.com/encode/uvicorn/issues/869)) 5/29/21
- Update httptools from 0.1.\* to 0.2.\* ([#​1024](https://github.com/encode/uvicorn/issues/1024)) 5/28/21
- Allow Click 8.0, refs [#​1016](https://github.com/encode/uvicorn/issues/1016) ([#​1042](https://github.com/encode/uvicorn/issues/1042)) 5/23/21
- Add search for a trusted host in ProxyHeadersMiddleware ([#​591](https://github.com/encode/uvicorn/issues/591)) 3/13/21
- Up wsproto to 1.0.0 ([#​892](https://github.com/encode/uvicorn/issues/892)) 2/25/21
##### Fixed
- Force reload_dirs to be a list ([#​978](https://github.com/encode/uvicorn/issues/978)) 6/1/21
- Fix gunicorn worker not running if extras not installed ([#​901](https://github.com/encode/uvicorn/issues/901)) 5/28/21
- Fix socket port 0 ([#​975](https://github.com/encode/uvicorn/issues/975)) 3/5/21
- Prevent garbage collection of main lifespan task ([#​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
changed title from Update dependency uvicorn to v0.33.0 to Update dependency uvicorn to v0.34.02024-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.02025-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 - autoclosed2025-02-09 04:02:34 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==0.13.4->==0.34.0Release Notes
encode/uvicorn (uvicorn)
v0.34.0: Version 0.34.0Compare Source
What's Changed
content-lengthto 500 response in wsproto by @Kludex in https://github.com/encode/uvicorn/pull/2542Full Changelog: https://github.com/encode/uvicorn/compare/0.33.0...0.34.0
v0.33.0: Version 0.33.0Compare 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.1Compare Source
What's Changed
Full Changelog: https://github.com/encode/uvicorn/compare/0.32.0...0.32.1
v0.32.0: Version 0.32.0Compare Source
Added
max_request_limitis exceeded (#2430)Full Changelog: https://github.com/encode/uvicorn/compare/0.31.1...0.32.0
v0.31.1: Version 0.31.1Compare Source
Fixed
[*]in trusted hosts #2480PathLike[str]type hint forssl_keyfile#2481Full Changelog: https://github.com/encode/uvicorn/compare/0.31.0...0.31.1
v0.31.0: Version 0.31.0Compare Source
Added
Improve
ProxyHeadersMiddleware(#2468) and (#2231):on docker swarm/Kubernetes, where the reverse proxy might have a dynamic IP.
Full Changelog: https://github.com/encode/uvicorn/compare/0.30.6...0.31.0
v0.30.6: Version 0.30.6Compare Source
Fixed
Full Changelog: https://github.com/encode/uvicorn/compare/0.30.5...0.30.6
v0.30.5: Version 0.30.5Compare Source
Fixed
Full Changelog: https://github.com/encode/uvicorn/compare/0.30.4...0.30.5
v0.30.4: Version 0.30.4Compare Source
Fixed
h11sets client state toMUST_CLOSE#2375Full Changelog: https://github.com/encode/uvicorn/compare/0.30.3...0.30.4
v0.30.3: Version 0.30.3Compare Source
Fixed
KeyboardInterruptfrom CLI and programmatic usage (#2384)ClientDisconnectinherits fromOSErrorinstead ofIOError(#2393)Full Changelog: https://github.com/encode/uvicorn/compare/0.30.2...0.30.3
v0.30.2: Version 0.30.2Compare Source
Added
reasonsupport towebsocket.disconnectevent (#2324)Fixed
Full Changelog: https://github.com/encode/uvicorn/compare/0.30.1...0.30.2
v0.30.1: Version 0.30.1Compare Source
Fixed
\tin response header values (#2345)Full Changelog: https://github.com/encode/uvicorn/compare/0.30.0...0.30.1
v0.30.0: Version 0.30.0Compare Source
Added
ConfigParseror aio.IO[Any]onlog_config(#1976)Fixed
content-lengthheader on 5xx (#2304)Deprecated
uvicorn.workersmodule (#2302)Full Changelog: https://github.com/encode/uvicorn/compare/0.29.0...0.30.0
v0.29.0: Version 0.29.0Compare Source
Added
Full Changelog: https://github.com/encode/uvicorn/compare/0.28.1...0.29.0
v0.28.1: Version 0.28.1Compare Source
Fixed
ClientDisconnectedon HTTP (#2276)Full Changelog: https://github.com/encode/uvicorn/compare/0.28.0...0.28.1
v0.28.0: Version 0.28.0Compare Source
Added
ClientDisconnectedonsend()when client disconnected (#2220) 12/02/24Fixed
AttributeErroronsys.stdin.fileno()for Windows IIS10 (#1947) 29/02/24X-Forwarded-Protofor WebSockets scheme when the proxy provides it (#2258) 01/03/24Full Changelog: https://github.com/encode/uvicorn/compare/0.27.1...0.28.0
v0.27.1: Version 0.27.1Compare Source
Fixed
h11.LocalProtocolErrorerrors when processing pipelined requests (#2243) 10/02/24Full Changelog: https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1
v0.27.0.post1: Version 0.27.0.post1Compare Source
Fixed
Full Changelog: https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1
v0.27.0: Version 0.27.0Compare Source
Added
ClientDisconnect(IOError)onsend()when client disconnected (#2218) 19/01/24Full Changelog: https://github.com/encode/uvicorn/compare/0.26.0...0.27.0
v0.26.0: Version 0.26.0Compare Source
Changed
--root-pathto include the root path prefix in the full ASGIpathas per the ASGI spec (#2213) 16/01/24__future__.annotationson some internal modules (#2199) 16/01/24Full Changelog: https://github.com/encode/uvicorn/compare/0.25.0...0.26.0
v0.25.0: Version 0.25.0Compare Source
Added
Fixed
--reload-include(#2176) 08/12/23uvicorn.run()(#2158) 22/11/23Full Changelog: https://github.com/encode/uvicorn/compare/0.24.0...0.25.0
v0.24.0.post1: Version 0.24.0.post1Compare Source
Fixed
v0.24.0: Version 0.24.0Compare Source
Added
appvia environment variableUVICORN_APP(#2106)Full Changelog: https://github.com/encode/uvicorn/compare/0.23.2...0.24.0
v0.23.2: Version 0.23.2Compare Source
Fixed
websocketsfrom 10.4 on 11.0 (#2061) 30/07/23Full Changelog: https://github.com/encode/uvicorn/compare/0.23.1...0.23.2
v0.23.1: Version 0.23.1Compare Source
Fixed
typing_extensionsfor Python 3.10 and lower (#2053) 18/07/23Full Changelog: https://github.com/encode/uvicorn/compare/0.23.0...0.23.1
v0.23.0: Version 0.23.0Compare Source
Added
--ws-max-queueparameter WebSockets (#2033) 10/07/23Removed
asgirefas typing dependency (#1999) 08/06/23Fixed
scope["scheme"]towsorwssinstead ofhttporhttpsonProxyHeadersMiddlewarefor WebSockets (#2043) 12/07/23Changed
ImportErroron circular import (#2040) 09/07/23logger.getEffectiveLevel()instead oflogger.levelto check if log level isTRACE(#1966) 01/06/23Full Changelog: https://github.com/encode/uvicorn/compare/0.22.0...0.23.0
v0.22.0: Version 0.22.0Compare Source
Added
--timeout-graceful-shutdownparameter (#1950)SIGBREAKon Windows (#1909)Fixed
--reload-delayis effectively used on thewatchfilesreloader (#1930)Full Changelog: https://github.com/encode/uvicorn/compare/0.21.1...0.22.0
v0.21.1: Version 0.21.1Compare Source
Fixed
v0.21.0: Version 0.21.0Compare Source
Added
Changed
h11andpyyamlwhen not needed to improve import time (#1846) 07/02/23WSGIMiddlewareimplementation bya2wsgi(#1825) 16/01/23--app-dirfrom "." (dot) to "" (empty string) (#1835) 06/01/23Fixed
surrogateescapeto encode headers onwebsocketsimplementation (#1005) 12/12/22Full Changelog: https://github.com/encode/uvicorn/compare/0.20.0...0.21.0
v0.20.0: Version 0.20.0Compare Source
Added
wsprotoshutdown (#1737)reloadandworkersflag are used together (#1731) 31/10/22Fixed
WebSocketerror codes onclose(#1753) 20/11/22wsproto(#996) 29/10/22SIGQUIThandler toUvicornWorker(#1710) 01/11/22CONFIG_KWARGSinUvicornWorkerclass (#1746) 31/10/22Removed
RemoteProtocolError.event_hintonwsproto(#1486) 31/10/22handle_no_connectonwsprotoimplementation (#1759) 17/11/22v0.19.0: Version 0.19.0Compare Source
Added
httptoolsversion to0.5.0(#1645) 13/09/22py.typedto comply with PEP 561 (#1687) 07/10/22Fixed
propagatetoFalseon "uvicorn" logger (#1288) 08/10/22UvicornWorker. (#1565) 26/08/22WebSocketslogs (#1385) 11/09/22Removed
--debugflag (#1640) 14/09/22DebugMiddleware(#1697) 07/10/22v0.18.3: Version 0.18.3Compare Source
What's Changed
reload_delaydefault changed fromNoneto0.25onuvicorn.run()andConfig.Noneis not an acceptable value anymore. (#1545) 02/07/22Full Changelog: https://github.com/encode/uvicorn/compare/0.18.2...0.18.3
v0.18.2: Version 0.18.2Compare Source
What's Changed
log_configonuvicorn.run()#1541 24/06/22loggingfile name modification #1543 27/06/22Full Changelog: https://github.com/encode/uvicorn/compare/0.18.1...0.18.2
v0.18.1: Version 0.18.1Compare Source
Fixed
DEFAULT_MAX_INCOMPLETE_EVENT_SIZEas default toh11_max_incomplete_event_sizeon the CLI (#1534) 23/06/22Full Changelog: https://github.com/encode/uvicorn/compare/0.18.0...0.18.1
v0.18.0: Version 0.18.0Compare Source
Added
reloadflag prioritizeswatchfilesinstead of the deprecatedwatchgod(#1437) 18/06/22uvicorn.run()function (#1423) 10/05/22max_incomplete_event_sizeforh11implementation (#1514) 22/06/22Removed
asgirefdependency (#1532) 22/06/22Fixed
raw_pathinto bytes on both websockets implementations (#1487) 16/05/22asyncio.WindowsSelectorEventLoopPolicy()when using multiple workers to avoid "WinError 87" (#1454) 22/06/22Full Changelog: https://github.com/encode/uvicorn/compare/0.17.6...0.18.0
v0.17.6: Version 0.17.6Compare Source
Changed
httptoolsrange to>=0.4.0(#1400) 11/03/22v0.17.5: Version 0.17.5Compare Source
0.17.5 - 2022-02-16
Fixed
Changed
Full Changelog: https://github.com/encode/uvicorn/compare/0.17.4...0.17.5
v0.17.4: Version 0.17.4Compare Source
Fixed
create_serverbycreate_unix_server(#1362) 04/02/22v0.17.3: Version 0.17.3Compare Source
Fixed
v0.17.2: Version 0.17.2Compare Source
Fixed
httptoolsimplementation. (#1354) 03/02/22v0.17.1: Version 0.17.1Compare Source
Fixed
spec_versionfield from "2.1" to "2.3", as Uvicorn is compliant with that version of the ASGI specifications. (#1337) 25/01/22v0.17.0.post1: Version 0.17.0.post1Compare Source
Fixed
python_requiresversion specifier (#1328) 17/01/22v0.17.0: Version 0.17.0Compare Source
Added
Fixed/Removed
root_pathfrom logs (#1294) 25/12/21v0.16.0: Version 0.16.0Compare Source
0.16.0 - 2021-12-08
Added
websocketsto 10.0. (#1180) 13/09/21httptoolsversion range from "==0.2.*" to ">=0.2.0,<0.4.0". (#1243) 8/11/21HttpToolsProtocol.pipelinetype fromlisttodeque. (#1213) 10/10/21WSGIResponder.send_queuetype fromlisttodeque. (#1214) 10/10/21Fixed
WebSocketProtocol.asgi_receiveon which we returned a close frame even if there were data messages before that frame in the read queue. (#1252) 25/11/21--reload-dirswas splitting a string into single character directories. (#1267) 25/11/21v0.15.0: Version 0.15.0Compare Source
0.15.0 - 2021-08-13
Added
.pyfiles are watched, which is different from the previous default behavior. (#820) 08/08/21asyncio.runwhich will: start a fresh asyncio event loop, on shutdown cancel any background tasks rather than aborting them,aexitany remaining async generators, and shutdown the defaultThreadPoolExecutor. (#1070) 30/07/21Changed
Fixed
SIGTERMsupervisors now terminate their processes before joining them (#1069) 30/07/21httptoolson minimal installation (#1135) 30/07/21v0.14.0: Version 0.14.0Compare Source
0.14.0 - 2021-06-01
Added
Changed
Fixed
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.
This PR has been generated by Renovate Bot.
c695f614cfto098a05343eUpdate dependency uvicorn to v0.31.0to Update dependency uvicorn to v0.31.1098a05343eto11ab5375beUpdate dependency uvicorn to v0.31.1to Update dependency uvicorn to v0.32.011ab5375beto5a6f23b71fUpdate dependency uvicorn to v0.32.0to Update dependency uvicorn to v0.32.15a6f23b71ftoade2949622Update dependency uvicorn to v0.32.1to Update dependency uvicorn to v0.33.0ade2949622toe008598185Update dependency uvicorn to v0.33.0to Update dependency uvicorn to v0.34.0Update dependency uvicorn to v0.34.0to chore(deps): update dependency uvicorn to v0.34.0chore(deps): update dependency uvicorn to v0.34.0to chore(deps): update dependency uvicorn to v0.34.0 - autoclosedPull request closed