Skip to content

Commit

Permalink
chore: prepare v0.11.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioFranco committed Feb 8, 2024
1 parent 23106dd commit 233a1a6
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 28 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,19 @@
# [](https://github.com/hyperium/tonic/compare/v0.10.2...v0.11.0) (2024-02-08)

BREAKING CHANGES:

- Removed `NamedService` from the `transport` module, please import it via
`tonic::server::NamedService`.
- MSRV bumped to `1.70`.

### Features

- Added `zstd` compression support.
- Added connection timeout for `connecto_with_connector_lazy`.
- Upgrade rustls to `v0.22`
- Feature gate server implementation for `tonic-reflection`.


# [0.10.2](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2) (2023-09-28)


Expand Down
4 changes: 2 additions & 2 deletions examples/helloworld-tutorial.md
Expand Up @@ -112,12 +112,12 @@ name = "helloworld-client"
path = "src/client.rs"

[dependencies]
tonic = "0.10"
tonic = "0.11"
prost = "0.12"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }

[build-dependencies]
tonic-build = "0.10"
tonic-build = "0.11"
```

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:
Expand Down
4 changes: 2 additions & 2 deletions examples/routeguide-tutorial.md
Expand Up @@ -174,7 +174,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:

```toml
[dependencies]
tonic = "0.10"
tonic = "0.11"
prost = "0.12"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-stream = "0.1"
Expand All @@ -185,7 +185,7 @@ serde_json = "1.0"
rand = "0.7"

[build-dependencies]
tonic-build = "0.10"
tonic-build = "0.11"
```

Create a `build.rs` file at the root of your crate:
Expand Down
4 changes: 2 additions & 2 deletions tonic-build/Cargo.toml
Expand Up @@ -4,15 +4,15 @@ categories = ["network-programming", "asynchronous"]
description = """
Codegen module of `tonic` gRPC implementation.
"""
documentation = "https://docs.rs/tonic-build/0.10.2"
documentation = "https://docs.rs/tonic-build/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
license = "MIT"
name = "tonic-build"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

[dependencies]
prettyplease = { version = "0.2" }
Expand Down
2 changes: 1 addition & 1 deletion tonic-build/src/lib.rs
Expand Up @@ -70,7 +70,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.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic-build/0.11.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))]
Expand Down
6 changes: 3 additions & 3 deletions tonic-health/Cargo.toml
Expand Up @@ -4,15 +4,15 @@ categories = ["network-programming", "asynchronous"]
description = """
Health Checking module of `tonic` gRPC implementation.
"""
documentation = "https://docs.rs/tonic-health/0.10.2"
documentation = "https://docs.rs/tonic-health/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "healthcheck"]
license = "MIT"
name = "tonic-health"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

[features]
default = ["transport"]
Expand All @@ -23,7 +23,7 @@ async-stream = "0.3"
prost = "0.12"
tokio = {version = "1.0", features = ["sync"]}
tokio-stream = "0.1"
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] }

[dev-dependencies]
tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
Expand Down
2 changes: 1 addition & 1 deletion tonic-health/src/lib.rs
Expand Up @@ -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.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic-health/0.11.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))]
Expand Down
8 changes: 4 additions & 4 deletions tonic-reflection/Cargo.toml
Expand Up @@ -9,13 +9,13 @@ Server Reflection module of `tonic` gRPC implementation.
"""
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
documentation = "https://docs.rs/tonic-reflection/0.10.2"
documentation = "https://docs.rs/tonic-reflection/0.11.0"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT"
name = "tonic-reflection"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

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

[dev-dependencies]
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["transport"] }
tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["transport"] }
2 changes: 1 addition & 1 deletion tonic-reflection/src/lib.rs
Expand Up @@ -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.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.11.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))]
Expand Down
6 changes: 3 additions & 3 deletions tonic-types/Cargo.toml
Expand Up @@ -7,17 +7,17 @@ categories = ["web-programming", "network-programming", "asynchronous"]
description = """
A collection of useful protobuf types that can be used with `tonic`.
"""
documentation = "https://docs.rs/tonic-types/0.10.2"
documentation = "https://docs.rs/tonic-types/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "protobuf"]
license = "MIT"
name = "tonic-types"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

[dependencies]
prost = "0.12"
prost-types = "0.12"
tonic = {version = "0.10", path = "../tonic", default-features = false}
tonic = {version = "0.11", path = "../tonic", default-features = false}
2 changes: 1 addition & 1 deletion tonic-types/src/lib.rs
Expand Up @@ -150,7 +150,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.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic-types/0.11.0")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]

mod generated {
Expand Down
6 changes: 3 additions & 3 deletions tonic-web/Cargo.toml
Expand Up @@ -4,15 +4,15 @@ categories = ["network-programming", "asynchronous"]
description = """
grpc-web protocol translation for tonic services.
"""
documentation = "https://docs.rs/tonic-web/0.10.2"
documentation = "https://docs.rs/tonic-web/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "grpc-web"]
license = "MIT"
name = "tonic-web"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

[dependencies]
base64 = "0.21"
Expand All @@ -22,7 +22,7 @@ http = "0.2"
http-body = "0.4"
hyper = {version = "0.14", default-features = false, features = ["stream"]}
pin-project = "1"
tonic = {version = "0.10", path = "../tonic", default-features = false}
tonic = {version = "0.11", path = "../tonic", default-features = false}
tower-service = "0.3"
tower-layer = "0.3"
tower-http = { version = "0.4", features = ["cors"] }
Expand Down
2 changes: 1 addition & 1 deletion tonic-web/src/lib.rs
Expand Up @@ -94,7 +94,7 @@
rust_2018_idioms,
unreachable_pub
)]
#![doc(html_root_url = "https://docs.rs/tonic-web/0.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic-web/0.11.0")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]

pub use call::GrpcWebCall;
Expand Down
6 changes: 3 additions & 3 deletions tonic/Cargo.toml
Expand Up @@ -7,20 +7,20 @@ name = "tonic"
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.10.x" git tag.
# - Create "v0.11.x" git tag.
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
categories = ["web-programming", "network-programming", "asynchronous"]
description = """
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
"""
documentation = "https://docs.rs/tonic/0.10.2"
documentation = "https://docs.rs/tonic/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.10.2"
version = "0.11.0"

[features]
codegen = ["dep:async-trait"]
Expand Down
2 changes: 1 addition & 1 deletion tonic/src/lib.rs
Expand Up @@ -89,7 +89,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.10.2")]
#![doc(html_root_url = "https://docs.rs/tonic/0.11.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))]
Expand Down

0 comments on commit 233a1a6

Please sign in to comment.