- Update to 0.34.2:
* Added
+ Add content-length to 500 response in wsproto implementation
* Fixed
+ Flush stdout buffer on Windows to trigger reload
+ Drop ASGI spec version to 2.3 on HTTP scope
+ Enable httptools lenient data on httptools >= 0.6.3
* Deprecated
+ Deprecate ServerState in the main module
* Removed
+ Drop support for Python 3.8
+ Remove WatchGod support for --reload
- Add patch support-websockets-14+.patch:
* Ignore multiple classes of DeprecationWarnings.
OBS-URL: https://build.opensuse.org/request/show/1273799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=20
* Added
+ Add content-length to 500 response in wsproto implementation
* Fixed
+ Flush stdout buffer on Windows to trigger reload
+ Drop ASGI spec version to 2.3 on HTTP scope
+ Enable httptools lenient data on httptools >= 0.6.3
* Deprecated
+ Deprecate ServerState in the main module
* Removed
+ Drop support for Python 3.8
+ Remove WatchGod support for --reload
- Add patch support-websockets-14+.patch:
* Ignore multiple classes of DeprecationWarnings.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=40
- update to 0.32.0:
* Officially support Python 3.13
* Warn when `max_request_limit` is exceeded
* Support WebSockets 0.13.1
* Restore support for `[*]` in trusted hosts
* Add `PathLike[str]` type hint for `ssl_keyfile`
* 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.
* Don't warn when upgrade is not WebSocket and depedencies are
installed
* Don't close connection before receiving body on H11
* Close connection when `h11` sets client state to `MUST_CLOSE`
* Suppress `KeyboardInterrupt` from CLI and programmatic usage
* `ClientDisconnect` inherits from `OSError` instead of
`IOError`
* Add `reason` support to `websocket.disconnect` event
* Iterate subprocesses in-place on the process manager
* Allow horizontal tabs ` ` in response header values
* New multiprocess manager
* Allow `ConfigParser` or a `io.IO[Any]` on `log_config`
* Suppress side-effects of signal propagation
* Send `content-length` header on 5xx
OBS-URL: https://build.opensuse.org/request/show/1219531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=19
* Officially support Python 3.13
* Warn when `max_request_limit` is exceeded
* Support WebSockets 0.13.1
* Restore support for `[*]` in trusted hosts
* Add `PathLike[str]` type hint for `ssl_keyfile`
* 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.
* Don't warn when upgrade is not WebSocket and depedencies are
installed
* Don't close connection before receiving body on H11
* Close connection when `h11` sets client state to `MUST_CLOSE`
* Suppress `KeyboardInterrupt` from CLI and programmatic usage
* `ClientDisconnect` inherits from `OSError` instead of
`IOError`
* Add `reason` support to `websocket.disconnect` event
* Iterate subprocesses in-place on the process manager
* Allow horizontal tabs ` ` in response header values
* New multiprocess manager
* Allow `ConfigParser` or a `io.IO[Any]` on `log_config`
* Suppress side-effects of signal propagation
* Send `content-length` header on 5xx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=38