Skip to content

Releases: hyperium/hyper

v1.8.1

13 Nov 21:14

Choose a tag to compare

Bug Fixes

  • http1: fix consuming extra CPU from previous change (#3977) (4492f31e)

Full Changelog: v1.8.0...v1.8.1

v1.8.0

11 Nov 13:49

Choose a tag to compare

Highlights

Features

  • rt: add Timer::now() method to allow overriding the instant returned (#3965) (5509ebe6)

Bug Fixes

Breaking Changes

While technically breaking, it's assumed you will not need to do anything or be affected.

  • The HTTP/2 client connection no longer allows an executor
    that can not spawn itself.

    This was an oversight originally. The client connection will now include spawning
    a future that keeps a copy of the executor to spawn other futures. Thus, if it is
    !Send, it needs to spawn !Send futures. The likelihood of executors that match
    the previously allowed behavior should be very remote.

    There is also technically a semver break in here, which is that the
    Http2ClientConnExec trait no longer dyn-compatible, because it now expects to
    be Clone. This should not break usage of the conn builder, because it already
    separately had E: Clone bounds. If someone were using dyn Http2ClientConnExec,
    that will break. However, there is no purpose for doing so, and it is not usable
    otherwise, since the trait only exists to propagate bounds into hyper. Thus, the
    breakage should not affect anyone.
    (58e0e7dc)

What's Changed

New Contributors

v1.7.0

18 Aug 13:55

Choose a tag to compare

Highlights

Features

  • client:
  • error: add Error::is_shutdown() (#3863) (b8affd8a, closes #2745)
  • server: add allow_multiple_spaces_in_request_line_delimiters http1 builder method (#3929) (9749184f)

Bug Fixes

  • server: improve caching accuracy of Date header (#3887) (436cadd1)

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

28 Jan 13:55

Choose a tag to compare

Features

  • ext: add ext::on_informational() callback extension (#3818) (8ce1fcfa, closes #2565)
  • server: add http1::Builder::ignore_invalid_headers(bool) option (#3824) (3817a79b)

Bug Fixes

Breaking Changes

  • http2::Builder::max_local_error_reset_streams() now takes &mut self and returns &mut Self. In practice, this shouldn't break almost anyone. It was the wrong receiver and return types.
    (e981a91e)

New Contributors

Thanks

Full Changelog: v1.5.2...v1.6.0

v1.5.2

16 Dec 16:19

Choose a tag to compare

Bug Fixes

Features

New Contributors

Thanks

Full Changelog: v1.5.1...v1.5.2

v0.14.32

16 Dec 16:01

Choose a tag to compare

Features

  • server: add Builder::max_pending_accept_reset_streams(num) option (a24f0c0)

Bug Fixes

  • http1: fix intermittent panic parsing partial headers (0f274ae)

New Contributors

Full Changelog: v0.14.31...v0.14.32

v1.5.1

19 Nov 16:44

Choose a tag to compare

Bug Fixes

  • http2:
    • pass proper value to h2 max_local_error_reset_streams (4a20147a)
    • improve graceful shutdown during handshake (#3729) (13b05943)

What's Changed

New Contributors

Thanks

Full Changelog: v1.5.0...v1.5.1

v1.5.0

15 Oct 16:12

Choose a tag to compare

Features

  • client: Add HTTP/2 builder options header_table_size() and max_concurrent_streams() (4c84e8c1)
  • rt: add ReadBufCursor methods remaining() and put_slice() (#3700) (5a13041e)

Bug Fixes

  • http1:
  • http2: strip content-length header in response to CONNECT requests (#3748) (67a4a498)

New Contributors

Thanks!

Full Changelog: v1.4.1...v1.5.0

v0.14.31

15 Oct 16:05

Choose a tag to compare

Bug Fixes

  • http1: improve performance of parsing sequentially partial messages (97b595e)

v1.4.1

09 Jul 13:41

Choose a tag to compare

Bug Fixes

  • http1: reject final chunked if missing 0 (8e5de1bb)