Skip to content

Releases: hyperium/hyper

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)

v0.12.25

01 Mar 23:09
Compare
Choose a tag to compare

Bug Fixes

  • client: coerce HTTP_2 requests to HTTP_11 (3a6080b1, closes #1770)
  • http2: send INTERNAL_ERROR when user's Service errors (8f926a0d)

Features

  • error: implement Error::source when available (4cf22dfa, closes #1768)
  • http2: Add window size config options for Client and Server (7dcd4618, closes #1771)
  • server: add http2_max_concurrent_streams builder option (cbae4294, closes #1772)
  • service:

v0.12.24

11 Feb 20:16
Compare
Choose a tag to compare

Bug Fixes

  • client: fix panic when CONNECT request doesn't have a port (d16b2c30)

Features