Skip to content

Releases: hyperium/hyper

v0.14.21

31 Oct 13:40
Compare
Choose a tag to compare

Bug Fixes

  • client: send an error back to client when dispatch misbehaves () (9fa36382, closes #2649)
  • http1: fix http1_header_read_timeout to use same future (#2891) (c5a14e7c)

Features

  • http1: allow ignoring invalid header lines in responses (73dd4746)
  • server: add Server::tcp_keepalive_interval and Server::tcp_keepalive_retries (#2991) (287d7124)

New Contributors

v1.0.0-rc.1

26 Oct 14:19
Compare
Choose a tag to compare
v1.0.0-rc.1 Pre-release
Pre-release

Bug Fixes

  • http1:

Features

Breaking Changes

  • The polling functions of the Body trait have been
    redesigned.

    The free functions hyper::body::to_bytes and aggregate have been
    removed. Similar functionality is on
    http_body_util::BodyExt::collect.
    (0888623d)

  • Either choose a version-specific Connection type, or
    look for the auto-version type in hyper-util.
    (0766d3f7)

  • Pick a version-specific connection, or use the combined
    one in hyper-util.
    (8ae73cac)

  • Change any manual impl tower::Service to implement hyper::service::Service instead. The poll_ready method has been removed.
    (fee7d361)

  • The trait has been renamed.
    (031454e5)

  • A channel body will be available in hyper-util.
    (d963e6a9)

  • Use the types from http-body-util.
    (9e8fc8fc)

  • Use connect from hyper-util.
    (5e206883)

  • A pooling client is in the hyper-util crate.
    (bb3af17c)

  • Tower Service utilities will exist in hyper-util.
    (889fa2d8)

New Contributors

v0.14.20

07 Jul 21:35
Compare
Choose a tag to compare

Bug Fixes

  • http1: fix http1_header_read_timeout to use same future (#2891) (c5a14e7c)

Features

  • ext: support non-canonical HTTP/1 reason phrases (#2792) (b2052a43)

New Contributors

v0.14.19

27 May 19:10
Compare
Choose a tag to compare

Bug Fixes

  • http1: fix preserving header case without enabling ffi (#2820) (6a35c175)
  • server: don't add implicit content-length to HEAD responses (#2836) (67b73138)

Features

Breaking Changes

  • ffi (unstable):
    • hyper_clientconn_options_new no longer sets the http1_preserve_header_case connection option by default.
      Users should now call hyper_clientconn_options_set_preserve_header_case if they desire that functionality. (78de8914)

New Contributors ❤️

v0.14.18

22 Mar 21:16
Compare
Choose a tag to compare

Bug Fixes

  • ffi: don't build C libraries by default (1c663706)

Features

  • client: add HttpInfo::local_addr() method (055b4e7e, closes #2767)

New Contributors

v0.14.17

10 Feb 20:52
Compare
Choose a tag to compare

Bug Fixes

  • client: avoid panics in uses of Instant on buggy OSes (#2746) (dcdd6d10)

Features

New Contributors

v0.14.16

09 Dec 18:20
Compare
Choose a tag to compare

Features

  • http2: add http2_max_send_buf_size option to client and server (bff977b7)
  • server: add HTTP/1 header read timeout option (#2675) (842c6553, closes #2457)

Bug Fixes

  • http1: return 414 when URI contains more than 65534 characters (#2706) (5f938fff, closes #2701)
  • http2: received Body::size_hint() now return 0 if implicitly empty (#2715) (84b78b6c)
  • server: use case-insensitive comparison for Expect: 100-continue (#2709) (7435cc33, closes #2708)

New Contributors

v0.14.15

16 Nov 20:01
Compare
Choose a tag to compare

Bug Fixes

  • client: cancel blocking DNS lookup if GaiFuture is dropped (174b553d)

Features

  • http1: add http1_writev(bool) options to Client and Server builders, to allow forcing vectored writes (80627141)
  • upgrade: allow http upgrades with any body type (ab469eb3)

New Contributors

v0.14.14

22 Oct 16:56
Compare
Choose a tag to compare

Bug Fixes

  • client:
    • make ResponseFuture implement Sync (bd6c35b9)
    • remove ipv6 square brackets before resolving (910e0268)

Features

  • http2: always include original h2 error on broken pipe (6169db25)
  • server: Remove Send + Sync requirement for Body in with_graceful_shutdown (1d553e52)

v0.14.13

16 Sep 17:27
Compare
Choose a tag to compare

Bug Fixes

  • client: don't reuse a connection while still flushing (c88011da)
  • server: convert panic to error if Connection::without_shutdown called on HTTP/2 conn (ea3e2282)

Features

  • ffi: add hyper_request_set_uri_parts (a54689b9)
  • lib:
    • Export more things with Cargo features (server, !http1, !http2) (0a4b56ac)
    • Export rt module independently of Cargo features (cf6f62c7)