v1.0.0-rc.1
版本发布时间: 2022-10-26 22:19:29
hyperium/hyper最新发布版本:v1.4.1(2024-07-09 21:41:48)
Bug Fixes
-
http1:
- trim obs-folded headers when unfolding (#2926) (d4b5bd4e)
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 onhttp_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 in
hyper-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 https://github.com/hyperium/hyper/pull/2876
- @Ticsmtc made their first contribution in https://github.com/hyperium/hyper/pull/2889
- @oddgrd made their first contribution in https://github.com/hyperium/hyper/pull/2869
- @deantvv made their first contribution in https://github.com/hyperium/hyper/pull/2918
- @andrewhickman made their first contribution in https://github.com/hyperium/hyper/pull/2953
- @Michael-J-Ward made their first contribution in https://github.com/hyperium/hyper/pull/2966
- @RajivTS made their first contribution in https://github.com/hyperium/hyper/pull/2969
- @tomkarw made their first contribution in https://github.com/hyperium/hyper/pull/2920
- @sashashura made their first contribution in https://github.com/hyperium/hyper/pull/2985
- @mkusaka made their first contribution in https://github.com/hyperium/hyper/pull/2986
- @dannasman made their first contribution in https://github.com/hyperium/hyper/pull/3002
- @bossmc made their first contribution in https://github.com/hyperium/hyper/pull/3018