Skip to content

Commit 0c2a727

Browse files
committed
v0.13.0-alpha.1
1 parent 4c552a4 commit 0c2a727

File tree

3 files changed

+47
-8
lines changed

3 files changed

+47
-8
lines changed

CHANGELOG.md

+41
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
### v0.13.0-alpha.1 (2019-09-04)
2+
3+
4+
#### Bug Fixes
5+
6+
* **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))
7+
8+
9+
#### Features
10+
11+
* **body:**
12+
* change `Sender::send_data` to an `async fn`. ([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385))
13+
* Update `Payload` to be a trait alias of `http_body::Body` (#1908) ([79c32f89](https://github.com/hyperium/hyper/commit/79c32f89530e47735155eb9bd19466bcb6aec90d))
14+
* require `Sync` when wrapping a dynamic `Stream` ([44413721](https://github.com/hyperium/hyper/commit/4441372121e8b278ac773ddd4e408a642dadf2d8))
15+
* **client:**
16+
* provide tower::Service support for clients (#1915) ([eee2a728](https://github.com/hyperium/hyper/commit/eee2a728797346f8c96c15c5958a05432a4e4453))
17+
* change `GaiResolver` to use a global blocking threadpool ([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74))
18+
* **lib:** update to `std::future::Future` ([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0))
19+
* **rt:** export `hyper::rt::main` attribute macro ([f0478c62](https://github.com/hyperium/hyper/commit/f0478c62677a953aae84aa8d976bec1d28ef21b1))
20+
* **service:** use tower_service::Service for hyper::service ([ec520d56](https://github.com/hyperium/hyper/commit/ec520d5602d819fd92f497cc230df436c1a39eb0))
21+
22+
23+
#### Breaking Changes
24+
25+
* Usage of `send_data` should either be changed to
26+
async/await or use `try_send_data`.
27+
28+
([62a96c07](https://github.com/hyperium/hyper/commit/62a96c077b85792fbf6eb080ec8fec646c47e385))
29+
* Calls to `GaiResolver::new` and `HttpConnector::new` no
30+
longer should pass an integer argument for the number of threads.
31+
32+
([049b5132](https://github.com/hyperium/hyper/commit/049b5132dbb6199a32e1795d005003f99d0e0b74))
33+
* All usage of async traits (`Future`, `Stream`,
34+
`AsyncRead`, `AsyncWrite`, etc) are updated to newer versions.
35+
36+
([8f4b05ae](https://github.com/hyperium/hyper/commit/8f4b05ae78567dfc52236bc83d7be7b7fc3eebb0))
37+
38+
39+
### v0.12.33 (2019-09-04)
40+
41+
142
### v0.12.32 (2019-07-08)
243

344

Cargo.toml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hyper"
3-
version = "0.13.0-a.0" # don't forget to update html_root_url
3+
version = "0.13.0-alpha.1" # don't forget to update html_root_url
44
description = "A fast and correct HTTP library."
55
readme = "README.md"
66
homepage = "https://hyper.rs"
@@ -12,8 +12,6 @@ keywords = ["http", "hyper", "hyperium"]
1212
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
1313
edition = "2018"
1414

15-
publish = false
16-
1715
include = [
1816
"Cargo.toml",
1917
"LICENSE",
@@ -27,19 +25,19 @@ futures-core-preview = { version = "=0.3.0-alpha.18" }
2725
futures-channel-preview = { version = "=0.3.0-alpha.18" }
2826
futures-util-preview = { version = "=0.3.0-alpha.18" }
2927
http = "0.1.15"
30-
http-body = "0.2.0-alpha.1"
28+
http-body = "=0.2.0-alpha.1"
3129
httparse = "1.0"
32-
h2 = { git = "https://github.com/hyperium/h2" }
30+
h2 = "=0.2.0-alpha.1"
3331
iovec = "0.1"
3432
itoa = "0.4.1"
3533
log = "0.4"
3634
net2 = { version = "0.2.32", optional = true }
37-
pin-project = { version = "0.4.0-alpha.7", features = ["project_attr"] }
35+
pin-project = { version = "=0.4.0-alpha.7", features = ["project_attr"] }
3836

3937
time = "0.1"
4038
tokio = { version = "=0.2.0-alpha.4", optional = true, default-features = false, features = ["rt-full"] }
4139
tower-service = "=0.3.0-alpha.1"
42-
tower-make = { version = "0.1.0-alpha.2", features = ['io'] }
40+
tower-make = { version = "=0.1.0-alpha.2", features = ['io'] }
4341
tokio-executor = { version = "=0.2.0-alpha.4", features = ["blocking"] }
4442
tokio-io = "=0.2.0-alpha.4"
4543
tokio-sync = "=0.2.0-alpha.4"

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/hyper/0.12.32")]
1+
#![doc(html_root_url = "https://docs.rs/hyper/0.13.0-alpha.1")]
22
#![deny(missing_docs)]
33
#![deny(missing_debug_implementations)]
44
#![deny(rust_2018_idioms)]

0 commit comments

Comments
 (0)