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.0
Release Notes
hyperium/hyper (hyper)
v1.5.0
Compare Source
Bug Fixes
date_header
effective (#3718) (7de02373)Features
header_table_size()
andmax_concurrent_streams()
(4c84e8c1)ReadBufCursor
methodsremaining()
andput_slice()
(#3700) (5a13041e)v1.4.1 (2024-07-09)
Bug Fixes
v1.4.1
Compare Source
Bug Fixes
v1.4.0
Compare Source
Bug Fixes
Features
SendRequest::try_send_request()
method (#3691) (4ffaad53)Send +Sync
bounds requirement ofhttp2::Connection
executor (#3682) (56c3cd56)'static
lifetime 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.1
Compare Source
Bug Fixes
v1.3.0
Compare Source
Bug Fixes
max_header_list_size(num)
defaults to 16kb (203d1b09)initial_max_send_streams
defaults to 100 (2d1bd708)Future
impl of HTTP/1UpgradeableConnection
(#3627) (b79be911, closes #3621)graceful_shutdown
panic on upgraded H1 connection (#3616) (6ecf8521)Features
max_header_list_size(num)
tohttp2::Builder
. (1c5b1b87)max_pending_accept_reset_streams
HTTP2 option (#3617) (330ddf1d)'static
from connection IO trait bounds (#3595) (0013bdda)v1.2.0
Compare 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_streams
in server (#3530) (d7680e30)initial_max_send_streams
method 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.0
Compare Source
Bug Fixes
Features
http1::Connection
without_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.1
Compare 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.0
Compare 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
!Send
IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)Error::source()
is purposefully unspecified (#3318) (502a6450, closes #2843)Display for Error
to only print top error (#3312) (50f123af, closes #2844)ReasonPhrase::from_static
a const fn (d4a61e3d)ReasonPhrase::from_bytes_unchecked()
method (4021c57b)http
1.0 (899e92a5)Http2ClientConnExec
andHttp2ServerConnExec
(52b27faa)http1
header_read_timeout
to 30 seconds (8bf26d1e)Breaking Changes
http
1.0.(899e92a5)
ExecutorClient
is renamed toHttp2ClientConnExec
, andHttp2ConnExec
is 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()
orTryFrom
to construct one.(4021c57b)
v1.0.0-rc.4 (2023-07-10)
Bug Fixes
Features
Sleep
trait (#3125) (d92d3917, closes #3027)Breaking Changes
hyper::rt::{Read, Write}
instead oftokio::io
traits. You can grab a helper type fromhyper-util
to wrap Tokio types, or implement the traits yourself,if it's a custom type.
(f9f65b7a)
client::conn::http2
types now use another generic for anExecutor
.Code that names
Connection
needs 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)http2
builder now requires anExecutor
(#3135) (8068aa01, closes #3128)rt::bounds
(#3127) (fc9f3070, closes #2051, #3097)Breaking Changes
hyper::client::conn::Http2::Builder::new
now 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::Builder
methods (669df217)client::conn::http1::Builder
methods (4cbaef79)Clone
forhttp2::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)
Timer
have 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
Body
struct toIncoming
(#3022) (95a153bb, closes #2971)HttpBody
trait to useFrame
s (#3020) (0888623d, closes #3010)Body
(#2958) (9e8fc8fc)client::conn::{SendRequest, Connection}
(#2987) (8ae73cac)client::connect
module (#2949) (5e206883)hyper::Client
(#2941) (bb3af17c)hyper::client::server
(#2940) (889fa2d8)stream
cargo feature (#2896) (ce72f734, closes #2855)server::conn::{Http, Connection}
types (#3013) (0766d3f7, closes #3012)server::conn::http1
andserver::conn::http2
modules (#3011) (fc4d3356, closes #2851)AddrStream
struct (#2869) (e9cab49e, closes #2850)Service
trait (#2920) (fee7d361, closes #2853)Breaking Changes
The polling functions of the
Body
trait have beenredesigned.
The free functions
hyper::body::to_bytes
andaggregate
have beenremoved. Similar functionality is on
http_body_util::BodyExt::collect
.(0888623d)
Either choose a version-specific
Connection
type, 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::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)
v0.14.19 (2022-05-27)
Bug Fixes
Features
Connection::http2_max_header_list_size
option (#2828) (a32658c1, closes #2826)AddrStream::local_addr()
(#2816) (ffbf610b, closes #2773)Breaking Changes
hyper_clientconn_options_new
no longer sets thehttp1_preserve_header_case
connection option by default.Users should now call
hyper_clientconn_options_set_preserve_header_case
if 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_size
option to client and server (bff977b7)v0.14.15 (2021-11-16)
Bug Fixes
GaiFuture
is 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
Upgraded
stream shutdown (#2622) (be08648e)Features
client::conn::Builder
(#2611) (73bff4e9, closes #2461)v0.14.11 (2021-07-21)
Bug Fixes
proxy-authenticate
andproxy-authorization
headers (#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_large
andError::is_parse_status
methods (#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_listener
constructor (#2439) (4c946af4)v0.14.4 (2021-02-05)
Bug Fixes
http1
feature was enabled.v0.14.3 (2021-02-05)
Bug Fixes
Features
hyper::body::SizeHint
(#2404) (9956587f)send_trailers
to Body channel'sSender
(#2387) (bf8d74ad, closes #2260)v0.14.2 (2020-12-29)
Features
connect
types without proto feature (#2377) (73a59e5f)Accept
without httpX features (#2382) (a6d4fcbe)v0.14.1 (2020-12-23)
v0.14.31
Compare Source
Bug Fixes
v0.14.30
Compare Source
Bug Fixes
v0.14.29
Compare Source
Bug Fixes
Features
max_local_error_reset_streams
in server (#3528) (dedcb674)New Contributors
Full Changelog: hyperium/hyper@v0.14.28...v0.14.29
v0.14.28
Compare Source
Features
conn::http1::Connection::without_shutdown()
method (#3431) (ad504977)Builder::local_addr()
(#3278) (d342c2c7)Bug Fixes
path
andscheme
components from URIs for HTTP/2 Extended CONNEC (45aa6249)New Contributors
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.