Releases: hyperium/hyper
Releases Β· hyperium/hyper
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
v1.0.0-rc.2
Bug Fixes
- client: send an error back to client when dispatch misbehaves () (75aac9f4, closes #2649)
- http2: Fix race condition in client dispatcher (#3041) (f202230c)
Features
- body: upgrade to http-body 1.0.0-rc.2 (#3106) (51b45e3f)
- client:
- rt: Clean up Timer trait (#3037) (8790fee7, closes #3028)
- server:
Breaking Changes
- removes
server::conn::http2::Builder::with_executor()
(ab59a6f7) - The return types of
Timerhave been changed.
(8790fee7) - The return types for
Frame::into_data()andFrame::into_trailers()have been changed fromOption<T>toResult<T, Self>. - Most methods on the various
Builders have have their names changed, removing the version prefix (e.g.http1_writev()becomeswritev()).
New Contributors
- @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
v0.14.23
v0.14.22
v0.14.21
Bug Fixes
- client: send an error back to client when dispatch misbehaves () (9fa36382, closes #2649)
- http1: fix
http1_header_read_timeoutto use same future (#2891) (c5a14e7c)
Features
- http1: allow ignoring invalid header lines in responses (73dd4746)
- server: add
Server::tcp_keepalive_intervalandServer::tcp_keepalive_retries(#2991) (287d7124)
New Contributors
- @hansonchar made their first contribution in #2991