hyperium/hyper
 Watch   
 Star   
 Fork   
2025-11-14 05:12:46
hyper

v1.8.1

Bug Fixes

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

Full Changelog: https://github.com/hyperium/hyper/compare/v1.8.0...v1.8.1

2025-11-11 21:44:41
hyper

v1.8.0

Highlights

Features

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

Bug Fixes

  • http1: fix rare missed write wakeup on connections (#3952) (2377b893)
  • http2: fix internals of HTTP/2 CONNECT upgrades (#3967) (58e0e7dc, closes #3966)

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

2025-08-18 21:52:43
hyper

v1.7.0

Highlights

Features

  • client:
    • add a TrySendError::error() method (#3885) (efa0b269)
    • add a TrySendError::message() method (#3884) (03fd6aff)
  • 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: https://github.com/hyperium/hyper/compare/v1.6.0...v1.7.0

2025-01-28 21:51:52
hyper

v1.6.0

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

  • server:
    • start http1 header read timeout when conn is idle (#3828) (10b09ffc, closes #3780, #3781)
    • change max_local_error_reset_streams function to &mut self (#3820) (e981a91e)

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

  • @GlenDC
  • @tottoto
  • @seanmonstar

Full Changelog: https://github.com/hyperium/hyper/compare/v1.5.2...v1.6.0

2024-12-17 00:16:22
hyper

v1.5.2

Bug Fixes

  • http1:
    • fix intermitent panic parsing partial headers (#3812) (a131111f, closes #3811)
    • skip debug assertion of content length for HEAD responses (#3795) (eaf2267c, closes #3794)

Features

  • ffi: (unstable) add cargo-c support (#3787) (7f4a6826, closes #3786)

New Contributors

Thanks

  • @seanmonstar

Full Changelog: https://github.com/hyperium/hyper/compare/v1.5.1...v1.5.2

2024-12-16 23:59:24
hyper

v0.14.32

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: https://github.com/hyperium/hyper/compare/v0.14.31...v0.14.32

2024-11-20 00:41:44
hyper

v1.5.1

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

  • @seanmonstar
  • @ionut-slaveanu
  • @magurotuna
  • @tottoto

Full Changelog: https://github.com/hyperium/hyper/compare/v1.5.0...v1.5.1

2024-10-16 00:09:14
hyper

v1.5.0

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:
    • improve performance of parsing sequentially partial messages (#3764) (3900a23)
    • send 'connection: close' when connection is ending (#3725) (c86a6bcb, closes #3720)
    • make date_header effective (#3718) (7de02373)
  • http2: strip content-length header in response to CONNECT requests (#3748) (67a4a498)

New Contributors

Thanks!

  • @nox
  • @seanmonstar
  • @tottoto
  • @0x676e67
  • @SabrinaJewson
  • @dndx

Full Changelog: https://github.com/hyperium/hyper/compare/v1.4.1...v1.5.0

2024-10-16 00:03:48
hyper

v0.14.31

Bug Fixes

  • http1: improve performance of parsing sequentially partial messages (97b595e)
2024-07-09 21:39:23
hyper

v1.4.1

Bug Fixes

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