chore: Prepare alpha.5 release (#108)

Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
This commit is contained in:
Lucio Franco
2019-10-31 14:26:35 -04:00
committed by GitHub
parent 5c2f4dba32
commit 3a39b1e7c8
7 changed files with 34 additions and 12 deletions
+23 -1
View File
@@ -1,4 +1,26 @@
# [0.1.0-alpha.4](https://github.com/hyperium/tonic/compare/v0.1.0-alpha.3...v0.1.0-alpha.4) (October 23, 2019)
# [0.1.0-alpha.5](https://github.com/hyperium/tonic/compare/v0.1.0-alpha.5...v0.1.0-alpha.5) (October 23, 2019)
### Bug Fixes
* **build:** Fix missing argument in generate_connect ([#95](https://github.com/hyperium/tonic/issues/95)) ([eea3c0f](https://github.com/hyperium/tonic/commit/eea3c0f))
* **codec:** Enforce encoders/decoders are `Sync` ([#84](https://github.com/hyperium/tonic/issues/84)) ([3ce61d9](https://github.com/hyperium/tonic/commit/3ce61d9)), closes [#81](https://github.com/hyperium/tonic/issues/81)
* **codec:** Remove custom content-type ([#104](https://github.com/hyperium/tonic/issues/104)) ([a17049f](https://github.com/hyperium/tonic/commit/a17049f))
### Features
* **transport:** Add service multiplexing/routing ([#99](https://github.com/hyperium/tonic/issues/99)) ([5b4f468](https://github.com/hyperium/tonic/commit/5b4f468)), closes [#29](https://github.com/hyperium/tonic/issues/29)
* **transport:** Change channel connect to be async ([#107](https://github.com/hyperium/tonic/issues/107)) ([5c2f4db](https://github.com/hyperium/tonic/commit/5c2f4db))
* Add `IntoRequest` and `IntoStreamingRequest` traits ([#66](https://github.com/hyperium/tonic/issues/66)) ([4bb087b](https://github.com/hyperium/tonic/commit/4bb087b))
### BREAKING CHANGES
* **transport:** `Endpoint::channel` was removed in favor of an async `Endpoint::connect`.
* **codec** `Streaming<T>` now requires that the inner stream also implements `Sync`.
* **codec** `Codec` trait no longer requires `CONTENT_TYPE` and now always uses `application/grpc`.
# [0.1.0-alpha.5](https://github.com/hyperium/tonic/compare/v0.1.0-alpha.3...v0.1.0-alpha.5) (October 23, 2019)
### Bug Fixes
+2 -2
View File
@@ -1,10 +1,10 @@
[package]
name = "tonic-build"
version = "0.1.0-alpha.4"
version = "0.1.0-alpha.5"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic/0.1.0-alpha.4/tonic/"
documentation = "https://docs.rs/tonic/0.1.0-alpha.5/tonic/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
+1 -1
View File
@@ -53,7 +53,7 @@
#![doc(
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
)]
#![doc(html_root_url = "https://docs.rs/tonic/0.1.0-alpha.4")]
#![doc(html_root_url = "https://docs.rs/tonic-build/0.1.0-alpha.5")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
+2 -2
View File
@@ -116,14 +116,14 @@ name = "helloworld-client"
path = "src/client.rs"
[dependencies]
tonic = "0.1.0-alpha.4"
tonic = "0.1.0-alpha.5"
bytes = "0.4"
prost = "0.5"
prost-derive = "0.5"
tokio = "=0.2.0-alpha.6"
[build-dependencies]
tonic-build = "0.1.0-alpha.4"
tonic-build = "0.1.0-alpha.5"
```
We include `tonic-build` as a useful way to incorporate the generation of our client and server gRPC code into the build process of our application. We will setup this build process now:
+2 -2
View File
@@ -192,10 +192,10 @@ serde_json = "1.0"
prost = "0.5"
rand = "0.7.2"
tokio = "0.2.0-alpha.6"
tonic = "0.1.0-alpha.4"
tonic = "0.1.0-alpha.5"
[build-dependencies]
tonic-build = "0.1.0-alpha.4"
tonic-build = "0.1.0-alpha.5"
```
Create a `build.rs` file at the root of your crate:
+3 -3
View File
@@ -8,11 +8,11 @@ name = "tonic"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.1.0-alpha.4"
version = "0.1.0-alpha.5"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic/0.1.0-alpha.4/tonic/"
documentation = "https://docs.rs/tonic/0.1.0-alpha.5/tonic/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
@@ -75,7 +75,7 @@ tokio-openssl = { version = "=0.4.0-alpha.6", optional = true }
openssl1 = { package = "openssl", version = "0.10", optional = true }
# rustls
tokio-rustls = { version = "=0.12.0-alpha.4", optional = true }
tokio-rustls = { version = "=0.12.0-alpha.5", optional = true }
[dev-dependencies]
static_assertions = "1.0"
+1 -1
View File
@@ -71,7 +71,7 @@
#![doc(
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
)]
#![doc(html_root_url = "https://docs.rs/tonic/0.1.0-alpha.4")]
#![doc(html_root_url = "https://docs.rs/tonic/0.1.0-alpha.5")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
#![cfg_attr(docsrs, feature(doc_cfg))]