Releases: hyperium/hyper
v1.1.0
Features
- client: add
http1::Connectionwithout_shutdown()method (#3430) (210bfaa7) - http1: Add support for sending HTTP/1.1 Chunked Trailer Fields (#3375) (31b41807, closes #2719)
- server: expose
server::conn::http1::UpgradeableConnection(#3457) (6e3042a8)
Bug Fixes
- http1:
New Contributors
- @acedogblast made their first contribution in #3433
- @hatoo made their first contribution in #3434
- @allan2 made their first contribution in #3449
- @daxhuiberts made their first contribution in #3464
- @ncihnegn made their first contribution in #3479
Full Changelog: v1.0.1...v1.1.0
v0.14.28
Features
- body: deprecate to_bytes() and aggregate() (#3466) (7f382ad6)
- client: add
conn::http1::Connection::without_shutdown()method (#3431) (ad504977) - server: add
Builder::local_addr()(#3278) (d342c2c7)
Bug Fixes
- client:
- panic when pool idle timeout set to zero (#3365) (34d38008)
- divide by zero error when DNS returns no addrs (#3355) (41eaf204)
- Do not strip
pathandschemecomponents from URIs for HTTP/2 Extended CONNEC (45aa6249) - early respond from server shouldn't propagate reset error (#3274) (aac6760e, closes #2872)
- http1:
New Contributors
v1.0.1
This release "fixes" or adds a few things that should have been in 1.0.0, but were forgotten. Thus, it includes additions that would normally be a semver-minor release, but because it is so close to 1.0.0, it is released as a patch version.
Bug Fixes
Features
- rt: Make ReadBuf::new public (7161f562)
Breaking Changes
- Pin is #[fundamental], so providing a Read/Write impl for it theoretically conflicts
with existing user Read/Write for Pin<...> impls. However, those impls
probably don't exist yet.
(dd6d81ca)
New Contributors
- @coolreader18 made their first contribution in #3413
v1.0.0
Be sure to checkout the upgrading guide!
Features
- client: allow
!SendIO with HTTP/1 client (#3371) (cf87eda8, closes #3363) - error:
- ext:
- lib:
- rt: rename to
Http2ClientConnExecandHttp2ServerConnExec(52b27faa) - server: default
http1header_read_timeoutto 30 seconds (8bf26d1e) - upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)
Bug Fixes
- client:
- ffi: fix deadlock in
hyper_executor::poll_next(#3370) (0c7d03ef, closes #3369) - http2:
- server: Respect Expect header only when http proto > 1.0 (#3294) (43d2f5c6)
Breaking Changes
- Upgrade to
http1.0.
(899e92a5)
- (From previous RCs)
ExecutorClientis renamed to
Http2ClientConnExec, andHttp2ConnExecis renamed to
Http2ServerConnExec.
(52b27faa)
-
If you use client HTTP/1 upgrades, you must call
Connection::with_upgrades()to still work the same.
(cf87eda8) -
HTTP/2 server builder now has a default max concurrent streams. This is a
behavior change. Consider setting your own maximum.
(dd638b5b) -
Do not build any logic depending on the exact types of
anError::source(). They are only for debugging.
(502a6450) -
The format no longer prints the error chain. Be sure to
check if you are logging errors directly.The
Error::message()method is removed, it is no longer needed.The
Error::into_cause()method is removed.
(50f123af) -
The
ReasonPhrase::from_bytes_unchecked()method is
gone. Usefrom_static()orTryFromto construct one.
(4021c57b)
New Contributors
- @kianmeng made their first contribution in #2876
- @Ticsmtc made their first contribution in #2889
- @deantvv made their first contribution in #2918
- @andrewhickman made their first contribution in #2953
- @Michael-J-Ward made their first contribution in #2966
- @RajivTS made their first contribution in #2969
- @sashashura made their first contribution in #2985
- @mkusaka made their first contribution in #2986
- @dannasman made their first contribution in #3002
- @bossmc made their first contribution in #3018
- @programatik29 made their first contribution in #3059
- @alexs-sh made their first contribution in #3072
- @MrGunflame made their first contribution in #3089
- @dzvon made their first contribution in #3090
- @oliviacrain made their first contribution in #3091
- @chrislearn made their first contribution in #3118
- @dswij made their first contribution in #3135
- @technetos made their first contribution in #3150
- @atouchet made their first contribution in #3151
- @LegionMammal978 made their first contribution in #3191
- @wutchzone made their first contribution in #3196
- @emfax made their first contribution in #3217
- @IsaacCloos made their first contribution in #3220
- @rob2244 made their first contribution in #3223
- @avdb13 made their first contribution in #3232
- @Ruben2424 made their first contribution in #3255
- @Flowrey made their first contribution in #3277
- @lucab made their first contribution in #3290
- @owarai made their first contribution in #3294
- @nnethercote made their first contribution in #3296
- @palango made their first contribution in #3152
- @RamziA961 made their first contribution in #3326
- @palfrey made their first contribution in #3345
- @aliu made their first contribution in #3348
- @newmanifold made their first contribution in #3366
- @jsha made their first contribution in #3370
- @fritzrehde made their first contribution in #3379
- @HuSharp made their first contribution in #3381
- @hjr3 made their first contribution in #3390
- @fundon made their first contribution in #3385
- @ZhangHanDong made their first contribution in #3383
v1.0.0-rc.4
Bug Fixes
- http1:
Features
- client: Make clients able to use non-Send executor (#3184) (d977f209, closes #3017)
- rt:
- service: change Service::call to take &self (#3223) (d894439e, closes #3040)
Breaking Changes
- Any IO transport type provided must not implement
hyper::rt::{Read, Write}instead of
tokio::iotraits. You can grab a helper type fromhyper-utilto wrap Tokio types, or implement the traits yourself,
if it's a custom type.
(f9f65b7a) client::conn::http2types now use another generic for anExecutor.
Code that namesConnectionneeds to include the additional generic parameter.
(d977f209)- The
Service::callfunction no longer takes a mutable reference to self.
The FnMut trait bound on the service::util::service_fn function and the trait bound
on the impl for the ServiceFn struct were changed from FnMut to Fn.
(d894439e)
New Contributors
- @technetos made their first contribution in #3150
- @atouchet made their first contribution in #3151
- @tottoto made their first contribution in #3190
- @LegionMammal978 made their first contribution in #3191
- @wutchzone made their first contribution in #3196
- @emfax made their first contribution in #3217
- @IsaacCloos made their first contribution in #3220
- @rob2244 made their first contribution in #3223
- @avdb13 made their first contribution in #3232
- @Ruben2424 made their first contribution in #3255
v0.14.27
v0.14.26
v0.14.25
Features
- client:
- server:
New Contributors
v1.0.0-rc.3
Bug Fixes
Features
- client:
- rt: make private executor traits public (but sealed) in
rt::bounds(#3127) (fc9f3070, closes #2051, #3097)
Breaking Changes
hyper::client::conn::Http2::Builder::newnow requires an executor argument.
(8068aa01)- The method
hyper::client::conn::http1::Builder::executor()is removed, since it did nothing.
(1de9accf)
New Contributors
- @chrislearn made their first contribution in #3118
- @dswij made their first contribution in #3135
v0.14.24
Bug Fixes
- body: set an internal max to reserve in
to_bytes(4d89adce) - server: prevent sending 100-continue if user drops request body (#3138) (92443d7e)
Features
New Contributors
- @jiahaoliang made their first contribution in #3006