diff --git a/CHANGELOG.md b/CHANGELOG.md index cf8c328..9da18f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` 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 diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index 16c53fa..3909d85 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "tonic-build" -version = "0.1.0-alpha.4" +version = "0.1.0-alpha.5" authors = ["Lucio Franco "] 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 = """ diff --git a/tonic-build/src/lib.rs b/tonic-build/src/lib.rs index 3fdff53..b6e28d8 100644 --- a/tonic-build/src/lib.rs +++ b/tonic-build/src/lib.rs @@ -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))))] diff --git a/tonic-examples/helloworld-tutorial.md b/tonic-examples/helloworld-tutorial.md index 88d504a..43e1619 100644 --- a/tonic-examples/helloworld-tutorial.md +++ b/tonic-examples/helloworld-tutorial.md @@ -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: diff --git a/tonic-examples/routeguide-tutorial.md b/tonic-examples/routeguide-tutorial.md index d6b75f6..a259712 100644 --- a/tonic-examples/routeguide-tutorial.md +++ b/tonic-examples/routeguide-tutorial.md @@ -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: diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 527b754..716aa17 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -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 "] 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" diff --git a/tonic/src/lib.rs b/tonic/src/lib.rs index af5c672..d7657d7 100644 --- a/tonic/src/lib.rs +++ b/tonic/src/lib.rs @@ -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))]