Skip to content

Releases: hyperium/hyper

v1.0.0-rc.3

23 Feb 18:53
Compare
Choose a tag to compare
v1.0.0-rc.3 Pre-release
Pre-release

Bug Fixes

  • server: prevent sending 100-continue if user drops request body (#3137) (499fe1f9)

Features

Breaking Changes

  • hyper::client::conn::Http2::Builder::new now requires an executor argument.
    (8068aa01)
  • The method
    hyper::client::conn::http1::Builder::executor() is removed, since it did nothing.
    (1de9accf)

New Contributors

v0.14.24

02 Feb 14:43
Compare
Choose a tag to compare

Bug Fixes

  • body: set an internal max to reserve in to_bytes (4d89adce)
  • server: prevent sending 100-continue if user drops request body (#3138) (92443d7e)

Features

  • http2: add http2_max_header_list_size to hyper::server::Builder (#3006) (031425f0)

New Contributors

v1.0.0-rc.2

29 Dec 20:07
Compare
Choose a tag to compare
v1.0.0-rc.2 Pre-release
Pre-release

Bug Fixes

  • client: send an error back to client when dispatch misbehaves () (75aac9f4, closes #2649)
  • http2: Fix race condition in client dispatcher (#3041) (f202230c)

Features

  • body: upgrade to http-body 1.0.0-rc.2 (#3106) (51b45e3f)
  • client:
    • remove http2_ prefixes from client::conn::http2::Builder methods (669df217)
    • remove http1_ prefixes from client::conn::http1::Builder methods (4cbaef79)
    • implement Clone for http2::SendRequest (#3042) (00ea49e4, closes #3036)
    • allow ignoring HTTP/1 invalid header lines in requests (81e25fa8)
  • rt: Clean up Timer trait (#3037) (8790fee7, closes #3028)
  • server:
    • remove http1_ method prefixes from server::conn::http2::Builder (291ed0b4)
    • remove http1_ method prefixes from server::conn::http2::Builder (48e70c69)
    • remove server::conn::http2::Builder::with_executor() (#3089) (ab59a6f7, closes #3087)

Breaking Changes

  • removes server::conn::http2::Builder::with_executor()
    (ab59a6f7)
  • The return types of Timer have been changed.
    (8790fee7)
  • The return types for Frame::into_data() and Frame::into_trailers() have been changed from Option<T> to Result<T, Self>.
  • Most methods on the various Builders have have their names changed, removing the version prefix (e.g. http1_writev() becomes writev()).

New Contributors

v0.14.23

07 Nov 19:22
Compare
Choose a tag to compare

Bug Fixes

  • http2: Fix race condition in client dispatcher (#3041) (2f1c0b72, closes #2419)
  • dependencies: Really fix compile-time feature for socket2 dependency.

New Contributors

v0.14.22

31 Oct 17:40
Compare
Choose a tag to compare

Bug Fixes

  • server: fix compile-time cfgs for TCP keepalive options (#3039) (e8765e0f, closes #3038)

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