Skip to content

Releases: hyperium/hyper

v0.14.6

21 Apr 23:26
Compare
Choose a tag to compare

Features

  • client: add option to allow misplaced spaces in HTTP/1 responses (#2506) (11345394)
  • http1: add options to preserve header casing (#2480) (dbea7716, closes #2313)

v0.14.5

26 Mar 19:05
Compare
Choose a tag to compare

Bug Fixes

  • client: omit default port from automatic Host headers (#2441) (0b11eee9)
  • headers: Support multiple Content-Length values on same line (#2471) (48fdaf16, closes #2470)
  • server: skip automatic Content-Length headers when not allowed (#2216) (8cbf9527, closes #2215)

Features

v0.14.4

05 Feb 23:57
Compare
Choose a tag to compare

Bug Fixes

  • build: Fix compile error when only http1 feature was enabled.

v0.14.3

05 Feb 23:01
Compare
Choose a tag to compare

Bug Fixes

Features

  • body:
  • ffi:
    • add HYPERE_INVALID_PEER_MESSAGE error code for parse errors (1928682b)
    • Initial unstable C API for hyper (3ae1581a)

v0.13.10

05 Feb 22:59
Compare
Choose a tag to compare

Bug Fixes

v0.14.2

29 Dec 18:54
Compare
Choose a tag to compare

Features

  • client: expose connect types without proto feature (#2377) (73a59e5f)
  • server: expose Accept without httpX features (#2382) (a6d4fcbe)

v0.14.1

24 Dec 00:51
Compare
Choose a tag to compare
  • Fixes building documentation.

v0.14.0

23 Dec 19:02
Compare
Choose a tag to compare

Blog post: https://seanmonstar.com/post/638320652536922112/hyper-v014

Bug Fixes

Features

  • client:
  • http1: Make HTTP/1 support an optional feature (2a19ab74)
  • http2: Make HTTP/2 support an optional feature (b819b428)
  • lib:
  • server: Make the server code an optional feature (#2334) (bdb5e5d6)
  • upgrade: Moved HTTP upgrades off Body to a new API (#2337) (121c3313, closes #2086)

Breaking Changes

  • hyper depends on tokio v1 and bytes v1.

  • Custom resolvers used with HttpConnector must change
    to resolving to an iterator of SocketAddrs instead of IpAddrs.
    (b4e24332)

  • hyper no longer emits log records automatically.
    If you need hyper to integrate with a log logger (as opposed to tracing),
    you can add tracing = { version = "0.1", features = ["log"] } to activate them.
    (db32e105)

  • Removed http1_writev methods from client::Builder,
    client::conn::Builder, server::Builder, and server::conn::Builder.

    Vectored writes are now enabled based on whether the AsyncWrite
    implementation in use supports them, rather than though adaptive
    detection. To explicitly disable vectored writes, users may wrap the IO
    in a newtype that implements AsyncRead and AsyncWrite and returns
    false from its AsyncWrite::is_write_vectored method.
    (d6aadb83)

  • The method Body::on_upgrade() is gone. It is
    essentially replaced with hyper::upgrade::on(msg).
    (121c3313)

  • All optional features have been disabled by default.
    (ed2b22a7)

  • The HTTP server code is now an optional feature. To
    enable the server, add features = ["server"] to the dependency in
    your Cargo.toml.
    (bdb5e5d6)

  • The HTTP client of hyper is now an optional feature. To
    enable the client, add features = ["client"] to the dependency in
    your Cargo.toml.
    (4e55583d)

  • This puts all HTTP/1 methods and support behind an
    http1 cargo feature, which will not be enabled by default. To use
    HTTP/1, add features = ["http1"] to the hyper dependency in your
    Cargo.toml.

(2a19ab74)

  • This puts all HTTP/2 methods and support behind an
    http2 cargo feature, which will not be enabled by default. To use
    HTTP/2, add features = ["http2"] to the hyper dependency in your
    Cargo.toml.

(b819b428)

v0.13.9

02 Nov 23:30
Compare
Choose a tag to compare

Bug Fixes

  • client: fix panic when addrs in ConnectingTcpRemote is empty (#2292) (01103da5, closes #2291)
  • http2: reschedule keep alive interval timer once a pong is received (2a938d96, closes #2310)

Features

  • client:
    • add HttpConnector::set_local_addresses to set both IPv6 and IPv4 local addrs ( (fb19f3a8)
    • Add accessors to Connected fields (#2290) (2dc9768d)

v0.13.8

18 Sep 17:47
Compare
Choose a tag to compare

Bug Fixes

  • http1: return error if user body ends prematurely (1ecbcbb1, closes #2263)

Features

  • lib: Setting http1_writev(true) will now force writev queue usage (187c22af, closes #2282)
  • server: implement AsRawFd for AddrStream (#2246) (b5d5e214, closes #2245)