Releases: hyperium/hyper
v1.8.1
v1.8.0
Highlights
Features
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!Sendfutures. 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
Http2ClientConnExectrait no longer dyn-compatible, because it now expects to
beClone. This should not break usage of theconnbuilder, because it already
separately hadE: Clonebounds. If someone were usingdyn 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
- chore(ci): update to actions/checkout@v5 by @tottoto in #3935
- refactor(ffi): specify "C" ABI explicitly in ffi_fn! macro by @1911860538 in #3937
- Update documented default values for
http1::Builderby @Will-Low in #3938 - fix(client): port tests to in-memory socket by @cratelyn in #3947
- feat: allow overriding the instant returned from Timer by @arielb1 in #3965
- fix(http1): poll_loop writes when ready by @lthiery in #3952
- test(ready_stream): replace tracing with printlns by @seanmonstar in #3973
- fix(http2): fix internals of HTTP/2 CONNECT upgrades by @seanmonstar in #3967
- Release v1.8.0 by @seanmonstar in #3974
New Contributors
v1.7.0
Highlights
Features
- client:
- error: add
Error::is_shutdown()(#3863) (b8affd8a, closes #2745) - server: add
allow_multiple_spaces_in_request_line_delimitershttp1 builder method (#3929) (9749184f)
Bug Fixes
What's Changed
- chore: remove redundant backticks by @jimmycathy in #3855
- Gate tests with features they test by @WhyNotHugo in #3864
- docs(service): add
HttpServicedocumentation by @cratelyn in #3869 - docs(examples): alias Builder for clarity by @Muffeter in #3873
- docs(MAINTAINERS): add katelyn martin as collaborator by @seanmonstar in #3878
- chore(proto/h2): fix module-level documentation by @cratelyn in #3881
- feat(client): add a
TrySendError::message()method by @cratelyn in #3884 - feat(client): add a
TrySendError::error()method by @cratelyn in #3885 - fix(http2): add decriptive error for non-zero connect request by @samp5 in #3886
- refactor(lib): drop futures-util except in ffi by @hanna-kruppe in #3890
- fix(date): improve caching accuracy by @Patryk27 in #3887
- docs(SECURITY): update policy to use GSA drafts when reporting vulnerabilities by @seanmonstar in #3894
- feat: add Error::is_shutdown() by @joshka in #3863
- docs: improve ext module overview by @seanmonstar in #3921
- docs(rt): improve rt module overview by @seanmonstar in #3920
- chore(ci): update to cargo-check-external-types-0.3.0 by @tottoto in #3928
- test(common): add missing assertion in full_rewind test by @1911860538 in #3926
- fix(lib): avoid implicit cargo feature by @hanna-kruppe in #3931
- feat(http1): add allow_multiple_spaces_in_request_line_delimiters h1 builder config method by @mccordryan in #3929
- Prepare v1.7.0 by @seanmonstar in #3933
New Contributors
- @jimmycathy made their first contribution in #3855
- @Muffeter made their first contribution in #3873
- @samp5 made their first contribution in #3886
- @hanna-kruppe made their first contribution in #3890
- @Patryk27 made their first contribution in #3887
- @joshka made their first contribution in #3863
- @1911860538 made their first contribution in #3926
- @mccordryan made their first contribution in #3929
Full Changelog: v1.6.0...v1.7.0
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:
Breaking Changes
http2::Builder::max_local_error_reset_streams()now takes&mut selfand 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
Bug Fixes
- http1:
Features
New Contributors
- @23doors made their first contribution in #3795
- @ionionascu made their first contribution in #3799
- @linyihai made their first contribution in #3800
- @suzp1984 made their first contribution in #3807
Thanks
Full Changelog: v1.5.1...v1.5.2
v0.14.32
v1.5.1
Bug Fixes
- http2:
What's Changed
- test(client): unflake client try_send_request unit test by @seanmonstar in #3770
- docs(lib): fix up misleading example about unstable features by @seanmonstar in #3771
- docs(lib): do not inline http rexports by @seanmonstar in #3772
- Change graceful_shutdown function behavior. by @ionut-slaveanu in #3729
- chore(ci): pin hashbrown in MSRV job by @seanmonstar in #3783
- fix(http2): pass proper value to h2
max_local_error_reset_streamsby @magurotuna in #3782 - chore(dependencies): remove libc crate from dependencies by @tottoto in #3377
New Contributors
- @ionut-slaveanu made their first contribution in #3729
Thanks
Full Changelog: v1.5.0...v1.5.1
v1.5.0
Features
- client: Add HTTP/2 builder options
header_table_size()andmax_concurrent_streams()(4c84e8c1) - rt: add
ReadBufCursormethodsremaining()andput_slice()(#3700) (5a13041e)
Bug Fixes
New Contributors
- @yinheli made their first contribution in #3712
- @yhx-12243 made their first contribution in #3718
- @friendlyping made their first contribution in #3739
- @WhyNotHugo made their first contribution in #3742
- @fasterthanlime made their first contribution in #3745
- @hongmengning made their first contribution in #3753
- @n1haldev made their first contribution in #3702
Thanks!
Full Changelog: v1.4.1...v1.5.0