Skip to content

Commit

Permalink
Release 2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yidongnan committed Jan 8, 2020
1 parent 3dcb10e commit ac37042
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README-zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ QQ交流群:294712648

2.x.x.RELEASE 支持 Spring Boot 2.1.x/2.2.x 和 Spring Cloud Greenwich / Hoxton。

最新版本: `2.6.1.RELEASE`
最新版本: `2.6.2.RELEASE`

( `2.4.0.RELEASE` 用于 Spring Boot 2.0.x & Spring Cloud Finchy).

Expand All @@ -57,15 +57,15 @@ QQ交流群:294712648
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-spring-boot-starter:2.6.2.RELEASE'
}
````

Expand All @@ -77,15 +77,15 @@ dependencies {
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-server-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-server-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-server-spring-boot-starter:2.6.2.RELEASE'
}
````

Expand Down Expand Up @@ -117,15 +117,15 @@ public class GrpcServerService extends GreeterGrpc.GreeterImplBase {
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-client-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-client-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-client-spring-boot-starter:2.6.2.RELEASE'
}
````
在 grpc 客户端的的 stub 字段上添加 `@GrpcClient(serverName)` 注解。
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ application

2.x.x.RELEASE supports Spring Boot 2.1.x/2.2.x & Spring Cloud Greenwich/Hoxton.

The latest version: ``2.6.1.RELEASE``
The latest version: ``2.6.2.RELEASE``

(Use `2.4.0.RELEASE` for Spring Boot 2.0.x & Spring Cloud Finchley).

Expand All @@ -56,15 +56,15 @@ To add a dependency using Maven, use the following:
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

To add a dependency using Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-spring-boot-starter:2.6.2.RELEASE'
}
````

Expand All @@ -76,15 +76,15 @@ To add a dependency using Maven, use the following:
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-server-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

To add a dependency using Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-server-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-server-spring-boot-starter:2.6.2.RELEASE'
}
````

Expand Down Expand Up @@ -118,15 +118,15 @@ To add a dependency using Maven, use the following:
<dependency>
<groupId>net.devh</groupId>
<artifactId>grpc-client-spring-boot-starter</artifactId>
<version>2.6.1.RELEASE</version>
<version>2.6.2.RELEASE</version>
</dependency>
````

To add a dependency using Gradle:

````gradle
dependencies {
compile 'net.devh:grpc-client-spring-boot-starter:2.6.1.RELEASE'
compile 'net.devh:grpc-client-spring-boot-starter:2.6.2.RELEASE'
}
````
Annotate a field of your grpc client stub with `@GrpcClient(serverName)`
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
}
ext {
projectVersion = '2.6.2-SNAPSHOT'
projectVersion = '2.6.2.RELEASE'

grpcVersion = '1.25.0'
protobufVersion = '3.11.0'
Expand Down
1 change: 1 addition & 0 deletions docs/zh-CN/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
| 版本 | spring-boot | gRPC | 日期 |
|:-------:|:-----------:|:------:| --------:|
| 2.7.0 | 2.2.1 | 1.25.0 | 待定 |
| 2.6.2 | 2.2.1 | 1.25.0 | 2020年1月 |
| 2.6.1 | 2.2.1 | 1.25.0 | 2019年11月 |
| 2.6.0 | 2.2.1 | 1.24.2 | 2019年11月 |
| 2.5.1 | 2.1.6 | 1.22.2 | 2019年8月 |
Expand Down

0 comments on commit ac37042

Please sign in to comment.