chore: Prepare 0.6.0 release (#811)
This commit is contained in:
@@ -1,3 +1,28 @@
|
||||
# [0.6.0](https://github.com/hyperium/tonic/compare/v0.5.2...v0.6.0) (2021-10-25)
|
||||
|
||||
### Breaking changes
|
||||
|
||||
* **tonic:** Remove `Sync` requirement for streams ([#804](https://github.com/hyperium/tonic/issues/804)) ([23c1392](https://github.com/hyperium/tonic/commit/23c1392fb7e0ac50bcdedc35509917061bc858e1))
|
||||
* **tonic:** change `connect_lazy` to be infallible ([#712](https://github.com/hyperium/tonic/issues/712)) ([2e47154](https://github.com/hyperium/tonic/commit/2e471548d89be98d26b2332d059a24a3fc15ec23))
|
||||
* **build:** split path types in compile ([#721](https://github.com/hyperium/tonic/issues/721)) ([53ecc1f](https://github.com/hyperium/tonic/commit/53ecc1f85e7f7eeb0dce4ab23432d6c36d8a46b0))
|
||||
* Update `prost` and friends to 0.9 ([#791](https://github.com/hyperium/tonic/issues/791)) ([09805ec](https://github.com/hyperium/tonic/commit/09805ece453047bf609b1a69c72931eae6e1144a))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **build:** Correctly convert `Empty` to `()` ([#734](https://github.com/hyperium/tonic/issues/734)) ([ff6a690](https://github.com/hyperium/tonic/commit/ff6a690cec9daca33984cabea66f9d370ac63462))
|
||||
* **tonic:** fix extensions disappearing during streaming requests ([5c1bb90](https://github.com/hyperium/tonic/commit/5c1bb90ce82ecf90843a7c959edd7ef8fc280f62)), closes [#770](https://github.com/hyperium/tonic/issues/770)
|
||||
* **tonic:** Status code to set correct source on unkown error ([#799](https://github.com/hyperium/tonic/issues/799)) ([4054d61](https://github.com/hyperium/tonic/commit/4054d61e14b9794a72b48de1a051c26129ec36b1))
|
||||
* **transport:** AddOrigin panic on invalid uri ([#801](https://github.com/hyperium/tonic/issues/801)) ([3ab00f3](https://github.com/hyperium/tonic/commit/3ab00f304dd204fccf00d1995e635fa6b2f8503b))
|
||||
* **transport:** Correctly map hyper errors ([#629](https://github.com/hyperium/tonic/issues/629)) ([4947b07](https://github.com/hyperium/tonic/commit/4947b076f5b0b5149ee7f6144515535b85f65db5))
|
||||
* **tonic:** compression: handle compression flag but no header (#763)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **build:** Support prost's include_file option ([#774](https://github.com/hyperium/tonic/issues/774)) ([3f9ab80](https://github.com/hyperium/tonic/commit/3f9ab801f7ee50ec04ab0f73cd457898dc687e61))
|
||||
* **health, reflection:** make rustfmt dependency optional (#785)
|
||||
|
||||
|
||||
# [0.5.2](https://github.com/hyperium/tonic/compare/v0.5.1...v0.5.2) (2021-08-10)
|
||||
|
||||
* **tonic:** add `Interceptor` trait (#713) ([#713](https://github.com/hyperium/tonic/issues/713)) ([8c8f4d1](https://github.com/hyperium/tonic/commit/8c8f4d1))
|
||||
|
||||
@@ -113,12 +113,12 @@ name = "helloworld-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
tonic = "0.5"
|
||||
prost = "0.8"
|
||||
tonic = "0.6"
|
||||
prost = "0.9"
|
||||
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.5"
|
||||
tonic-build = "0.6"
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
@@ -180,8 +180,8 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tonic = "0.5"
|
||||
prost = "0.8"
|
||||
tonic = "0.6"
|
||||
prost = "0.9"
|
||||
futures-core = "0.3"
|
||||
futures-util = "0.3"
|
||||
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
|
||||
@@ -193,7 +193,7 @@ serde_json = "1.0"
|
||||
rand = "0.7"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.5"
|
||||
tonic-build = "0.6"
|
||||
```
|
||||
|
||||
Create a `build.rs` file at the root of your crate:
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
|
||||
)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-build/0.5.2")]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-build/0.6.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))]
|
||||
|
||||
@@ -12,7 +12,7 @@ license = "MIT"
|
||||
name = "tonic-health"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/hyperium/tonic"
|
||||
version = "0.4.1"
|
||||
version = "0.5.0"
|
||||
|
||||
[features]
|
||||
default = ["transport", "rustfmt"]
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
|
||||
)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-health/0.4.1")]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-health/0.5.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))]
|
||||
|
||||
@@ -14,7 +14,7 @@ license = "MIT"
|
||||
name = "tonic-reflection"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/hyperium/tonic"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["rustfmt"]
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
|
||||
)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.2.0")]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-reflection/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))]
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
|
||||
)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-types/0.2.0")]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-types/0.3.0")]
|
||||
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
|
||||
|
||||
mod pb {
|
||||
|
||||
@@ -4,7 +4,7 @@ categories = ["network-programming", "asynchronous"]
|
||||
description = """
|
||||
grpc-web protocol translation for tonic services.
|
||||
"""
|
||||
documentation = "https://docs.rs/tonic-web/0.1.0/tonic-web/"
|
||||
documentation = "https://docs.rs/tonic-web/0.2.0/tonic-web/"
|
||||
edition = "2021"
|
||||
homepage = "https://github.com/hyperium/tonic"
|
||||
keywords = ["rpc", "grpc", "grpc-web"]
|
||||
@@ -12,7 +12,7 @@ license = "MIT"
|
||||
name = "tonic-web"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/hyperium/tonic"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.13"
|
||||
|
||||
@@ -84,6 +84,8 @@
|
||||
rust_2018_idioms,
|
||||
unreachable_pub
|
||||
)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.3.0")]
|
||||
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
|
||||
|
||||
pub use config::Config;
|
||||
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
|
||||
)]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic/0.5.2")]
|
||||
#![doc(html_root_url = "https://docs.rs/tonic/0.6.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))]
|
||||
|
||||
Reference in New Issue
Block a user