chore: Prepare 0.3.0 release (#399)

* chore: Prepare 0.3.0 release

* update changelog

* fix builds

* Update breaking changes
This commit is contained in:
Lucio Franco
2020-07-13 13:00:54 -04:00
committed by GitHub
parent 570c606397
commit 62b8ab0b51
8 changed files with 17 additions and 11 deletions
+7 -1
View File
@@ -1,5 +1,6 @@
# [0.2.2](https://github.com/hyperium/tonic/compare/v0.2.1...v0.2.2) (2020-07-10)
# [0.3.0](https://github.com/hyperium/tonic/compare/v0.2.1...v0.3.0) (2020-07-13)
* Bump `base64` to `0.12` and `tokio-rustls`/`rustls-native-certs` to `0.14`/`0.4`. ([#397](https://github.com/hyperium/tonic/pull/397) ([570c606](https://github.com/hyperium/tonic/commit/570c606397e47406ec148fe1763586e87a8f5298))).
### Bug Fixes
@@ -22,6 +23,11 @@
* Add metadata to error responses ([#348](https://github.com/hyperium/tonic/issues/348)) ([372da52](https://github.com/hyperium/tonic/commit/372da52e96114ca76cc221f3c598be82bfae970c))
* Add new method get_uri for Endpoint ([#371](https://github.com/hyperium/tonic/issues/371)) ([54d7a7a](https://github.com/hyperium/tonic/commit/54d7a7af6b6530b80353c5741586c38cca8382c9))
### BREAKING CHANGES
* Bumped rustls to `0.18`.
* Endpoint `tls_config` now returns a result.
# [0.2.1](https://github.com/hyperium/tonic/compare/v0.2.0...v0.2.1) (2020-05-07)
+2 -2
View File
@@ -113,12 +113,12 @@ name = "helloworld-client"
path = "src/client.rs"
[dependencies]
tonic = "0.2"
tonic = "0.3"
prost = "0.6"
tokio = { version = "0.2", features = ["macros"] }
[build-dependencies]
tonic-build = "0.2"
tonic-build = "0.3"
```
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
@@ -180,7 +180,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.2"
tonic = "0.3"
prost = "0.6"
futures-core = "0.3"
futures-util = "0.3"
@@ -192,7 +192,7 @@ serde_json = "1.0"
rand = "0.7"
[build-dependencies]
tonic-build = "0.2"
tonic-build = "0.3"
```
Create a `build.rs` file at the root of your crate:
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tonic-build"
version = "0.2.2"
version = "0.3.0"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
+1 -1
View File
@@ -52,7 +52,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-build/0.2.2")]
#![doc(html_root_url = "https://docs.rs/tonic-build/0.3.0")]
#![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))]
+2 -2
View File
@@ -20,7 +20,7 @@ transport = ["tonic/transport"]
[dependencies]
async-stream = "0.2"
tokio = { version = "0.2", features = ["sync", "stream"] }
tonic = { version = "0.2", path = "../tonic", features = ["codegen", "prost"] }
tonic = { version = "0.3", path = "../tonic", features = ["codegen", "prost"] }
bytes = "0.5"
prost = "0.6"
@@ -28,4 +28,4 @@ prost = "0.6"
tokio = { version = "0.2", features = ["rt-core", "macros"]}
[build-dependencies]
tonic-build = { version = "0.2", path = "../tonic-build" }
tonic-build = { version = "0.3", path = "../tonic-build" }
+1 -1
View File
@@ -8,7 +8,7 @@ name = "tonic"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.2.2"
version = "0.3.0"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
+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.2.2")]
#![doc(html_root_url = "https://docs.rs/tonic/0.3.0")]
#![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))]