Skip to content

Commit fdcb2e2

Browse files
committed
release 5.0.0
1 parent 9721fa7 commit fdcb2e2

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

README.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repositories {
3838
3939
}
4040
dependencies {
41-
compile 'io.github.lognet:grpc-spring-boot-starter:4.9.1'
41+
compile 'io.github.lognet:grpc-spring-boot-starter:5.0.0'
4242
}
4343
4444
@@ -48,7 +48,7 @@ By default, starter pulls `io.grpc:grpc-netty-shaded` as transitive dependency
4848

4949
[source,groovy]
5050
----
51-
compile ('io.github.lognet:grpc-spring-boot-starter:4.9.1') {
51+
compile ('io.github.lognet:grpc-spring-boot-starter:5.0.0') {
5252
exclude group: 'io.grpc', module: 'grpc-netty-shaded'
5353
}
5454
compile 'io.grpc:grpc-netty:1.51.0' // <1>
@@ -453,11 +453,14 @@ If you enable both `NettyServer` and `in-process` servers, the `configure` metho
453453
If you need to differentiate between the passed `serverBuilder` s, you can check the type. +
454454
This is the current limitation.
455455

456+
== Events
457+
`GRpcServerInitializedEvent` is published upon server startup, you can consume it using regular spring API.
458+
456459
== Error handling
457460

458461
The starter registers the `GRpcExceptionHandlerInterceptor` which is responsible to propagate the service-thrown exception to the error handlers. +
459462
The error handling method could be registered by having `@GRpcServiceAdvice` annotated bean with methods annotated with `@GRpcExceptionHandler` annotations. +
460-
These are considered as `global` error handlers and the method with exception type parameter nearest by the type hierarchy to the thrown exception is invoked. +
463+
These are considered as `global` error handlers and the method with exception type parameter the nearest by the type hierarchy to the thrown exception is invoked. +
461464
The signature of the error handler has to follow the below pattern:
462465

463466
|===

ReleaseNotes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| Starter Version | gRPC versions | Spring Boot version |
22
|:------------------------|:-------------:|:-------------------:|
3+
| [5.0.0](#version-500) | 1.51.0 | 3.0.0 |
34
| [4.9.1](#version-491) | 1.51.0 | 2.7.6 |
45
| [4.9.0](#version-490) | 1.50.0 | 2.7.4 |
56
| [4.8.1](#version-481) | 1.49.0 | 2.7.3 |
@@ -36,6 +37,14 @@
3637
| [4.0.0](#version-400) | 1.32.1 | 2.3.3.RELEASE |
3738
| [3.5.7](#version-357) | 1.31.1 | 1.5.13.RELEASE |
3839

40+
# Version 5.0.0
41+
## :hammer: Dependency Upgrades
42+
43+
- Upgrade spring cloud to 2022.0.0 [#331](https://github.com/LogNet/grpc-spring-boot-starter/issues/331)
44+
- Upgrade JDK to 17 [#329](https://github.com/LogNet/grpc-spring-boot-starter/issues/329)
45+
- Upgrade gradle to 7.4 [#328](https://github.com/LogNet/grpc-spring-boot-starter/issues/328)
46+
- Upgrade spring Boot to 3.0 [#326](https://github.com/LogNet/grpc-spring-boot-starter/issues/326)
47+
3948
# Version 4.9.1
4049
## :star: New Features
4150

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gradleErrorPronePluginVersion=3.0.1
88
errorProneVersion=2.16
99
lombokVersion=1.18.24
1010

11-
version=5.0.0-SNAPSHOT
11+
version=5.0.0
1212
group=io.github.lognet
1313
description=Spring Boot starter for Google RPC.
1414
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter

grpc-spring-boot-starter-gradle-plugin/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Bootstraps the project with `com.google.protobuf` gradle plugin (including `grp
2323
----
2424
plugins {
2525
id 'java'
26-
id "io.github.lognet.grpc-spring-boot" version '4.9.1'
26+
id "io.github.lognet.grpc-spring-boot" version '5.0.0'
2727
}
2828
2929
----

0 commit comments

Comments
 (0)