chore: Prepare alpha.5 release (#108)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
+23
-1
@@ -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
|
### Bug Fixes
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-build"
|
name = "tonic-build"
|
||||||
version = "0.1.0-alpha.4"
|
version = "0.1.0-alpha.5"
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
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"
|
repository = "https://github.com/hyperium/tonic"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
description = """
|
description = """
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
#![doc(
|
#![doc(
|
||||||
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
|
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(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
|
||||||
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
||||||
|
|
||||||
|
|||||||
@@ -116,14 +116,14 @@ name = "helloworld-client"
|
|||||||
path = "src/client.rs"
|
path = "src/client.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = "0.1.0-alpha.4"
|
tonic = "0.1.0-alpha.5"
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
prost = "0.5"
|
prost = "0.5"
|
||||||
prost-derive = "0.5"
|
prost-derive = "0.5"
|
||||||
tokio = "=0.2.0-alpha.6"
|
tokio = "=0.2.0-alpha.6"
|
||||||
|
|
||||||
[build-dependencies]
|
[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:
|
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:
|
||||||
|
|||||||
@@ -192,10 +192,10 @@ serde_json = "1.0"
|
|||||||
prost = "0.5"
|
prost = "0.5"
|
||||||
rand = "0.7.2"
|
rand = "0.7.2"
|
||||||
tokio = "0.2.0-alpha.6"
|
tokio = "0.2.0-alpha.6"
|
||||||
tonic = "0.1.0-alpha.4"
|
tonic = "0.1.0-alpha.5"
|
||||||
|
|
||||||
[build-dependencies]
|
[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:
|
Create a `build.rs` file at the root of your crate:
|
||||||
|
|||||||
+3
-3
@@ -8,11 +8,11 @@ name = "tonic"
|
|||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.1.x" git tag.
|
# - Create "v0.1.x" git tag.
|
||||||
version = "0.1.0-alpha.4"
|
version = "0.1.0-alpha.5"
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
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"
|
repository = "https://github.com/hyperium/tonic"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
description = """
|
description = """
|
||||||
@@ -75,7 +75,7 @@ tokio-openssl = { version = "=0.4.0-alpha.6", optional = true }
|
|||||||
openssl1 = { package = "openssl", version = "0.10", optional = true }
|
openssl1 = { package = "openssl", version = "0.10", optional = true }
|
||||||
|
|
||||||
# rustls
|
# rustls
|
||||||
tokio-rustls = { version = "=0.12.0-alpha.4", optional = true }
|
tokio-rustls = { version = "=0.12.0-alpha.5", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
static_assertions = "1.0"
|
static_assertions = "1.0"
|
||||||
|
|||||||
+1
-1
@@ -71,7 +71,7 @@
|
|||||||
#![doc(
|
#![doc(
|
||||||
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
|
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(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
|
||||||
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
||||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
|
|||||||
Reference in New Issue
Block a user