From 61a770dedff105754161c487d500de9ede19d04b Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Thu, 19 Dec 2019 18:44:25 -0500 Subject: [PATCH] chore: Prepare `0.1.0-beta.1` release (#200) * chore: Prepare `0.1.0-beta.1` release * Update changelog * Fix tower paths --- CHANGELOG.md | 43 ++++++++++++++++++++++++++++++++++++++++++ tonic-build/Cargo.toml | 4 ++-- tonic-build/src/lib.rs | 2 +- tonic/Cargo.toml | 6 +++--- tonic/src/lib.rs | 2 +- 5 files changed, 50 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f576cdb..eadddab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +# [0.1.0-beta.1](https://github.com/hyperium/tonic/compare/v0.1.0-alpha.6...v0.1.0-beta.1) (December 19, 2019) + + +### Bug Fixes + +* **build:** Allow creating multiple services in the same package ([#173](https://github.com/hyperium/tonic/issues/173)) ([0847b67](https://github.com/hyperium/tonic/commit/0847b67)) +* **build:** Prevent duplicated client/server generated code ([#121](https://github.com/hyperium/tonic/issues/121)) ([b02b4b2](https://github.com/hyperium/tonic/commit/b02b4b2)) +* **build:** Remove async ready ([#185](https://github.com/hyperium/tonic/issues/185)) ([97d5363](https://github.com/hyperium/tonic/commit/97d5363)) +* **build:** snake_case service names ([#190](https://github.com/hyperium/tonic/issues/190)) ([3a5c66d](https://github.com/hyperium/tonic/commit/3a5c66d)) +* **docs:** typo in lib.rs ([#142](https://github.com/hyperium/tonic/issues/142)) ([c63c107](https://github.com/hyperium/tonic/commit/c63c107)) +* **examples:** Remove use of VecDeque as a placeholder type ([#143](https://github.com/hyperium/tonic/issues/143)) ([354d4fd](https://github.com/hyperium/tonic/commit/354d4fd)) +* **transport:** Fix infinite recursion in `poll_ready` ([#192](https://github.com/hyperium/tonic/issues/192)) ([c99d13c](https://github.com/hyperium/tonic/commit/c99d13c)), closes [#184](https://github.com/hyperium/tonic/issues/184) [#191](https://github.com/hyperium/tonic/issues/191) +* **transport:** Fix lazily reconnecting ([#187](https://github.com/hyperium/tonic/issues/187)) ([0505dff](https://github.com/hyperium/tonic/commit/0505dff)), closes [#167](https://github.com/hyperium/tonic/issues/167) +* **transport:** Load balance connecting panic ([#128](https://github.com/hyperium/tonic/issues/128)) ([23e7695](https://github.com/hyperium/tonic/commit/23e7695)), closes [#127](https://github.com/hyperium/tonic/issues/127) +* **transport:** Remove support for OpenSSL ([#141](https://github.com/hyperium/tonic/issues/141)) ([8506050](https://github.com/hyperium/tonic/commit/8506050)) +* **transport:** Remove with_rustls for tls config ([#188](https://github.com/hyperium/tonic/issues/188)) ([502491a](https://github.com/hyperium/tonic/commit/502491a)) +* Sanitize custom metadata ([#138](https://github.com/hyperium/tonic/issues/138)) ([f9502df](https://github.com/hyperium/tonic/commit/f9502df)) +* **transport:** Update builders to move self ([#132](https://github.com/hyperium/tonic/issues/132)) ([85ef18f](https://github.com/hyperium/tonic/commit/85ef18f)) + + +### Features + +* **transport:** Add `remote_addr` to `Request` on the server si… ([#186](https://github.com/hyperium/tonic/issues/186)) ([3eb76ab](https://github.com/hyperium/tonic/commit/3eb76ab)) +* **transport:** Add server graceful shutdown ([#169](https://github.com/hyperium/tonic/issues/169)) ([393a57e](https://github.com/hyperium/tonic/commit/393a57e)) +* **transport:** Add system root anchors for TLS ([#114](https://github.com/hyperium/tonic/issues/114)) ([ac0e333](https://github.com/hyperium/tonic/commit/ac0e333)), closes [#101](https://github.com/hyperium/tonic/issues/101) +* **transport:** Add tracing support to server ([#175](https://github.com/hyperium/tonic/issues/175)) ([f46a454](https://github.com/hyperium/tonic/commit/f46a454)) +* **transport:** Allow custom IO and UDS example ([#184](https://github.com/hyperium/tonic/issues/184)) ([b90c340](https://github.com/hyperium/tonic/commit/b90c340)), closes [#136](https://github.com/hyperium/tonic/issues/136) +* expose tcp_nodelay for clients and servers ([#145](https://github.com/hyperium/tonic/issues/145)) ([0eb9991](https://github.com/hyperium/tonic/commit/0eb9991)) +* **transport:** Enable TCP_NODELAY. ([#120](https://github.com/hyperium/tonic/issues/120)) ([0299509](https://github.com/hyperium/tonic/commit/0299509)) +* **transport:** Expose tcp keepalive to clients & servers ([#151](https://github.com/hyperium/tonic/issues/151)) ([caccfad](https://github.com/hyperium/tonic/commit/caccfad)) +* Add `Status` constructors ([#137](https://github.com/hyperium/tonic/issues/137)) ([997241c](https://github.com/hyperium/tonic/commit/997241c)) + + +### BREAKING CHANGES + +* **build:** Build will now generate each service client and server into their own modules. +* **build:** Remove async ready from generated clients. +* **transport:** Remove tls config usage of `with_rustls` for `new`. +* **transport:** Remove support for OpenSSL within the transport. +* **transport:** Update builders to move self + + + # [0.1.0-alpha.6](https://github.com/hyperium/tonic/compare/v0.1.0-alpha.5...v0.1.0-alpha.6) (November 10, 2019) ### Bug Fixes diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index ee7c4fc..85c1065 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "tonic-build" -version = "0.1.0-alpha.6" +version = "0.1.0-beta.1" authors = ["Lucio Franco "] edition = "2018" license = "MIT" -documentation = "https://docs.rs/tonic/0.1.0-alpha.5/tonic/" +documentation = "https://docs.rs/tonic/0.1.0-beta.1/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 6c1ce2b..17bfd15 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-build/0.1.0-alpha.6")] +#![doc(html_root_url = "https://docs.rs/tonic-build/0.1.0-beta.1")] #![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/Cargo.toml b/tonic/Cargo.toml index 262edbb..0a6f850 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.6" +version = "0.1.0-beta.1" authors = ["Lucio Franco "] edition = "2018" license = "MIT" -documentation = "https://docs.rs/tonic/0.1.0-alpha.5/tonic/" +documentation = "https://docs.rs/tonic/0.1.0-beta.1/tonic/" repository = "https://github.com/hyperium/tonic" homepage = "https://github.com/hyperium/tonic" description = """ @@ -69,7 +69,7 @@ tower = { version = "0.3", optional = true} tower-make = { version = "0.3", features = ["connect"] } tower-balance = { version = "0.3", optional = true } tower-load = { version = "0.3", optional = true } -tracing-futures = { version = "0.2", optional = true } +tracing-futures = { version = "0.2", optional = true } # rustls tokio-rustls = { version = "0.12", optional = true } diff --git a/tonic/src/lib.rs b/tonic/src/lib.rs index 5851feb..8e79498 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.6")] +#![doc(html_root_url = "https://docs.rs/tonic/0.1.0-beta.1")] #![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))]