diff --git a/CHANGELOG.md b/CHANGELOG.md index 9794d9b0..74bf9eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.12.0 - 2022-11-04 + +- Update prost to 0.11 (#595) +- Update grpc to 1.36.5 (#593) +- Update the security API of channel to match the C++ version (#593) + +Note, 1.36.5 removes the support of epollex engine (which is the default engine before), +and enables transparent retry by default. So you may experience potential performance regression. +And 1.36.5 is also the last version that supports C++11. Next version will requires C++14. + # 0.11.0 - 2022-09-10 - Update prost to 0.10 (#582) diff --git a/Cargo.toml b/Cargo.toml index 47985e82..8f43ae7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grpcio" -version = "0.11.0" +version = "0.12.0" edition = "2018" authors = ["The TiKV Project Developers"] license = "Apache-2.0" @@ -17,7 +17,7 @@ autoexamples = false all-features = true [dependencies] -grpcio-sys = { path = "grpc-sys", version = "0.10.3", default-features = false } +grpcio-sys = { path = "grpc-sys", version = "0.12.0", default-features = false } libc = "0.2" futures-executor = "0.3" futures-util = { version = "0.3", default-features = false, features = ["std", "sink"] } @@ -55,4 +55,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.11.0", default-features = false } +grpcio-compiler = { path = "compiler", version = "0.12.0", default-features = false } diff --git a/README.md b/README.md index 82da7188..7767c626 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ To include this project as a dependency: ``` [dependencies] -grpcio = "0.6" +grpcio = "0.12" ``` ### Feature `boringssl` @@ -99,7 +99,7 @@ mechanism. When you do not need it, for example when working in intranet, you can disable it by using the following configuration: ``` [dependencies] -grpcio = { version = "0.6", default-features = false, features = ["protobuf-codec"] } +grpcio = { version = "0.12", default-features = false, features = ["protobuf-codec"] } ``` ### Feature `prost-codec` and `protobuf-codec` @@ -119,7 +119,7 @@ your `Cargo.toml`'s features list for `gprcio`, which requires openssl (>=1.0.2) ```toml [dependencies] -grpcio = { version = "0.6", features = ["openssl"] } +grpcio = { version = "0.12", features = ["openssl"] } ``` Feature `openssl-vendored` is the same as feature `openssl` except it will build openssl from diff --git a/benchmark/README.md b/benchmark/README.md index 0e90ca1b..2d360043 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -19,6 +19,7 @@ $ git clone https://github.com/pingcap/grpc.git ``` $ cd grpc-rs +$ cargo xtask submodule $ cargo build -p benchmark --release ``` diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index 60dc9964..aad239a4 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grpcio-compiler" -version = "0.11.0" +version = "0.12.0" edition = "2018" authors = ["The TiKV Project Developers"] license = "Apache-2.0" diff --git a/grpc-sys/Cargo.toml b/grpc-sys/Cargo.toml index ae1760bc..93b071c7 100644 --- a/grpc-sys/Cargo.toml +++ b/grpc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grpcio-sys" -version = "0.10.3+1.44.0-patched" +version = "0.12.0+1.46.5-patched" authors = ["The TiKV Project Developers"] license = "Apache-2.0" keywords = ["grpc", "bindings"] diff --git a/health/Cargo.toml b/health/Cargo.toml index fb71244e..0ea8f051 100644 --- a/health/Cargo.toml +++ b/health/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grpcio-health" -version = "0.11.0" +version = "0.12.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.11.0", default-features = false } +grpcio = { path = "..", version = "0.12.0", default-features = false } prost = { version = "0.11", optional = true } protobuf = { version = "2", optional = true } log = "0.4" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 1d1d1c5e..e5e2727f 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grpcio-proto" -version = "0.11.0" +version = "0.12.0" edition = "2018" authors = ["The TiKV Project Developers"] license = "Apache-2.0" @@ -17,7 +17,7 @@ protobuf-codec = ["grpcio/protobuf-codec", "protobuf"] prost-codec = ["prost-build", "prost-derive", "prost-types", "bytes", "lazy_static", "grpcio/prost-codec", "prost"] [dependencies] -grpcio = { path = "..", features = ["boringssl"], version = "0.11.0", default-features = false } +grpcio = { path = "..", features = ["boringssl"], version = "0.12.0", default-features = false } bytes = { version = "1.0", optional = true } prost = { version = "0.11", optional = true } prost-derive = { version = "0.11", optional = true }