From e30e98390fa6ad0c55117ff01e616bd5e6e81156 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Fri, 7 Jan 2022 09:43:59 +0100 Subject: [PATCH] Prepare release 2.13.1 --- README-zh-CN.md | 15 ++++++++------- README.md | 14 +++++++------- build.gradle | 10 +++++----- docs/en/versions.md | 3 ++- docs/zh-CN/versions.md | 1 + 5 files changed, 23 insertions(+), 20 deletions(-) diff --git a/README-zh-CN.md b/README-zh-CN.md index 149760cd6..e79f1c63a 100644 --- a/README-zh-CN.md +++ b/README-zh-CN.md @@ -37,7 +37,7 @@ QQ交流群:294712648 2.x.x.RELEASE 支持 Spring Boot 2.1.x/2.2.x 和 Spring Cloud Greenwich / Hoxton。 -最新版本: `2.13.0.RELEASE` +最新版本: `2.13.1.RELEASE` ( `2.4.0.RELEASE` 用于 Spring Boot 2.0.x & Spring Cloud Finchy). @@ -57,7 +57,7 @@ QQ交流群:294712648 net.devh grpc-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -65,7 +65,7 @@ Gradle: ````gradle dependencies { - compile 'net.devh:grpc-spring-boot-starter:2.13.0.RELEASE' + compile 'net.devh:grpc-spring-boot-starter:2.13.1.RELEASE' } ```` @@ -77,7 +77,7 @@ dependencies { net.devh grpc-server-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -85,7 +85,7 @@ Gradle: ````gradle dependencies { - compile 'net.devh:grpc-server-spring-boot-starter:2.13.0.RELEASE' + compile 'net.devh:grpc-server-spring-boot-starter:2.13.1.RELEASE' } ```` @@ -117,7 +117,7 @@ public class GrpcServerService extends GreeterGrpc.GreeterImplBase { net.devh grpc-client-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -125,9 +125,10 @@ Gradle: ````gradle dependencies { - compile 'net.devh:grpc-client-spring-boot-starter:2.13.0.RELEASE' + compile 'net.devh:grpc-client-spring-boot-starter:2.13.1.RELEASE' } ```` + 在 grpc 客户端的的 stub 字段上添加 `@GrpcClient(serverName)` 注解。 * 请不要将 @GrpcClient 与 `@Autowireed` 或 `@Inject` 一起使用。 diff --git a/README.md b/README.md index 789018bc9..4b853dbfd 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ README: [English](README.md) | [中文](README-zh-CN.md) ## Versions -The latest version is `2.13.0.RELEASE` it was compiled with spring-boot `2.4.5` and spring-cloud `2020.0.2` +The latest version is `2.13.1.RELEASE` it was compiled with spring-boot `2.5.8` and spring-cloud `2020.0.5` but it is also compatible with a large variety of other versions. An overview of all versions and their respective library versions can be found in our [documentation](https://yidongnan.github.io/grpc-spring-boot-starter/en/versions.html). @@ -66,7 +66,7 @@ To add a dependency using Maven, use the following: net.devh grpc-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -74,7 +74,7 @@ To add a dependency using Gradle: ````gradle dependencies { - implementation 'net.devh:grpc-spring-boot-starter:2.13.0.RELEASE' + implementation 'net.devh:grpc-spring-boot-starter:2.13.1.RELEASE' } ```` @@ -86,7 +86,7 @@ To add a dependency using Maven, use the following: net.devh grpc-server-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -94,7 +94,7 @@ To add a dependency using Gradle: ````gradle dependencies { - implementation 'net.devh:grpc-server-spring-boot-starter:2.13.0.RELEASE' + implementation 'net.devh:grpc-server-spring-boot-starter:2.13.1.RELEASE' } ```` @@ -128,7 +128,7 @@ To add a dependency using Maven, use the following: net.devh grpc-client-spring-boot-starter - 2.13.0.RELEASE + 2.13.1.RELEASE ```` @@ -136,7 +136,7 @@ To add a dependency using Gradle: ````gradle dependencies { - compile 'net.devh:grpc-client-spring-boot-starter:2.13.0.RELEASE' + compile 'net.devh:grpc-client-spring-boot-starter:2.13.1.RELEASE' } ```` diff --git a/build.gradle b/build.gradle index 4cbdb5982..fd76769ad 100644 --- a/build.gradle +++ b/build.gradle @@ -8,21 +8,21 @@ buildscript { } } ext { - projectVersion = '2.13.0.RELEASE' + projectVersion = '2.13.1.RELEASE' // https://github.com/grpc/grpc-java/releases - grpcVersion = '1.42.1' + grpcVersion = '1.42.2' // https://github.com/google/guava/releases guavaVersion = '31.0.1-jre' // https://github.com/protocolbuffers/protobuf/releases - protobufVersion = '3.19.1' + protobufVersion = '3.19.2' protobufGradlePluginVersion = '0.8.18' // https://github.com/spring-projects/spring-boot/releases - springBootVersion = '2.5.7' + springBootVersion = '2.5.8' // https://github.com/spring-cloud/spring-cloud-release/releases - springCloudVersion = '2020.0.4' + springCloudVersion = '2020.0.5' // https://github.com/alibaba/spring-cloud-alibaba/releases springCloudAlibabaNacosVersion = '2021.1' // https://github.com/spring-projects/spring-security-oauth/releases diff --git a/docs/en/versions.md b/docs/en/versions.md index 56350e0fe..3bef84e5b 100644 --- a/docs/en/versions.md +++ b/docs/en/versions.md @@ -47,7 +47,8 @@ Current version. | Version | spring-boot | spring-cloud | gRPC | Date | |:-------:|:-----------:|:------------:|:----:| ---: | -| 2.13.0* | 2.5.7 | 2020.0.4 | 1.42.1 | Nov, 2021 | +| 2.13.1 | 2.5.8 | 2020.0.5 | 1.42.2 | Jan, 2022 | +| 2.13.0 | 2.5.7 | 2020.0.4 | 1.42.1 | Nov, 2021 | | 2.12.0 | 2.4.5 | 2020.0.2 | 1.37.0 | Mai, 2021 | | 2.11.0 | 2.3.8 | Hoxton | 1.35.0 | Feb, 2021 | | 2.10.1 | 2.3.3 | Hoxton | 1.31.1 | Aug, 2020 | diff --git a/docs/zh-CN/versions.md b/docs/zh-CN/versions.md index 042ce126d..e9046cc7e 100644 --- a/docs/zh-CN/versions.md +++ b/docs/zh-CN/versions.md @@ -38,6 +38,7 @@ | 版本 | spring-boot | spring-cloud | gRPC | 日期 | |:---------:|:-----------:|:-----------:|:------:| ----------:| +| 2.13.1 | 2.5.8 | 2020.0.5 | 1.42.2 | 2022年01月 | | 2.13.0 | 2.5.7 | 2020.0.4 | 1.42.1 | 2021年11月 | | 2.12.0 | 2.4.5 | 2020.0.2 | 1.34.1 | 2021年05月 | | 2.11.0 | 2.3.8 | Hoxton | 1.31.1 | 2021年02月 |