Skip to content

Commit

Permalink
chore: Prepare 0.12 release (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioFranco committed Sep 1, 2023
1 parent 6db46e0 commit 754ff9a
Show file tree
Hide file tree
Showing 34 changed files with 82 additions and 60 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,29 @@
# [v0.10.0](https://github.com/hyperium/tonic/compare/v0.9.2...v0.10) (2023-09-01)

### Breaking Changes

- Update to `prost` 0.12
- MSRV bumped to 1.64


### Bug Fixes

* **codegen:** Use stream type from codegen mod ([#1446](https://github.com/hyperium/tonic/issues/1446)) ([60d776b](https://github.com/hyperium/tonic/commit/60d776b019854b6a6881d69823a36dcc18b1b4ce))
* **examples:** Use https scheme when using tls ([#1466](https://github.com/hyperium/tonic/issues/1466)) ([388b177](https://github.com/hyperium/tonic/commit/388b177d99e7b0a2c8d5eab1dee65c4dbb671db4))
* **tls:** Don't use tls w/ `http` scheme ([#1454](https://github.com/hyperium/tonic/issues/1454)) ([95e81f5](https://github.com/hyperium/tonic/commit/95e81f51fbbc32a5cf2b94ac0d7005d56b44a8d3))


### Features

* **build:** Add optional default unimplemented stubs ([#1344](https://github.com/hyperium/tonic/issues/1344)) ([aff1daf](https://github.com/hyperium/tonic/commit/aff1daf65d9a0d55b92719318eba2b5a4769c4e1))
* **core:** amortize many ready messages into fewer, larger buffers ([#1423](https://github.com/hyperium/tonic/issues/1423)) ([76eedc1](https://github.com/hyperium/tonic/commit/76eedc13d0dd891892301afa38c3dd8ae6646edf))
* **types:** add ability to extract rich error details from `google.rpc.Status` ([#1430](https://github.com/hyperium/tonic/issues/1430)) ([5fd635a](https://github.com/hyperium/tonic/commit/5fd635a30568ff629c4197c603c45b6b94750e88))
* **transport:** Add `Router::into_router` ([#1442](https://github.com/hyperium/tonic/issues/1442)) ([ea06a1b](https://github.com/hyperium/tonic/commit/ea06a1bb30bc325c7f6d7763fe48bf8b88c1c3ed))
* **transport:** Expose TcpConnectInfo fields ([#1449](https://github.com/hyperium/tonic/issues/1449)) ([74b079c](https://github.com/hyperium/tonic/commit/74b079ce752311fbe760d748804d801c385a5e7a))
* **web:** Add `GrpcWebClientService` ([#1472](https://github.com/hyperium/tonic/issues/1472)) ([dc29c17](https://github.com/hyperium/tonic/commit/dc29c17ae3ef729024e1f80c66566b09d7a01051))
* **transport:** Support for adding services dynamically


# [v0.9.2](https://github.com/hyperium/tonic/compare/v0.9.1...v0.9.2) (2023-04-17)

### Features
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Expand Up @@ -29,7 +29,3 @@ members = [
]
resolver = "2"

[patch.crates-io]
prost = { git = "https://github.com/tokio-rs/prost" }
prost-build = { git = "https://github.com/tokio-rs/prost" }
prost-types = { git = "https://github.com/tokio-rs/prost" }
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Expand Up @@ -308,7 +308,7 @@ default = ["full"]
[dependencies]
# Common dependencies
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
prost = "0.11"
prost = "0.12"
tonic = { path = "../tonic" }
# Optional dependencies
tonic-web = { path = "../tonic-web", optional = true }
Expand All @@ -325,7 +325,7 @@ serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
tracing = { version = "0.1.16", optional = true }
tracing-subscriber = { version = "0.3", features = ["tracing-log", "fmt"], optional = true }
prost-types = { version = "0.11", optional = true }
prost-types = { version = "0.12", optional = true }
http = { version = "0.2", optional = true }
http-body = { version = "0.4.2", optional = true }
hyper = { version = "0.14", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld-tutorial.md
Expand Up @@ -113,7 +113,7 @@ path = "src/client.rs"

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

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/routeguide-tutorial.md
Expand Up @@ -175,7 +175,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.9"
prost = "0.11"
prost = "0.12"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-stream = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion interop/Cargo.toml
Expand Up @@ -22,7 +22,7 @@ console = "0.15"
http = "0.2"
http-body = "0.4.2"
hyper = "0.14"
prost = "0.11"
prost = "0.12"
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]}
tokio-stream = "0.1"
tonic = {path = "../tonic", features = ["tls"]}
Expand Down
2 changes: 1 addition & 1 deletion tests/ambiguous_methods/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/compression/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ http = "0.2"
http-body = "0.4"
hyper = "0.14.3"
pin-project = "1.0"
prost = "0.11"
prost = "0.12"
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
tokio-stream = "0.1"
tonic = {path = "../../tonic", features = ["gzip"]}
Expand Down
2 changes: 1 addition & 1 deletion tests/default_stubs/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
[dependencies]
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
tokio-stream = {version = "0.1", features = ["net"]}
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tests/disable_comments/Cargo.toml
Expand Up @@ -9,9 +9,9 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = { path = "../../tonic" }

[build-dependencies]
prost-build = "0.11.6"
prost-build = "0.12"
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/extern_path/my_application/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../../tonic"}
uuid = {package = "uuid1", path = "../uuid"}

Expand Down
4 changes: 2 additions & 2 deletions tests/extern_path/uuid/Cargo.toml
Expand Up @@ -9,6 +9,6 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
[build-dependencies]
prost-build = "0.11.6"
prost-build = "0.12"
2 changes: 1 addition & 1 deletion tests/included_service/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ version = "0.1.0"

[dependencies]
bytes = "1.0"
prost = "0.11"
prost = "0.12"
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]}
tonic = {path = "../../tonic"}
tracing-subscriber = {version = "0.3"}
Expand Down
2 changes: 1 addition & 1 deletion tests/root-crate-path/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ publish = false
version = "0.1.0"

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build_dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/same_name/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/service_named_result/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/service_named_service/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/stream_conflict/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = { path = "../../tonic" }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/use_arc_self/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ version = "0.1.0"

[dependencies]
tokio-stream = "0.1"
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic", features = ["gzip"]}

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tests/wellknown-compiled/Cargo.toml
Expand Up @@ -12,9 +12,9 @@ version = "0.1.0"
doctest = false

[dependencies]
prost = "0.11"
prost = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
prost-build = "0.11.6"
prost-build = "0.12"
tonic-build = {path = "../../tonic-build"}
4 changes: 2 additions & 2 deletions tests/wellknown/Cargo.toml
Expand Up @@ -9,8 +9,8 @@ version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.11"
prost-types = "0.11"
prost = "0.12"
prost-types = "0.12"
tonic = {path = "../../tonic"}

[build-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions tonic-build/Cargo.toml
Expand Up @@ -4,20 +4,20 @@ categories = ["network-programming", "asynchronous"]
description = """
Codegen module of `tonic` gRPC implementation.
"""
documentation = "https://docs.rs/tonic-build/0.9.2"
documentation = "https://docs.rs/tonic-build/0.10.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.9.2"
version = "0.10.0"

[dependencies]
prettyplease = { version = "0.2" }
proc-macro2 = "1.0"
prost-build = { version = "0.11.9", optional = true }
prost-build = { version = "0.12", optional = true }
quote = "1.0"
syn = "2.0"

Expand Down
8 changes: 4 additions & 4 deletions tonic-health/Cargo.toml
Expand Up @@ -12,20 +12,20 @@ license = "MIT"
name = "tonic-health"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.9.2"
version = "0.10.0"

[features]
default = ["transport"]
transport = []

[dependencies]
async-stream = "0.3"
prost = "0.11"
prost = "0.12"
tokio = {version = "1.0", features = ["sync"]}
tokio-stream = "0.1"
tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] }

[dev-dependencies]
tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
tokio-stream = "0.1"
prost-types = "0.11"
prost-types = "0.12"
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.9.2")]
#![doc(html_root_url = "https://docs.rs/tonic-health/0.10.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
12 changes: 6 additions & 6 deletions tonic-reflection/Cargo.toml
Expand Up @@ -9,20 +9,20 @@ Server Reflection module of `tonic` gRPC implementation.
"""
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
documentation = "https://docs.rs/tonic-reflection/0.9.2"
documentation = "https://docs.rs/tonic-reflection/0.10.0"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT"
name = "tonic-reflection"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.9.2"
version = "0.10.0"

[dependencies]
prost = "0.11"
prost-types = "0.11"
prost = "0.12"
prost-types = "0.12"
tokio = {version = "1.0", features = ["sync", "rt"]}
tokio-stream = {version = "0.1", features = ["net"]}
tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] }

[dev-dependencies]
tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["transport"] }
tonic = { version = "0.10", 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.9.2")]
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.10.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
10 changes: 5 additions & 5 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.9.2"
documentation = "https://docs.rs/tonic-types/0.10.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.9.2"
version = "0.10.0"

[dependencies]
prost = "0.11"
prost-types = "0.11"
tonic = {version = "0.9", path = "../tonic", default-features = false}
prost = "0.12"
prost-types = "0.12"
tonic = {version = "0.10", 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.9.2")]
#![doc(html_root_url = "https://docs.rs/tonic-types/0.10.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 @@ -12,17 +12,17 @@ license = "MIT"
name = "tonic-web"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.9.2"
version = "0.10.0"

[dependencies]
base64 = "0.21"
bytes = "1.0"
bytes = "1"
tokio-stream = "0.1"
http = "0.2"
http-body = "0.4"
hyper = {version = "0.14", default-features = false, features = ["stream"]}
pin-project = "1"
tonic = {version = "0.9", path = "../tonic", default-features = false}
tonic = {version = "0.10", 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.9.2")]
#![doc(html_root_url = "https://docs.rs/tonic-web/0.10.0")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]

pub use call::GrpcWebCall;
Expand Down
2 changes: 1 addition & 1 deletion tonic-web/tests/integration/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
base64 = "0.21"
bytes = "1.0"
hyper = "0.14"
prost = "0.11"
prost = "0.12"
tokio = { version = "1", features = ["macros", "rt", "net"] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = { path = "../../../tonic" }
Expand Down

0 comments on commit 754ff9a

Please sign in to comment.