diff --git a/CHANGELOG.md b/CHANGELOG.md index aa287735..1e62ae43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Cargo.toml b/Cargo.toml index 8189d89e..10cbddfc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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" @@ -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 } diff --git a/benchmark/README.md b/benchmark/README.md index 3933738e..0e90ca1b 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -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. Flame Graph =========== @@ -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" ``` diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index c5e6b0fa..b705ea33 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -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" @@ -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 } diff --git a/grpc-sys/Cargo.toml b/grpc-sys/Cargo.toml index 45763d97..b9afd3a0 100644 --- a/grpc-sys/Cargo.toml +++ b/grpc-sys/Cargo.toml @@ -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"] diff --git a/health/Cargo.toml b/health/Cargo.toml index 94cb9f9b..c4c99fac 100644 --- a/health/Cargo.toml +++ b/health/Cargo.toml @@ -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" @@ -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" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 915c9de1..27cfdc94 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -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" @@ -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 } 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 } diff --git a/tests-and-examples/Cargo.toml b/tests-and-examples/Cargo.toml index 48550f25..19615db9 100644 --- a/tests-and-examples/Cargo.toml +++ b/tests-and-examples/Cargo.toml @@ -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"