Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate hyper to 0.14 - autoclosed #7

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 22, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
hyper (source) dependencies minor 0.10 -> 0.14

Release Notes

hyperium/hyper (hyper)

v0.14.27

Compare Source

Bug Fixes

Features

  • client: include connection info in Client::send_request errors (#​2749)

v0.14.26

Compare Source

Features

  • http2: add max_pending_accept_reset_streams configuration option (#​3201) (a6f7571a)

New Contributors

v0.14.25

Compare Source

Features

New Contributors

v0.14.24

Compare Source

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

  • http2: add http2_max_header_list_size to hyper::server::Builder (#​3006) (031425f0)

New Contributors

v0.14.23

Compare Source

Bug Fixes

  • http2: Fix race condition in client dispatcher (#​3041) (2f1c0b72, closes #​2419)
  • dependencies: Really fix compile-time feature for socket2 dependency.

New Contributors

v0.14.22

Compare Source

Bug Fixes

v0.14.21

Compare Source

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 and Server::tcp_keepalive_retries (#​2991) (287d7124)

New Contributors

v0.14.20

Compare Source

Bug Fixes

Features

New Contributors

v0.14.19

Compare Source

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
Breaking Changes
  • ffi (unstable):
    • hyper_clientconn_options_new no longer sets the http1_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

Compare Source

Bug Fixes
  • ffi: don't build C libraries by default (1c663706)
Features

v0.14.17

Compare Source

Bug Fixes
Features

v0.14.16

Compare Source

Bug Fixes
Features
  • http2: add http2_max_send_buf_size option to client and server (bff977b7)
  • server: add HTTP/1 header read timeout option (#​2675) (842c6553, closes #​2457)

v0.14.15

Compare Source

Bug Fixes
  • client: cancel blocking DNS lookup if GaiFuture is dropped (174b553d
Features
  • http1: add http1_writev(bool) options to Client and Server builders, to allow forcing vectored writes (80627141)
  • upgrade: allow http upgrades with any body type (ab469eb3)

v0.14.14

Compare Source

Bug Fixes
  • client:
    • make ResponseFuture implement Sync (bd6c35b9)
    • remove ipv6 square brackets before resolving (910e0268)
Features
  • h2: always include original h2 error on broken pipe (6169db25)
  • server: Remove Send + Sync requirement for Body in with_graceful_shutdown (1d553e52)

v0.14.13

Compare Source

Bug Fixes
  • client: don't reuse a connection while still flushing (c88011da)
  • server: convert panic to error if Connection::without_shutdown called on HTTP/2 conn (ea3e2282)
Features
  • ffi: add hyper_request_set_uri_parts (a54689b9)
  • lib:
    • Export more things with Cargo features (server, !http1, !http2) (0a4b56ac)
    • Export rt module independently of Cargo features (cf6f62c7)

v0.14.12

Compare Source

Bug Fixes
  • ffi: on_informational callback had no headers (39b6d01a)
  • http1: apply header title case for consecutive dashes (#​2613) (684f2fa7)
  • http2: improve errors emitted by HTTP2 Upgraded stream shutdown (#​2622) (be08648e)
Features

v0.14.11

Compare Source

Bug Fixes
  • client: retry when pool checkout returns closed HTTP2 connection (#​2585) (52214f39)
  • http2:
Features
  • ffi: add hyper_request_on_informational (25d18c0b)

v0.14.10

Compare Source

Bug Fixes
  • http1:
    • reject content-lengths that have a plus sign prefix (06335158)
    • protect against overflow in chunked decoder (efd9a982)
Features
  • ffi: add option to get raw headers from response (8c89a8c1)

v0.14.9

Compare Source

Bug Fixes
  • http1: reduce memory used with flatten write strategy (eb0c6463)

v0.14.8

Compare Source

Features
Performance
  • http2: reduce amount of adaptive window pings as BDP stabilizes (#​2550) (4cd06bf2)

v0.14.7

Compare Source

Bug Fixes
  • http1: http1_title_case_headers should move Builder (a303b3c3)
Features
  • server: implement forgotten settings for case preserving (4fd6c4cb)

v0.14.6

Compare Source

Features

v0.14.5

Compare Source

Bug Fixes
Features

v0.14.4

Compare Source

Bug Fixes
  • build: Fix compile error when only http1 feature was enabled.

v0.14.3

Compare Source

Bug Fixes
  • client: HTTP/1 client "Transfer-Encoding" repair code would panic (#​2410) (2c8121f1, closes #​2409)
  • http1: fix server misinterpreting multiple Transfer-Encoding headers (8f93123e)
Features

v0.14.2

Compare Source

Features

v0.14.1

Compare Source

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
Breaking Changes
  • ffi (unstable):
    • hyper_clientconn_options_new no longer sets the http1_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.0

Compare Source

Bug Fixes
Features
Breaking Changes
  • hyper depends on tokio v1 and bytes v1.

  • Custom resolvers used with HttpConnector must change
    to resolving to an iterator of SocketAddrs instead of IpAddrs.
    (b4e24332)

  • hyper no longer emits log records automatically.
    If you need hyper to integrate with a log logger (as opposed to tracing),
    you can add tracing = { version = "0.1", features = ["log"] } to activate them.
    (db32e105)

  • Removed http1_writev methods from client::Builder,
    client::conn::Builder, server::Builder, and server::conn::Builder.

    Vectored writes are now enabled based on whether the AsyncWrite
    implementation in use supports them, rather than though adaptive
    detection. To explicitly disable vectored writes, users may wrap the IO
    in a newtype that implements AsyncRead and AsyncWrite and returns
    false from its AsyncWrite::is_write_vectored method.
    (d6aadb83)

  • The method Body::on_upgrade() is gone. It is
    essentially replaced with hyper::upgrade::on(msg).
    (121c3313)

  • All optional features have been disabled by default.
    (ed2b22a7)

  • The HTTP server code is now an optional feature. To
    enable the server, add features = ["server"] to the dependency in
    your Cargo.toml.
    (bdb5e5d6)

  • The HTTP client of hyper is now an optional feature. To
    enable the client, add features = ["client"] to the dependency in
    your Cargo.toml.
    (4e55583d)

  • This puts all HTTP/1 methods and support behind an
    http1 cargo feature, which will not be enabled by default. To use
    HTTP/1, add features = ["http1"] to the hyper dependency in your
    Cargo.toml.

(2a19ab74)

  • This puts all HTTP/2 methods and support behind an
    http2 cargo feature, which will not be enabled by default. To use
    HTTP/2, add features = ["http2"] to the hyper dependency in your
    Cargo.toml.

(b819b428)

v0.13.9 (2020-11-02)
Bug Fixes
Features
  • client:
    • add HttpConnector::set_local_addresses to set both IPv6 and IPv4 local addrs ( (fb19f3a8)
    • Add accessors to Connected fields (#​2290) (2dc9768d)
v0.13.8 (2020-09-18)
Bug Fixes
Features
v0.13.7 (2020-07-13)
Bug Fixes
  • client: don't panic in DNS resolution when task cancelled (#​2229) (0d0d3635)
Features
  • client: impl tower_service::Service for &Client (#​2089) (77c3b5bc)
  • http2: configure HTTP/2 frame size in the high-level builders too (#​2214) (2354a7ee)
  • lib: Move from log to tracing in a backwards-compatible way (#​2204) (9832aef9)
v0.13.6 (2020-05-29)
Features
  • body: remove Sync bound for Body::wrap_stream (042c7706)
  • http2: allow configuring the HTTP/2 frame size (b6446456)
v0.13.5 (2020-04-17)
Bug Fixes
  • server: fix panic in Connection::graceful_shutdown (fce3ddce)
v0.13.4 (2020-03-20)
Bug Fixes
  • http1: try to drain connection buffer if user drops Body (d838d54f)
Features
  • http2: add HTTP2 keep-alive support for client and server (9a8413d9)
v0.13.3 (2020-03-03)
Features
v0.13.2 (2020-01-29)
Bug Fixes
  • body: return exactly 0 SizeHint for empty body (#​2122) (dc882047)
  • client: strip path from Uri before calling Connector (#​2109) (ba2a144f)
  • http1:
  • http2: don't add client content-length if method doesn't require it (fb90d30c)
Features
  • service: Implement Clone/Copy on ServiceFn and MakeServiceFn (#​2104) (a5720fab)
v0.13.1 (2019-12-13)
Bug Fixes
  • http1: fix response with non-chunked transfer-encoding to be close-delimited (cb71d2cd, closes #​2058)
Features
  • body: implement HttpBody for Request and Response (4b6099c7, closes #​2067)
  • client: expose hyper::client::connect::Connect trait alias (2553ea1a)

v0.13.10

Compare Source

Bug Fixes

v0.13.9

Compare Source

Bug Fixes
Features
  • client:
    • add HttpConnector::set_local_addresses to set both IPv6 and IPv4 local addrs ( (fb19f3a8)
    • Add accessors to Connected fields (#​2290) (2dc9768d)

v0.13.8

Compare Source

Bug Fixes
Features

v0.13.7

Compare Source

Bug Fixes
  • client: don't panic in DNS resolution when task cancelled (#​2229) (0d0d3635)
Features
  • client: impl tower_service::Service for &Client (#​2089) (77c3b5bc)
  • http2: configure HTTP/2 frame size in the high-level builders too (#​2214) (2354a7ee)
  • lib: Move from log to tracing in a backwards-compatible way (#​2204) (9832aef9)

v0.13.6

Compare Source

Features
  • body: remove Sync bound for Body::wrap_stream (042c7706)
  • http2: allow configuring the HTTP/2 frame size (b6446456)

v0.13.5

Compare Source

Bug Fixes
  • server: fix panic in Connection::graceful_shutdown (fce3ddce)

v0.13.4

Compare Source

Bug Fixes
  • http1: try to drain connection buffer if user drops Body (d838d54f)
Features
  • http2: add HTTP2 keep-alive support for client and server (9a8413d9)

v0.13.3

Compare Source

Features

v0.13.2

Compare Source

Bug Fixes
  • body: return exactly 0 SizeHint for empty body (#​2122) (dc882047)
  • client: strip path from Uri before calling Connector (#​2109) (ba2a144f)
  • http1:
  • http2: don't add client content-length if method doesn't require it (fb90d30c)
Features
  • service: Implement Clone/Copy on ServiceFn and MakeServiceFn (#​2104) (a5720fab)

v0.13.1

Compare Source

Bug Fixes
  • http1: fix response with non-chunked transfer-encoding to be close-delimited (cb71d2cd, closes #​2058)
Features
  • body: implement HttpBody for Request and Response (4b6099c7, closes #​2067)
  • client: expose hyper::client::connect::Connect trait alias (2553ea1a)

v0.13.0

Compare Source

Bug Fixes
  • client:
    • fix polling dispatch channel after it has closed (039281b8)
    • fix panic from unreachable code (e6027bc0)
  • dependencies: require correct bytes minimum version (#​1975) (536b1e18)
  • server:
Features
  • body:
    • change Sender::send_data to an async fn. (62a96c07)
    • require Sync when wrapping a dynamic Stream (44413721)
    • add body::aggregate and body::to_bytes functions (8ba9a8d2)
    • replace Chunk type with Bytes (5a598757, closes #​1931)
    • replace the Payload trait with HttpBody (c63728eb)
  • client:
    • impl tower_service::Service for Client (edbd10ac)
    • provide tower::Service support for clients (#​1915) (eee2a728)
    • change connectors to return an impl Connection (4d7a2266)
    • remove Destination for http::Uri in connectors (319e8aee)
    • filter remote IP addresses by family of given local IP address (131962c8)
    • change Resolve to be Service<Name> (9d9233ce, closes #​1903)
    • change Connect trait into an alias for Service (d67e49f1, closes #​1902)
    • change GaiResolver to use a global blocking threadpool (049b5132)
    • Add connect timeout to HttpConnector (#​1972) (4179297a)
  • lib:
    • update to std::future::Future (8f4b05ae)
    • add optional tcp feature, split from runtime (5b348b82)
    • make Stream trait usage optional behind the stream feature, enabled by default (0b03b730, closes #​2034)
    • update Tokio, bytes, http, h2, and http-body (cb3f39c2)
  • rt: introduce rt::Executor trait (6ae5889f, closes #​1944)
  • server:
    • introduce Accept trait (b3e55062)
    • give Server::local_addr a more general type (3cc93e79)
    • change http1_half_close option default to disabled (7e31fd88)
  • service:
    • use tower_service::Service for hyper::service (ec520d56)
    • rename Service to HttpService, re-export tower::Service (4f274399, closes #​1959)
Breaking Changes
  • All usage of async traits (Future, Stream,
    AsyncRead, AsyncWrite, etc) are updated to newer versions.

(8f4b05ae)

  • All usage of hyper::Chunk should be replaced with
    bytes::Bytes (or hyper::body::Bytes).

(5a598757)

  • Using a Body as a Stream, and constructing one via
    Body::wrap_stream, require enabling the stream feature.

(511ea388)

  • Calls to GaiResolver::new and HttpConnector::new no
    longer should pass an integer argument for the number of threads.

(049b5132)

  • Connectors no longer return a tuple of
    (T, Connected), but a single T: Connection.

(4d7a2266)

  • All usage of hyper::client::connect::Destination
    should be replaced with http::Uri.

(319e8aee)

  • All usage of hyper::body::Payload should be replaced
    with hyper::body::HttpBody.

(c63728eb)

  • Any type passed to the executor builder methods must
    now implement hyper::rt::Executor.

    hyper::rt::spawn usage should be replaced with tokio::task::spawn.

    hyper::rt::run usage should be replaced with #[tokio::main] or
    managing a tokio::runtime::Runtime manually.

(6ae5889f)

  • The Resolve trait is gone. All custom resolvers should
    implement tower::Service instead.

    The error type of HttpConnector has been changed away from
    std::io::Error.

(9d9233ce)

  • Any manual implementations of Connect must instead
    implement tower::Service<Uri>.

(d67e49f1)

  • The server's behavior will now by default close
    connections when receiving a read EOF. To allow for clients to close
    the read half, call http1_half_close(true) when configuring a
    server.

(7e31fd88)

  • Passing a Stream to Server::builder or
    Http::serve_incoming must be changed to pass an Accept instead. The
    stream optional feature can be enabled, and then a stream can be
    converted using hyper::server::accept::from_stream.

(b3e55062)

  • Usage of send_data should either be changed to
    async/await or use try_send_data.

(62a96c07)

v0.12.35 (2019-09-13)
Features
  • body: identify aborted body write errors (32869224)
v0.12.34 (2019-09-04)
Bug Fixes
  • client: allow client GET requests with explicit body headers (23fc8b08, closes #​1925)
v0.12.33 (2019-09-04)
v0.12.32 (2019-07-08)
Features
  • client: HttpConnector: allow to set socket buffer sizes (386109c4)
v0.12.31 (2019-06-25)
v0.12.30 (2019-06-14)
Bug Fixes
  • http1: force always-ready connections to yield after a few spins (8316f96d)
  • http2: correctly propagate HTTP2 request cancellation (50198851)
v0.12.29 (2019-05-16)
Bug Fixes
  • server: skip automatic Content-Length header for HTTP 304 responses (b342c38f, closes #​1797)
Features

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hyper-0.x branch 5 times, most recently from d4ccbad to 64e8840 Compare August 31, 2021 15:08
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from c0a847e to c772e49 Compare September 1, 2021 10:45
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from c772e49 to b8026ad Compare September 13, 2021 06:26
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from b8026ad to 67628c2 Compare October 4, 2021 03:15
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 67628c2 to 36e787c Compare October 16, 2021 18:29
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from 91ba1d8 to 25909ba Compare November 3, 2021 22:06
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 25909ba to 085acf2 Compare November 15, 2021 04:57
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from dbd1e06 to 746f347 Compare December 12, 2021 11:01
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 746f347 to 1d6516e Compare December 20, 2021 03:54
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 1d6516e to 94be84c Compare January 3, 2022 03:43
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 94be84c to c1cd9bf Compare May 1, 2022 12:04
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from c1cd9bf to c6b6418 Compare May 9, 2022 03:20
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from c6b6418 to 80be7f3 Compare June 6, 2022 04:17
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 80be7f3 to 228ae79 Compare June 20, 2022 05:21
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 228ae79 to cae91db Compare July 4, 2022 03:00
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from cae91db to df0252b Compare July 18, 2022 05:24
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from df0252b to d6fce39 Compare August 1, 2022 03:21
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from d6fce39 to c60e416 Compare August 15, 2022 05:30
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from c60e416 to 5dfb558 Compare September 5, 2022 04:58
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 5dfb558 to 3c3fcd4 Compare September 19, 2022 05:47
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 3c3fcd4 to 0241c26 Compare October 3, 2022 06:38
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 0241c26 to 9e12c13 Compare October 12, 2022 17:36
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 60a05b6 to 77fa2ce Compare June 19, 2023 04:22
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 77fa2ce to 6214d2d Compare July 3, 2023 04:14
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 6214d2d to f8ae334 Compare July 17, 2023 03:32
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from f8ae334 to c79a579 Compare July 24, 2023 04:05
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from c79a579 to db30aad Compare August 7, 2023 04:09
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from db30aad to 5193d2c Compare August 15, 2023 06:05
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 3 times, most recently from 3f76966 to 2acb836 Compare August 29, 2023 07:00
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from fc8e01e to 19dfd0c Compare September 11, 2023 08:20
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from b7d4e83 to da7c67a Compare September 19, 2023 06:53
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from 60e71e6 to 6e63b95 Compare September 26, 2023 07:12
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from db4a0f4 to 20e438b Compare October 10, 2023 06:12
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 3 times, most recently from 4d7a71b to c587276 Compare October 24, 2023 06:51
@renovate renovate bot force-pushed the renovate/hyper-0.x branch 2 times, most recently from bbfa93b to 00f8914 Compare November 7, 2023 07:17
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 00f8914 to 6797a96 Compare November 14, 2023 05:14
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 6797a96 to 89592ab Compare November 21, 2023 06:17
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from 89592ab to a85c05d Compare November 28, 2023 07:34
@renovate renovate bot force-pushed the renovate/hyper-0.x branch from a85c05d to 1d00f56 Compare December 5, 2023 05:08
@renovate renovate bot changed the title Update Rust crate hyper to 0.14 Update Rust crate hyper to 0.14 - autoclosed Dec 6, 2023
@renovate renovate bot closed this Dec 6, 2023
@renovate renovate bot deleted the renovate/hyper-0.x branch December 6, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant