Starter Version | gRPC versions | Spring Boot version |
---|---|---|
5.1.5 | 1.58.0 | 3.1.1 |
5.1.4 | 1.57.0 | 3.1.1 |
5.1.3 | 1.56.1 | 3.1.1 |
5.1.2 | 1.55.1 | 3.0.6 |
5.1.1 | 1.54.1 | 3.0.6 |
5.1.0 | 1.54.0 | 3.0.5 |
5.0.0 | 1.51.0 | 3.0.0 |
4.9.1 | 1.51.0 | 2.7.6 |
4.9.0 | 1.50.0 | 2.7.4 |
4.8.1 | 1.49.0 | 2.7.3 |
4.8.0 | 1.47.0 | 2.7.1 |
4.7.1 | 1.47.0 | 2.6.8 |
4.7.0 | 1.45.1 | 2.6.6 |
4.6.0 | 1.43.2 | 2.6.2 |
4.5.10 | 1.42.0 | 2.5.6 |
4.5.9 | 1.41.0 | 2.5.6 |
4.5.8 | 1.41.0 | 2.5.0 |
4.5.7 | 1.40.1 | 2.5.0 |
4.5.6 | 1.40.0 | 2.5.0 |
4.5.5 | 1.39.0 | 2.5.0 |
4.5.4 | 1.38.0 | 2.5.0 |
4.5.3 | 1.38.0 | 2.5.0 |
4.5.2 | 1.38.0 | 2.5.0 |
4.5.1 | 1.38.0 | 2.5.0 |
4.5.0 | 1.37.0 | 2.4.5 |
4.4.7 | 1.37.0 | 2.4.5 |
4.4.6 | 1.37.0 | 2.4.5 |
4.4.5 | 1.36.0 | 2.4.1 |
4.4.4 | 1.35.0 | 2.4.1 |
4.4.3 | 1.35.0 | 2.4.1 |
4.4.2 | 1.34.1 | 2.4.1 |
4.4.1 | 1.34.1 | 2.3.4.RELEASE |
4.4.0 | 1.34.1 | 2.3.4.RELEASE |
4.3.1 | 1.34.1 | 2.3.4.RELEASE |
4.3.0 | 1.34.1 | 2.3.4.RELEASE |
4.2.3 | 1.33.1 | 2.3.4.RELEASE |
4.2.2 | 1.33.0 | 2.3.4.RELEASE |
4.2.1 | 1.33.0 | 2.3.4.RELEASE |
4.2.0 | 1.33.0 | 2.3.3.RELEASE |
4.1.0 | 1.32.2 | 2.3.3.RELEASE |
4.0.0 | 1.32.1 | 2.3.3.RELEASE |
3.5.7 | 1.31.1 | 1.5.13.RELEASE |
- Buggy interceptors
@Order
annotation processing #379 - 5.1.0 changes status exception behaviour #371
- GRpcExceptionHandler doesn't work [Kotlin] #268
- Upgrade grpc to 1.58 #375
- Support all relaxed versions of "inProcessServeName" property name #369
- Upgrade to grpc 1.57.0 #370
- Security interceptor doesn't propagate the original exception #357
- Issue with reactive-grpc and the default security interceptors #355
- Upgrade grpc to 1.55.1 #356
- Support error handling of reactive
@Transactional
#348
- Upgarde grpc to 1.54.1 #352
- Bump spring boot to 3.0.6 due to CVE-2023-20863 #350
- Upgrade grpc-reactive to 1.2.4 #347
- Error interceptor does not work as expected when using R2DBC repositories #342
- Upgrade spring boot to 3.0.5 #346
- Upgrade grpc to 1.54.0 #345
- Resolve TODO which waited on external issue #340
- Upgrade spring cloud to 2022.0.0 #331
- Upgrade JDK to 17 #329
- Upgrade gradle to 7.4 #328
- Upgrade spring Boot to 3.0 #326
- PreAuthorize expression not finding bean reference #310
- Support multiple GRpcServerBuilderConfigurer beans #284
- Spring boot 2.7.x suppport #299
- Security API enhancements #296
- Class ConsulDiscoveryProperties is not found when accessing /configprops #295
- Upgrade grpc to 1.45.1 #294
- Support Spring Boot 2.6.6 #293
- Upgrade grpc to 1.45.0 #291
- Add suport for spring boot 2.6.4 #285
- Enable users to configure the error handling interceptor precedence #276
- Upgrade io.netty:netty-tcnative-boringssl-static to compatible version #279
- Cannot boot if there is no GRpcService #264
- Upgrade grpc to 1.43.x #271
- Add support for Spring Boot 2.6 #270
- Upgrade protoc compiler to 3.19.2 #262
- Expose grpc health indicator under /actuator/health #259
- Expose /actuator/grpc endpoint #258
- kubernetes healthcheck #98
- Application with configured grpc.consul.xxx properties fails to start if no consul in classpath #256
- Support separate consul discovery properties for grpc and http services #250
- Add metadata to consul service discovery #249
- Spring security SPEL expressions support (
@PreAuthorize
and@PostAuthorize
) #175
- Circular bean dependency since 4.5.8 #253
- Upgrade spring boot to 2.5.6 #255
- Upgrade grpc to 1.41.0 #252
GRpcErrorHandler
is deprecated in favor of@GRpcServiceAdvice
and@GRpcExceptionHandler
annotations.
- Support RequestAwareGRpcMetricsTagsContributor for Multiary Calls #244
- Custom service health check support #242
- Support various consul registrations and checks modes
- Interceptors do not block onHalfClose if they block the message #240
- Potential race condition when reporting running status of grpc server #238
- Upgrade grpc to v1.40.1 #243
- Propagate Authentication to SecurityContextHolder #234
- grpc boot gradle plugin configures wrong generated source dir #237
- SecurityInterceptor rewrites the status and double-closes if other Interceptors close the call #231
- SecurityInterceptor does not consult the GRpcErrorHandler for auth scheme selection errors #229
- Upgrade to grpc 1.40.0 #235
- grpc-kotlin-stub version is not same grpc version #224
- Upgrade grpc to 1.39.0 #227
- Introduce grpc-spring-boot-starter-gradle-plugin #222
- Document GRPC starter + Kafka Stream usage #219
- Requires JRE
1.8
and higher.
- Failed to run the app with jre 1.8 #218
- Can't download version
4.5.1
from maven central #217 - fixed by setting jar classifier to empty string :
Gradle
dependencies {
compile 'io.github.lognet:grpc-spring-boot-starter:4.5.2'
}
Maven
<dependency>
<groupId>io.github.lognet</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>4.5.2</version>
</dependency>
- Requires JRE
1.9
and higher.
- Bean collision when both netty and netty-shaded exist in classpath #214
- Application fails to start when no grpc services discovered #210
This release was incorrectly published to maven repository with plain
jar classifier. For 4.5.1
only please use :
- Gradle
dependencies {
compile 'io.github.lognet:grpc-spring-boot-starter:4.5.1:plain'
}
- Maven
<dependency>
<groupId>io.github.lognet</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>4.5.1</version>
<classifier>plain</classifier>
</dependency>
- Requires JRE
1.9
and higher.
- How to disable Grpc Security #206
Please use standard @Configuration
instead of @EnableGrpcSecurity
:
Before (4.4.x):
@EnableGrpcSecurity
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter{
}
After (4.5.0) :
@Configuration
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter{
}
or
@Configuration
public class MyAppConfiguration {
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter {
}
@Bean
public GrpcSecurityConfigurerAdapter grpcConfig(){
return new GrpcSecurityConfiguration();
}
}
- grpc-netty dependency support #203
- GrpcSecurityConfigurerAdapter initialization failure without spring-security-oauth2-resource-server #176
- Support Springs
@Ordered
Annotation on GRpcServerRunner #126
- Document
@Transactional
usage #195
- Bump gRPC to 1.37.0 and spring-boot to 2.4.5 #202
- Enable users to configure the built-in interceptor precedence #193
- Allow to add custom tag to the MonitoringServerInterceptor #191
- Allow to pass custom metadata during authentication failure #189
- Upgrade to grpc 1.36.0 #194
- Fixes https://github.com/LogNet/grpc-spring-boot-starter/issues/178[178]
- Fixes https://github.com/LogNet/grpc-spring-boot-starter/issues/117[117]
- Fixes https://github.com/LogNet/grpc-spring-boot-starter/issues/180[180]
- gRPC response status set to
PERMISSION_DENIED
when user has insufficient privileges to invoke gRPC method. - gRPC version upgraded to
1.35.0
- Spring Boot
2.4.1
- Spring Cloud
2020.0.0
- If more than 1 port is exposed, add
address
tag to Micrometer'stimer
- gRPC server metrics support via https://micrometer.io[micrometer.io] integration
- Spring Validation (Java Beans) support
- gRPC version upgraded to 1.34.1
- gRPC version upgraded to 1.33.1
- Support
authenticate only
when role list is empty ,@Secured({})
(credits to https://github.com/CleverUnderDog[@CleverUnderDog])
- Configure bind address and other netty settings (fixes https://github.com/LogNet/grpc-spring-boot-starter/issues/82[82])
- When overriding default GRPC security configuration,
@Secured
annotation is enabled by default.
- The starter brings now
io.grpc:grpc-netty-shaded
instead ofio.grpc:grpc-netty
as transitive dependency (fixes https://github.com/LogNet/grpc-spring-boot-starter/issues/108[108]). + This means that all classes fromio.grpc.netty
package should be imported fromio.grpc.netty.shaded.io.grpc.netty
- gRPC version upgraded to 1.33.0
- Fixed the issue with default method-level
@Secured
annotation (see #159)
- gRPC version upgraded to 1.32.2
- Fixed the issue with obtaining
Authentication
details in secured method implementation. - Fixed the issue with providing client-side user credentials.
- Spring Security framework integration
- gRPC version upgraded to 1.32.1
- Spring Boot 2.3.3
[IMPORTANT]
Please use 4.1.0
version, 4.0.0
has issue with obtaining Authentication details in secured object implementation.
- gRPC version upgraded to 1.31.1
- gRPC version upgraded to 1.30.2
- gRPC version upgraded to 1.30.0
- Consul health check support for GRPC service (credits to https://github.com/evk1986[@evk1986])
- gRPC version upgraded to 1.29.0
- gRPC version upgraded to 1.28.0
- gRPC version upgraded to 1.27.2
- Gradle 5.6.3
- Graceful shutdown timeout setting
- Fixed potential race condition issue when defining running port.
- gRPC version upgraded to 1.25.0
- Spring boot 1.2.x compatibility
- gRPC version upgraded to 1.24.0
- gRPC version upgraded to 1.23.0
- gRPC version upgraded to 1.22.1
- TLS support
- gRPC version upgraded to 1.21.0
- Consul auto-registration support
- gRPC version upgraded to 1.20.0
- Closes #103 and #99
Property
local.grpc.port
was removed , please use@LocalRunningGrpcPort
annotation onint
field to get running port.
- gRPC version upgraded to 1.19.0
- gRPC version upgraded to 1.18.0
- gRPC version upgraded to 1.17.1
- gRPC version upgraded to 1.16.1
- The artifacts are published to maven central.
Pay attention that group has changed from
org.lognet
toio.github.lognet
.
- gRPC version upgraded to 1.15.1
- gRPC version upgraded to 1.15.0
- Gradle 4.10
- Fixes #93
- gRPC version upgraded to 1.13.1
- Tested with ** springBoot_1_X_Version = '1.5.13.RELEASE' ** springBoot_2_X_Version = '2.0.3.RELEASE'
- Server reflection support
- Closes #73
- gRPC version upgraded to 1.11.0
- Fixed #80
- Added Spring boot 2.X demo project
- Spring boot upgraded to 1.5.11
- Tested with ** springBoot_1_X_Version = '1.5.11.RELEASE' ** springBoot_2_X_Version = '2.0.1.RELEASE'
- gRPC version upgraded to 1.10.0
- Gradle 4.6
- gRPC version upgraded to 1.9.0
- Spring boot upgraded to 1.5.9
- gRPC version upgraded to 1.8.0
- Random gRPC server port support
- Fixed wrong interceptors ordering bug.
- gRPC version upgraded to 1.7.0
- Spring boot upgraded to 1.5.8
- gRPC version upgraded to 1.6.1
- Spring boot upgraded to 1.5.6
- In process server support
- HealthStatusManager exposed as Spring bean
- gRPC version upgraded to 1.5.0
- Ordered execution support of global server interceptors.
- gRPC version upgraded to 1.4.0
- gRPC version upgraded to 1.3.0
- Fixing issue to identify beans with annotation: see PR #38
- Spring Boot version upgraded to 1.5.2
- gRPC version upgraded to 1.2.0
- Spring Boot version upgraded to 1.4.5
- gRPC version upgraded to 1.1.1
- Spring Boot version upgraded to 1.4.4
- Breaking API change: +
void GRpcServerBuilderConfigurer::configure(ServerBuilder<?> serverBuilder)
method now returns void and overriding ofServerBuilder
is not supported + to prevent potential confusion.