fix(deps): update rust crate hyper to v1 #116
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14.27->1.0.0Release Notes
hyperium/hyper (hyper)
v1.8.1Compare Source
Bug Fixes
v1.8.0Compare Source
Bug Fixes
Features
Timer::now()method to allow overriding the instant returned (#3965) (5509ebe6)Breaking Changes
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 matchthe 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 tobe
Clone. This should not break usage of theconnbuilder, because it alreadyseparately had
E: 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)
v1.7.0Compare Source
Bug Fixes
Features
TrySendError::error()method (#3885) (efa0b269)TrySendError::message()method (#3884) (03fd6aff)Error::is_shutdown()(#3863) (b8affd8a, closes #2745)allow_multiple_spaces_in_request_line_delimitershttp1 builder method (#3929) (9749184f)v1.6.0Compare Source
Bug Fixes
max_local_error_reset_streamsfunction to&mut self(#3820) (e981a91e)Features
ext::on_informational()callback extension (#3818) (8ce1fcfa, closes #2565)http1::Builder::ignore_invalid_headers(bool)option (#3824) (3817a79b)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)
v1.5.2 (2024-12-16)
Bug Fixes
Features
v1.5.1 (2024-11-19)
Bug Fixes
v1.5.2Compare Source
Bug Fixes
Features
v1.5.1Compare Source
Bug Fixes
v1.5.0Compare Source
Bug Fixes
date_headereffective (#3718) (7de02373)Features
header_table_size()andmax_concurrent_streams()(4c84e8c1)ReadBufCursormethodsremaining()andput_slice()(#3700) (5a13041e)v1.4.1 (2024-07-09)
Bug Fixes
v1.4.1Compare Source
Bug Fixes
v1.4.0Compare Source
Bug Fixes
Features
SendRequest::try_send_request()method (#3691) (4ffaad53)Send +Syncbounds requirement ofhttp2::Connectionexecutor (#3682) (56c3cd56)'staticlifetime bound on http1/2 client IO (#3667) (9580b357)Builder::auto_date_header(bool)to allow disabling Date headers (721785ef)v1.3.1 (2024-04-16)
Bug Fixes
v1.3.1Compare Source
Bug Fixes
v1.3.0Compare Source
Bug Fixes
max_header_list_size(num)defaults to 16kb (203d1b09)initial_max_send_streamsdefaults to 100 (2d1bd708)Futureimpl of HTTP/1UpgradeableConnection(#3627) (b79be911, closes #3621)graceful_shutdownpanic on upgraded H1 connection (#3616) (6ecf8521)Features
max_header_list_size(num)tohttp2::Builder. (1c5b1b87)max_pending_accept_reset_streamsHTTP2 option (#3617) (330ddf1d)'staticfrom connection IO trait bounds (#3595) (0013bdda)v1.2.0Compare Source
Bug Fixes
Sleep::downcast_mut_pin()no longer extend lifetime (7206fe30, closes #3556)Features
max_headers(num)to client and server (#3523) (b1142448)max_local_error_reset_streamsin server (#3530) (d7680e30)initial_max_send_streamsmethod to HTTP/2 client builder (#3524) (fdfa60d9)max_pending_accept_reset_streams(num)back to HTTP/2 server builder (#3507 (a9fa893f)Breaking Changes
Sleep::downcast_mut_pin()is no longer
'static. This shouldn't affect most usage. This sort ofbreaking change is needed because it is wrong.
(7206fe30)
v1.1.0Compare Source
Bug Fixes
Features
http1::Connectionwithout_shutdown()method (#3430) (210bfaa7)server::conn::http1::UpgradeableConnection(#3457) (6e3042a8)v1.0.1 (2023-11-16)
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
(#3413) (dd6d81ca, closes #3412)
Features
Breaking Changes
with existing user Read/Write for Pin<...> impls. However, those impls
probably don't exist yet.
(dd6d81ca)
v1.0.1Compare Source
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
(#3413) (dd6d81ca, closes #3412)
Features
Breaking Changes
with existing user Read/Write for Pin<...> impls. However, those impls
probably don't exist yet.
(dd6d81ca)
v1.0.0Compare Source
Be sure to check out the upgrading guide.
Bug Fixes
Body(#3266) (4ace340b, closes #3184)hyper_executor::poll_next(#3370) (0c7d03ef, closes #3369)Features
!SendIO with HTTP/1 client (#3371) (cf87eda8, closes #3363)Error::source()is purposefully unspecified (#3318) (502a6450, closes #2843)Display for Errorto only print top error (#3312) (50f123af, closes #2844)ReasonPhrase::from_statica const fn (d4a61e3d)ReasonPhrase::from_bytes_unchecked()method (4021c57b)http1.0 (899e92a5)Http2ClientConnExecandHttp2ServerConnExec(52b27faa)http1header_read_timeoutto 30 seconds (8bf26d1e)Breaking Changes
http1.0.(899e92a5)
ExecutorClientis renamed toHttp2ClientConnExec, andHttp2ConnExecis renamed toHttp2ServerConnExec.(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
an
Error::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 isgone. Use
from_static()orTryFromto construct one.(4021c57b)
v1.0.0-rc.4 (2023-07-10)
Bug Fixes
Features
Sleeptrait (#3125) (d92d3917, closes #3027)Breaking Changes
hyper::rt::{Read, Write}instead oftokio::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 names
Connectionneeds to include the additional generic parameter.(d977f209)
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)
v1.0.0-rc.3 (2023-02-23)
Bug Fixes
Features
is_ready()andis_closed()methods toSendRequest(#3148) (3fb59919)http2builder now requires anExecutor(#3135) (8068aa01, closes #3128)rt::bounds(#3127) (fc9f3070, closes #2051, #3097)Breaking Changes
hyper::client::conn::Http2::Builder::newnow requires an executor argument.(8068aa01)
hyper::client::conn::http1::Builder::executor()is removed, since it did nothing.(1de9accf)
v1.0.0-rc.2 (2022-12-29)
Bug Fixes
Features
client::conn::http2::Buildermethods (669df217)client::conn::http1::Buildermethods (4cbaef79)Cloneforhttp2::SendRequest(#3042) (00ea49e4, closes #3036)server::conn::http2::Builder(291ed0b4)server::conn::http2::Builder(48e70c69)server::conn::http2::Builder::with_executor()(#3089) (ab59a6f7, closes #3087)Breaking Changes
server::conn::http2::Builder::with_executor()(ab59a6f7)
Timerhave been changed.(8790fee7)
Frame::into_data()andFrame::into_trailers()have been changed fromOption<T>toResult<T, Self>.v1.0.0-rc.1 (2022-10-25)
Bug Fixes
Features
Bodystruct toIncoming(#3022) (95a153bb, closes #2971)HttpBodytrait to useFrames (#3020) (0888623d, closes #3010)Body(#2958) (9e8fc8fc)client::conn::{SendRequest, Connection}(#2987) (8ae73cac)client::connectmodule (#2949) (5e206883)hyper::Client(#2941) (bb3af17c)hyper::client::server(#2940) (889fa2d8)streamcargo feature (#2896) (ce72f734, closes #2855)server::conn::{Http, Connection}types (#3013) (0766d3f7, closes #3012)server::conn::http1andserver::conn::http2modules (#3011) (fc4d3356, closes #2851)AddrStreamstruct (#2869) (e9cab49e, closes #2850)Servicetrait (#2920) (fee7d361, closes #2853)Breaking Changes
The polling functions of the
Bodytrait have beenredesigned.
The free functions
hyper::body::to_bytesandaggregatehave beenremoved. Similar functionality is on
http_body_util::BodyExt::collect.(0888623d)
Either choose a version-specific
Connectiontype, orlook for the auto-version type in
hyper-util.(0766d3f7)
Pick a version-specific connection, or use the combined
one in
hyper-util.(8ae73cac)
Change any manual
impl tower::Serviceto implementhyper::service::Serviceinstead. Thepoll_readymethod 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
connectfromhyper-util.(5e206883)
A pooling client is in the hyper-util crate.
(bb3af17c)
Tower
Serviceutilities will exist inhyper-util.(889fa2d8)
v0.14.19 (2022-05-27)
Bug Fixes
Features
Connection::http2_max_header_list_sizeoption (#2828) (a32658c1, closes #2826)AddrStream::local_addr()(#2816) (ffbf610b, closes #2773)Breaking Changes
hyper_clientconn_options_newno longer sets thehttp1_preserve_header_caseconnection option by default.Users should now call
hyper_clientconn_options_set_preserve_header_caseif they desire that functionality. (78de8914)v0.14.18 (2022-03-22)
Bug Fixes
Features
HttpInfo::local_addr()method (055b4e7e, closes #2767)v0.14.17 (2022-02-10)
Bug Fixes
Instant(#2746) (dcdd6d10)Features
Error::message(#2737) (6932896a, closes #2732)v0.14.16 (2021-12-09)
Bug Fixes
Body::size_hint()now return 0 if implicitly empty (#2715) (84b78b6c)Features
http2_max_send_buf_sizeoption to client and server (bff977b7)v0.14.15 (2021-11-16)
Bug Fixes
GaiFutureis dropped (174b553dFeatures
http1_writev(bool)options to Client and Server builders, to allow forcing vectored writes (80627141)v0.14.14 (2021-10-22)
Bug Fixes
Features
v0.14.13 (2021-09-16)
Bug Fixes
Features
v0.14.12 (2021-08-24)
Bug Fixes
Upgradedstream shutdown (#2622) (be08648e)Features
client::conn::Builder(#2611) (73bff4e9, closes #2461)v0.14.11 (2021-07-21)
Bug Fixes
proxy-authenticateandproxy-authorizationheaders (#2597) (52435701)Features
v0.14.10 (2021-07-07)
Bug Fixes
Features
v0.14.9 (2021-06-07)
Bug Fixes
v0.14.8 (2021-05-25)
Features
Error::is_parse_too_largeandError::is_parse_statusmethods (#2538) (960a69a5)Performance
v0.14.7 (2021-04-22)
Bug Fixes
Features
v0.14.6 (2021-04-21)
Features
v0.14.5 (2021-03-26)
Bug Fixes
Features
AddrIncoming::from_listenerconstructor (#2439) (4c946af4)v0.14.4 (2021-02-05)
Bug Fixes
http1feature was enabled.v0.14.3 (2021-02-05)
Bug Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.