Skip to content

Releases: encode/uvicorn

Version 0.31.0

27 Sep 19:54
a507532
Compare
Choose a tag to compare

Added

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

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

Full Changelog: 0.30.6...0.31.0

Version 0.30.6

13 Aug 09:26
7dc027d
Compare
Choose a tag to compare

Fixed

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

Full Changelog: 0.30.5...0.30.6

Version 0.30.5

02 Aug 10:21
ff54b02
Compare
Choose a tag to compare

Fixed

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

Full Changelog: 0.30.4...0.30.5

Version 0.30.4

31 Jul 21:28
8efa41c
Compare
Choose a tag to compare

Fixed

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

Full Changelog: 0.30.3...0.30.4

Version 0.30.3

20 Jul 08:59
5bf788f
Compare
Choose a tag to compare

Fixed

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

Full Changelog: 0.30.2...0.30.3

Version 0.30.2

20 Jul 07:32
ca24e1b
Compare
Choose a tag to compare

Added

Fixed

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

Full Changelog: 0.30.1...0.30.2

Version 0.30.1

02 Jun 08:20
44a3071
Compare
Choose a tag to compare

Fixed

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

Full Changelog: 0.30.0...0.30.1

Version 0.30.0

28 May 07:19
9a6b3a8
Compare
Choose a tag to compare

Added

  • New multiprocess manager (#2183)
  • Allow ConfigParser or a io.IO[Any] on log_config (#1976)

Fixed

  • Suppress side effects of signal propagation (#2317)
  • Send content-length header on 5xx (#2304)

Deprecated

  • Deprecate the uvicorn.workers module (#2302)

Full Changelog: 0.29.0...0.30.0

Version 0.29.0

20 Mar 06:42
fe85206
Compare
Choose a tag to compare

Added


Full Changelog: 0.28.1...0.29.0

Version 0.28.1

19 Mar 08:35
f73b8be
Compare
Choose a tag to compare

Fixed

  • Revert raise ClientDisconnected on HTTP (#2276)

Full Changelog: 0.28.0...0.28.1