Releases: hyperium/hyper
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::new
now 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
Timer
have 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
Builder
s 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_timeout
to use same future (#2891) (c5a14e7c)
Features
- http1: allow ignoring invalid header lines in responses (73dd4746)
- server: add
Server::tcp_keepalive_interval
andServer::tcp_keepalive_retries
(#2991) (287d7124)
New Contributors
- @hansonchar made their first contribution in #2991
v1.0.0-rc.1
Bug Fixes
Features
- body:
- client:
- ffi: add http1_allow_multiline_headers (#2918) (09e35668)
- lib: remove
stream
cargo feature (#2896) (ce72f734, closes #2855) - rt: add Timer trait (#2974) (fae97ced)
- server:
- service: create own
Service
trait (#2920) (fee7d361, closes #2853)
Breaking Changes
-
The polling functions of the
Body
trait have been
redesigned.The free functions
hyper::body::to_bytes
andaggregate
have been
removed. Similar functionality is on
http_body_util::BodyExt::collect
.
(0888623d) -
Either choose a version-specific
Connection
type, or
look for the auto-version type inhyper-util
.
(0766d3f7) -
Pick a version-specific connection, or use the combined
one inhyper-util
.
(8ae73cac) -
Change any manual
impl tower::Service
to implementhyper::service::Service
instead. Thepoll_ready
method has been removed.
(fee7d361) -
The trait has been renamed.
(031454e5) -
A channel body will be available in
hyper-util
.
(d963e6a9) -
Use the types from
http-body-util
.
(9e8fc8fc) -
Use
connect
fromhyper-util
.
(5e206883) -
A pooling client is in the hyper-util crate.
(bb3af17c) -
Tower
Service
utilities will exist inhyper-util
.
(889fa2d8)
New Contributors
- @kianmeng made their first contribution in #2876
- @Ticsmtc made their first contribution in #2889
- @oddgrd made their first contribution in #2869
- @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
- @tomkarw made their first contribution in #2920
- @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
v0.14.20
v0.14.19
Bug Fixes
- http1: fix preserving header case without enabling ffi (#2820) (6a35c175)
- server: don't add implicit content-length to HEAD responses (#2836) (67b73138)
Features
- server:
Breaking Changes
- ffi (unstable):
hyper_clientconn_options_new
no longer sets thehttp1_preserve_header_case
connection option by default.
Users should now callhyper_clientconn_options_set_preserve_header_case
if they desire that functionality. (78de8914)
New Contributors β€οΈ
- @SabrinaJewson made their first contribution in #2775
- @some-dood made their first contribution in #2812
- @liamwarfield made their first contribution in #2798
- @cuishuang made their first contribution in #2818
- @jannes made their first contribution in #2836
- @silence-coding made their first contribution in #2828
- @nylonicious made their first contribution in #2762
- @ryanrussell made their first contribution in #2875
v0.14.18
Bug Fixes
- ffi: don't build C libraries by default (1c663706)
Features
New Contributors
- @ilyatrefilov made their first contribution in #2760
- @stephank made their first contribution in #2765
- @kubuzetto made their first contribution in #2768
- @lqd made their first contribution in #2770