Skip to content

Commit ea8cd3f

Browse files
authored
chore: prepare v0.11.0 release (#1626)
1 parent 209fcbe commit ea8cd3f

File tree

15 files changed

+44
-28
lines changed

15 files changed

+44
-28
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# [](https://github.com/hyperium/tonic/compare/v0.10.2...v0.11.0) (2024-02-08)
2+
3+
BREAKING CHANGES:
4+
5+
- Removed `NamedService` from the `transport` module, please import it via
6+
`tonic::server::NamedService`.
7+
- MSRV bumped to `1.70`.
8+
9+
### Features
10+
11+
- Added `zstd` compression support.
12+
- Added connection timeout for `connecto_with_connector_lazy`.
13+
- Upgrade rustls to `v0.22`
14+
- Feature gate server implementation for `tonic-reflection`.
15+
16+
117
# [0.10.2](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2) (2023-09-28)
218

319

examples/helloworld-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ name = "helloworld-client"
112112
path = "src/client.rs"
113113

114114
[dependencies]
115-
tonic = "0.10"
115+
tonic = "0.11"
116116
prost = "0.12"
117117
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
118118

119119
[build-dependencies]
120-
tonic-build = "0.10"
120+
tonic-build = "0.11"
121121
```
122122

123123
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:

examples/routeguide-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
174174

175175
```toml
176176
[dependencies]
177-
tonic = "0.10"
177+
tonic = "0.11"
178178
prost = "0.12"
179179
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
180180
tokio-stream = "0.1"
@@ -185,7 +185,7 @@ serde_json = "1.0"
185185
rand = "0.7"
186186

187187
[build-dependencies]
188-
tonic-build = "0.10"
188+
tonic-build = "0.11"
189189
```
190190

191191
Create a `build.rs` file at the root of your crate:

tonic-build/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ categories = ["network-programming", "asynchronous"]
44
description = """
55
Codegen module of `tonic` gRPC implementation.
66
"""
7-
documentation = "https://docs.rs/tonic-build/0.10.2"
7+
documentation = "https://docs.rs/tonic-build/0.11.0"
88
edition = "2021"
99
homepage = "https://github.com/hyperium/tonic"
1010
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
1111
license = "MIT"
1212
name = "tonic-build"
1313
readme = "README.md"
1414
repository = "https://github.com/hyperium/tonic"
15-
version = "0.10.2"
15+
version = "0.11.0"
1616

1717
[dependencies]
1818
prettyplease = { version = "0.2" }

tonic-build/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
7171
)]
7272
#![deny(rustdoc::broken_intra_doc_links)]
73-
#![doc(html_root_url = "https://docs.rs/tonic-build/0.10.2")]
73+
#![doc(html_root_url = "https://docs.rs/tonic-build/0.11.0")]
7474
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
7575
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
7676
#![cfg_attr(docsrs, feature(doc_cfg))]

tonic-health/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ categories = ["network-programming", "asynchronous"]
44
description = """
55
Health Checking module of `tonic` gRPC implementation.
66
"""
7-
documentation = "https://docs.rs/tonic-health/0.10.2"
7+
documentation = "https://docs.rs/tonic-health/0.11.0"
88
edition = "2021"
99
homepage = "https://github.com/hyperium/tonic"
1010
keywords = ["rpc", "grpc", "async", "healthcheck"]
1111
license = "MIT"
1212
name = "tonic-health"
1313
readme = "README.md"
1414
repository = "https://github.com/hyperium/tonic"
15-
version = "0.10.2"
15+
version = "0.11.0"
1616

1717
[features]
1818
default = ["transport"]
@@ -23,7 +23,7 @@ async-stream = "0.3"
2323
prost = "0.12"
2424
tokio = {version = "1.0", features = ["sync"]}
2525
tokio-stream = "0.1"
26-
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
26+
tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
2727

2828
[dev-dependencies]
2929
tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}

tonic-health/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
1717
)]
1818
#![deny(rustdoc::broken_intra_doc_links)]
19-
#![doc(html_root_url = "https://docs.rs/tonic-health/0.10.2")]
19+
#![doc(html_root_url = "https://docs.rs/tonic-health/0.11.0")]
2020
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
2121
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
2222
#![cfg_attr(docsrs, feature(doc_cfg))]

tonic-reflection/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Server Reflection module of `tonic` gRPC implementation.
99
"""
1010
edition = "2021"
1111
homepage = "https://github.com/hyperium/tonic"
12-
documentation = "https://docs.rs/tonic-reflection/0.10.2"
12+
documentation = "https://docs.rs/tonic-reflection/0.11.0"
1313
keywords = ["rpc", "grpc", "async", "reflection"]
1414
license = "MIT"
1515
name = "tonic-reflection"
1616
readme = "README.md"
1717
repository = "https://github.com/hyperium/tonic"
18-
version = "0.10.2"
18+
version = "0.11.0"
1919

2020
[package.metadata.docs.rs]
2121
all-features = true
@@ -30,7 +30,7 @@ prost = "0.12"
3030
prost-types = {version = "0.12", optional = true}
3131
tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
3232
tokio-stream = {version = "0.1", features = ["net"], optional = true }
33-
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
33+
tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
3434

3535
[dev-dependencies]
36-
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["transport"] }
36+
tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["transport"] }

tonic-reflection/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
1111
)]
1212
#![deny(rustdoc::broken_intra_doc_links)]
13-
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.10.2")]
13+
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.11.0")]
1414
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
1515
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
1616
#![cfg_attr(docsrs, feature(doc_cfg))]

tonic-types/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ categories = ["web-programming", "network-programming", "asynchronous"]
77
description = """
88
A collection of useful protobuf types that can be used with `tonic`.
99
"""
10-
documentation = "https://docs.rs/tonic-types/0.10.2"
10+
documentation = "https://docs.rs/tonic-types/0.11.0"
1111
edition = "2021"
1212
homepage = "https://github.com/hyperium/tonic"
1313
keywords = ["rpc", "grpc", "protobuf"]
1414
license = "MIT"
1515
name = "tonic-types"
1616
readme = "README.md"
1717
repository = "https://github.com/hyperium/tonic"
18-
version = "0.10.2"
18+
version = "0.11.0"
1919

2020
[dependencies]
2121
prost = "0.12"
2222
prost-types = "0.12"
23-
tonic = {version = "0.10", path = "../tonic", default-features = false}
23+
tonic = {version = "0.11", path = "../tonic", default-features = false}

0 commit comments

Comments
 (0)