Skip to content

*: bump 0.10.0 #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 0.10.0 - 2022-03-02

- Update prost to 0.9.0 (#544) (#559)
- Make `CallOption` sync (#551)
- Update grpc c core to 1.44.0 (#549) (#558)
- Support querying channelz by API (#550)
- Reduce dependency on future crate (#554)
- Support headers on all call types (#555)
- Rename features "secure" to "boringssl" (#558)
- Drop dependency on bindgen for both MacOS and x86_64/aarch64 Linux (#558)
- Make health crate not depend on secure feature (#558)

# 0.9.1 - 2021-09-18

- Make boringssl-src optional (#537)
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio"
version = "0.9.1"
version = "0.10.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -17,12 +17,12 @@ autoexamples = false
all-features = true

[dependencies]
grpcio-sys = { path = "grpc-sys", version = "0.9", default-features = false }
grpcio-sys = { path = "grpc-sys", version = "0.10.0", default-features = false }
libc = "0.2"
futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std", "sink"] }
protobuf = { version = "2.0", optional = true }
prost = { version = "0.8", optional = true }
prost = { version = "0.9", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
parking_lot = "0.11"
Expand Down Expand Up @@ -54,4 +54,4 @@ no-omit-frame-pointer = ["grpcio-sys/no-omit-frame-pointer"]
travis-ci = { repository = "tikv/grpc-rs" }

[patch.crates-io]
grpcio-compiler = { path = "compiler", version = "0.9.0", default-features = false }
grpcio-compiler = { path = "compiler", version = "0.10.0", default-features = false }
6 changes: 3 additions & 3 deletions benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ $ cargo build -p benchmark --release

```
$ cd ../grpc
$ python2.7 tools/run_tests/run_performance_tests.py -l rust
$ python3 tools/run_tests/run_performance_tests.py -l rust
```

Checkout `python2.7 tools/run_tests/run_performance_tests.py --help` to see custom options.
Checkout `python3 tools/run_tests/run_performance_tests.py --help` to see custom options.
Comment on lines +29 to +32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for the change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grpc has upgraded to python3. See grpc/grpc#27135.


Flame Graph
===========
Expand All @@ -38,5 +38,5 @@ To generate flame graph, please download FrameGraph release package and extract
Please make sure the name of extracted directory is FlameGraph. Then run following command:

```
# python2.7 tools/run_tests/run_performance_tests.py -l rust --perf_args="record -F 99 -g"
# python3 tools/run_tests/run_performance_tests.py -l rust --perf_args="record -F 99 -g"
```
8 changes: 4 additions & 4 deletions compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-compiler"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -18,9 +18,9 @@ prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"]

[dependencies]
protobuf = { version = "2", optional = true }
prost = { version = "0.8", optional = true }
prost-build = { version = "0.8", optional = true }
prost-types = { version = "0.8", optional = true }
prost = { version = "0.9", optional = true }
prost-build = { version = "0.9", optional = true }
prost-types = { version = "0.9", optional = true }
derive-new = { version = "0.5", optional = true }
tempfile = { version = "3.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion grpc-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-sys"
version = "0.9.1+1.41.0"
version = "0.10.0+1.44.0"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
keywords = ["grpc", "bindings"]
Expand Down
6 changes: 3 additions & 3 deletions health/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-health"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -20,7 +20,7 @@ prost-codec = ["grpcio/prost-codec", "prost"]
[dependencies]
futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std"] }
grpcio = { path = "..", version = "0.9.0", default-features = false }
prost = { version = "0.8", optional = true }
grpcio = { path = "..", version = "0.10.0", default-features = false }
prost = { version = "0.9", optional = true }
protobuf = { version = "2", optional = true }
log = "0.4"
10 changes: 5 additions & 5 deletions proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-proto"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -18,11 +18,11 @@ protobuf-codec = ["grpcio/protobuf-codec", "protobuf-build/grpcio-protobuf-codec
prost-codec = ["prost-derive", "prost-types", "bytes", "lazy_static", "grpcio/prost-codec", "prost", "protobuf-build/grpcio-prost-codec"]

[dependencies]
grpcio = { path = "..", features = ["boringssl"], version = "0.9.0", default-features = false }
grpcio = { path = "..", features = ["boringssl"], version = "0.10.0", default-features = false }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like all local libs can be used without specifying a version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless they need to be published to crates.io.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, tests-and-examples dont need be published to crates.io so the version can be ignored.

bytes = { version = "1.0", optional = true }
prost = { version = "0.8", optional = true }
prost-derive = { version = "0.8", optional = true }
prost-types = { version = "0.8", optional = true }
prost = { version = "0.9", optional = true }
prost-derive = { version = "0.9", optional = true }
prost-types = { version = "0.9", optional = true }
protobuf = "2"
lazy_static = { version = "1.3", optional = true }

Expand Down
10 changes: 5 additions & 5 deletions tests-and-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ protobuf-codec = ["protobuf", "grpcio/protobuf-codec", "grpcio-proto/protobuf-co
prost-codec = ["prost", "bytes", "grpcio/prost-codec", "grpcio-proto/prost-codec", "grpcio-health/prost-codec"]

[dependencies]
grpcio-sys = { path = "../grpc-sys", version = "0.9" }
grpcio-sys = { path = "../grpc-sys" }
libc = "0.2"
futures-channel = { version = "0.3", features = ["sink"] }
futures-executor = "0.3"
futures-util = { version = "0.3", features = ["sink"] }
futures-timer = "3.0"
protobuf = { version = "2.22", optional = true }
prost = { version = "0.8", optional = true }
prost = { version = "0.9", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
grpcio = { path = "..", version = "0.9", default-features = false, features = ["boringssl"] }
grpcio-health = { path = "../health", version = "0.9", default-features = false }
grpcio = { path = "..", default-features = false, features = ["boringssl"] }
grpcio-health = { path = "../health", default-features = false }

[dev-dependencies]
serde_json = "1.0"
serde = "1.0"
serde_derive = "1.0"
grpcio-proto = { path = "../proto", version = "0.9.0", default-features = false }
grpcio-proto = { path = "../proto", default-features = false }
rand = "0.7"
slog = "2.0"
slog-async = "2.1"
Expand Down