From 0c2a7279700ddb8e9235e4d26633dda56725f2fe Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 4 Sep 2019 11:16:49 -0700 Subject: [PATCH] v0.13.0-alpha.1 --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 12 +++++------- src/lib.rs | 2 +- 3 files changed, 47 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4596c33b..31c8c71e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +### v0.13.0-alpha.1 (2019-09-04) + + +#### Bug Fixes + +* **server:** change `Builder` window size methods to be by-value ([a22dabd0](https://github.com/hyperium/hyper/commit/a22dabd0935e5471fb6b7e511fc9c585ced0a53a), closes [#1814](https://github.com/hyperium/hyper/issues/1814)) + + +#### Features + +* **body:** + * change `Sender::send_data` to an `async fn`. ([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385)) + * Update `Payload` to be a trait alias of `http_body::Body` (#1908) ([79c32f89](https://github.com/hyperium/hyper/commit/79c32f89530e47735155eb9bd19466bcb6aec90d)) + * require `Sync` when wrapping a dynamic `Stream` ([44413721](https://github.com/hyperium/hyper/commit/4441372121e8b278ac773ddd4e408a642dadf2d8)) +* **client:** + * provide tower::Service support for clients (#1915) ([eee2a728](https://github.com/hyperium/hyper/commit/eee2a728797346f8c96c15c5958a05432a4e4453)) + * change `GaiResolver` to use a global blocking threadpool ([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74)) +* **lib:** update to `std::future::Future` ([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0)) +* **rt:** export `hyper::rt::main` attribute macro ([f0478c62](https://github.com/hyperium/hyper/commit/f0478c62677a953aae84aa8d976bec1d28ef21b1)) +* **service:** use tower_service::Service for hyper::service ([ec520d56](https://github.com/hyperium/hyper/commit/ec520d5602d819fd92f497cc230df436c1a39eb0)) + + +#### Breaking Changes + +* Usage of `send_data` should either be changed to + async/await or use `try_send_data`. + + ([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385)) +* Calls to `GaiResolver::new` and `HttpConnector::new` no + longer should pass an integer argument for the number of threads. + + ([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74)) +* All usage of async traits (`Future`, `Stream`, +`AsyncRead`, `AsyncWrite`, etc) are updated to newer versions. + + ([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0)) + + +### v0.12.33 (2019-09-04) + + ### v0.12.32 (2019-07-08) diff --git a/Cargo.toml b/Cargo.toml index b77c149c..37584cf1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hyper" -version = "0.13.0-a.0" # don't forget to update html_root_url +version = "0.13.0-alpha.1" # don't forget to update html_root_url description = "A fast and correct HTTP library." readme = "README.md" homepage = "https://hyper.rs" @@ -12,8 +12,6 @@ keywords = ["http", "hyper", "hyperium"] categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"] edition = "2018" -publish = false - include = [ "Cargo.toml", "LICENSE", @@ -27,19 +25,19 @@ futures-core-preview = { version = "=0.3.0-alpha.18" } futures-channel-preview = { version = "=0.3.0-alpha.18" } futures-util-preview = { version = "=0.3.0-alpha.18" } http = "0.1.15" -http-body = "0.2.0-alpha.1" +http-body = "=0.2.0-alpha.1" httparse = "1.0" -h2 = { git = "https://github.com/hyperium/h2" } +h2 = "=0.2.0-alpha.1" iovec = "0.1" itoa = "0.4.1" log = "0.4" net2 = { version = "0.2.32", optional = true } -pin-project = { version = "0.4.0-alpha.7", features = ["project_attr"] } +pin-project = { version = "=0.4.0-alpha.7", features = ["project_attr"] } time = "0.1" tokio = { version = "=0.2.0-alpha.4", optional = true, default-features = false, features = ["rt-full"] } tower-service = "=0.3.0-alpha.1" -tower-make = { version = "0.1.0-alpha.2", features = ['io'] } +tower-make = { version = "=0.1.0-alpha.2", features = ['io'] } tokio-executor = { version = "=0.2.0-alpha.4", features = ["blocking"] } tokio-io = "=0.2.0-alpha.4" tokio-sync = "=0.2.0-alpha.4" diff --git a/src/lib.rs b/src/lib.rs index c9fd1bcd..35fc3b1b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/hyper/0.12.32")] +#![doc(html_root_url = "https://docs.rs/hyper/0.13.0-alpha.1")] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(rust_2018_idioms)]