Skip to content

Releases: hyperium/hyper

v0.13.0-alpha.2

24 Sep 19:48
Compare
Choose a tag to compare
v0.13.0-alpha.2 Pre-release
Pre-release

Bug Fixes

  • client: allow client GET requests with explicit body headers (0867ad5c, closes #1925)

Features

  • body:
    • identify aborted body write errors (dc54ee19)
    • put Stream impl for Body behind stream feature (511ea388)
  • server: introduce Accept trait (b3e55062)

Breaking Changes

  • Using a Body as a Stream, and constructing one via
    Body::wrap_stream, require enabling the unstable-stream feature.

(511ea388)

  • Passing a Stream to Server::builder or
    Http::serve_incoming must be changed to pass an Accept instead. The
    unstable-stream optional feature can be enabled, and the a stream can be
    converted using hyper::server::accept::from_stream.

(b3e55062)

v0.12.35

17 Sep 16:47
Compare
Choose a tag to compare

Features

  • body: identify aborted body write errors (32869224)

v0.13.0-alpha.1

04 Sep 18:52
Compare
Choose a tag to compare
v0.13.0-alpha.1 Pre-release
Pre-release

Bug Fixes

  • server: change Builder window size methods to be by-value (a22dabd0, closes #1814)

Features

  • body:
    • change Sender::send_data to an async fn. (62a96c07)
    • Update Payload to be a trait alias of http_body::Body (#1908) (79c32f89)
    • require Sync when wrapping a dynamic Stream (44413721)
  • client:
    • provide tower::Service support for clients (#1915) (eee2a728)
    • change GaiResolver to use a global blocking threadpool (049b5132)
  • lib: update to std::future::Future (8f4b05ae)
  • service: use tower_service::Service for hyper::service (ec520d56)

Breaking Changes

  • Usage of send_data should either be changed to
    async/await or use try_send_data.

(62a96c07)

  • Calls to GaiResolver::new and HttpConnector::new no
    longer should pass an integer argument for the number of threads.

(049b5132)

  • All usage of async traits (Future, Stream,
    AsyncRead, AsyncWrite, etc) are updated to newer versions.

(8f4b05ae)

v0.12.34

04 Sep 22:29
Compare
Choose a tag to compare

Bug Fixes

  • client: allow client GET requests with explicit body headers (23fc8b08, closes #1925)

v0.12.32

04 Sep 18:45
Compare
Choose a tag to compare

Features

  • client: HttpConnector: allow to set socket buffer sizes (386109c4)

v0.12.30

04 Sep 18:45
Compare
Choose a tag to compare

Bug Fixes

  • http1: force always-ready connections to yield after a few spins (8316f96d)
  • http2: correctly propagate HTTP2 request cancellation (50198851)

v0.12.29

04 Sep 18:44
Compare
Choose a tag to compare

Bug Fixes

  • server: skip automatic Content-Length header for HTTP 304 responses (b342c38f, closes #1797)

Features

  • body: implement http_body::Body for hyper::Body (2d9f3490)
  • client: Implement TryFrom for Destination (#1810) (d1183a80, closes #1808)
  • server: add initial window builder methods that take self by-val (#1817) (8b45af7f)

v0.12.28

04 Sep 18:44
Compare
Choose a tag to compare

Bug Fixes

  • client:
    • detect HTTP2 connection closures sooner (e0ec5cad)
    • fix a rare connection pool race condition (4133181b)

Features

v0.12.27

04 Sep 18:43
Compare
Choose a tag to compare

Bug Fixes

  • http2: fix import of h2::Reason to work on 1.26 (5680d944)

v0.12.26

04 Sep 18:43
Compare
Choose a tag to compare

Bug Fixes

  • http2: send a GOAWAY when the user's Service::poll_ready errors (42c5efc0)
  • server: prohibit the length headers on successful CONNECT (d1501a0f, closes #1783)

Features

  • http2: check Error::source() for an HTTP2 error code to send in reset (fc18b680)