Skip to content

Latest commit

 

History

History
644 lines (433 loc) · 22.3 KB

ReleaseNotes.md

File metadata and controls

644 lines (433 loc) · 22.3 KB
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

Version 5.1.5

🐞 Bug Fixes

  • Buggy interceptors @Order annotation processing #379
  • 5.1.0 changes status exception behaviour #371
  • GRpcExceptionHandler doesn't work [Kotlin] #268

🔨 Dependency Upgrades

  • Upgrade grpc to 1.58 #375

Version 5.1.4

🐞 Bug Fixes

  • Support all relaxed versions of "inProcessServeName" property name #369

🔨 Dependency Upgrades

  • Upgrade to grpc 1.57.0 #370

Version 5.1.3

🔨 Dependency Upgrades

  • Upgrade SP to 3.1.1 #365
  • Upgrade grpc to 1.56.1 #364

Version 5.1.2

🐞 Bug Fixes

  • Security interceptor doesn't propagate the original exception #357
  • Issue with reactive-grpc and the default security interceptors #355

🔨 Dependency Upgrades

  • Upgrade grpc to 1.55.1 #356

Version 5.1.1

⭐ New Features

  • Support error handling of reactive @Transactional #348

🔨 Dependency Upgrades

  • 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

Version 5.1.0

🐞 Bug Fixes

  • Error interceptor does not work as expected when using R2DBC repositories #342

🔨 Dependency Upgrades

  • Upgrade spring boot to 3.0.5 #346
  • Upgrade grpc to 1.54.0 #345
  • Resolve TODO which waited on external issue #340

Version 5.0.0

🔨 Dependency Upgrades

  • 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

Version 4.9.1

⭐ New Features

  • PreAuthorize expression not finding bean reference #310

🔨 Dependency Upgrades

  • Upgrade Spring Boot to 2.7.6 #327
  • Upgrade grpc to 1.51.0 #325

Version 4.9.0

🔨 Dependency Upgrades

  • Upgrade spring Boot to 2.7.4 #318
  • Upgrade grpc to 1.50.0 #317

Version 4.8.1

🔨 Dependency Upgrades

  • Upgrade Spring boot to 2.7.3 #307
  • Upgrade grpc to 1.49 #305

Version 4.8.0

⭐ New Features

  • Support multiple GRpcServerBuilderConfigurer beans #284

🔨 Dependency Upgrades

  • Spring boot 2.7.x suppport #299

Version 4.7.1

⭐ New Features

  • Security API enhancements #296

🐞 Bug Fixes

  • Class ConsulDiscoveryProperties is not found when accessing /configprops #295

🔨 Dependency Upgrades

  • Support spring boot 2.6.8 #298
  • Upgrade grpc to 1.47.0 #297

Version 4.7.0

🔨 Dependency Upgrades

  • 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

Version 4.6.0

⭐ New Features

  • Enable users to configure the error handling interceptor precedence #276

🐞 Bug Fixes

  • Upgrade io.netty:netty-tcnative-boringssl-static to compatible version #279
  • Cannot boot if there is no GRpcService #264

🔨 Dependency Upgrades

  • Upgrade grpc to 1.43.x #271
  • Add support for Spring Boot 2.6 #270
  • Upgrade protoc compiler to 3.19.2 #262

Version 4.5.10

⭐ New Features

  • Expose grpc health indicator under /actuator/health #259
  • Expose /actuator/grpc endpoint #258
  • kubernetes healthcheck #98

🐞 Bug Fixes

  • Application with configured grpc.consul.xxx properties fails to start if no consul in classpath #256

🔨 Dependency Upgrades

  • Upgrade protobuf-gradle-plugin to 0.8.17 #261
  • Upgrade grpc to 1.42.0 #260

Version 4.5.9

⭐ New Features

  • 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

🐞 Bug Fixes

  • Circular bean dependency since 4.5.8 #253

🔨 Dependency Upgrades

  • Upgrade spring boot to 2.5.6 #255

Version 4.5.8

⭐ New Features

  • Support NOOP consul registration strategy #251
  • Global error handling support #223

🔨 Dependency Upgrades

  • Upgrade grpc to 1.41.0 #252

⌚ Deprecations

  • GRpcErrorHandler is deprecated in favor of @GRpcServiceAdvice and @GRpcExceptionHandler annotations.

Version 4.5.7

⭐ New Features

🪲 Bug Fixes

  • Interceptors do not block onHalfClose if they block the message #240
  • Potential race condition when reporting running status of grpc server #238

🔨 Dependency Upgrades

  • Upgrade grpc to v1.40.1 #243

Version 4.5.6

⭐ New Features

  • Propagate Authentication to SecurityContextHolder #234

🪲 Bug Fixes

  • 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

🔨 Dependency Upgrades

  • Upgrade to grpc 1.40.0 #235

Version 4.5.5

🪲 Bug Fixes

  • grpc-kotlin-stub version is not same grpc version #224

🔨 Dependency Upgrades

  • Upgrade grpc to 1.39.0 #227

Version 4.5.4

⭐ New Features

  • Introduce grpc-spring-boot-starter-gradle-plugin #222

📔 Documentation

  • Document GRPC starter + Kafka Stream usage #219

Version 4.5.3

  • Requires JRE 1.8 and higher.

🪲 Bug Fixes

  • Failed to run the app with jre 1.8 #218

Version 4.5.2

🪲 Bug Fixes

  • 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.

Version 4.5.1

🪲 Bug Fixes

  • Bean collision when both netty and netty-shaded exist in classpath #214
  • Application fails to start when no grpc services discovered #210

🔨 Dependency Upgrades

  • Upgrade Spring boot to 2.5.0 #212
  • Upgrade grpc to 1.38.0 #211

🛠️ IMPORTANT!

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.

Version 4.5.0

🪲 Bug Fixes

  • How to disable Grpc Security #206

🛠️ Migration from 4.4.x

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();
    }
}

Version 4.4.7

⭐ New Features

  • grpc-netty dependency support #203

🪲 Bug Fixes

  • GrpcSecurityConfigurerAdapter initialization failure without spring-security-oauth2-resource-server #176

Version 4.4.6

⭐ New Features

  • Support Springs @Ordered Annotation on GRpcServerRunner #126

📔 Documentation

  • Document @Transactional usage #195

🔨 Dependency Upgrades

  • Bump gRPC to 1.37.0 and spring-boot to 2.4.5 #202

Version 4.4.5

⭐ New Features

  • 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

🔨 Dependency Upgrades

  • Upgrade to grpc 1.36.0 #194

Version 4.4.4

Version 4.4.3

Version 4.4.2

  • Spring Boot 2.4.1
  • Spring Cloud 2020.0.0

Version 4.4.1

  • If more than 1 port is exposed, add address tag to Micrometer's timer

Version 4.4.0

Version 4.3.1

Version 4.3.0

  • Spring Validation (Java Beans) support
  • gRPC version upgraded to 1.34.1

Version 4.2.3

Version 4.2.2

Version 4.2.1

Breaking changes

Version 4.2.0

  • gRPC version upgraded to 1.33.0
  • Fixed the issue with default method-level @Secured annotation (see #159)

Version 4.1.0

  • 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.

Version 4.0.0

  • 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.

Version 3.5.7

  • gRPC version upgraded to 1.31.1

Version 3.5.6

  • gRPC version upgraded to 1.30.2

Version 3.5.5

Version 3.5.4

  • gRPC version upgraded to 1.29.0

Version 3.5.3

  • gRPC version upgraded to 1.28.0

Version 3.5.2

  • gRPC version upgraded to 1.27.2
  • Gradle 5.6.3

Version 3.5.1

  • Graceful shutdown timeout setting
  • Fixed potential race condition issue when defining running port.

Version 3.5.0

  • gRPC version upgraded to 1.25.0

Version 3.4.3

  • Spring boot 1.2.x compatibility

Version 3.4.2

  • gRPC version upgraded to 1.24.0

Version 3.4.1

  • gRPC version upgraded to 1.23.0

Version 3.4.0

  • gRPC version upgraded to 1.22.1
  • TLS support

Version 3.3.0

  • gRPC version upgraded to 1.21.0
  • Consul auto-registration support

Version 3.2.2

  • gRPC version upgraded to 1.20.0

Version 3.2.1

  • Closes #103 and #99 Property local.grpc.port was removed , please use @LocalRunningGrpcPort annotation on int field to get running port.

Version 3.2.0

  • gRPC version upgraded to 1.19.0

Version 3.1.0

  • gRPC version upgraded to 1.18.0

Version 3.0.2

  • gRPC version upgraded to 1.17.1

Version 3.0.1

  • gRPC version upgraded to 1.16.1

Version 3.0.0

  • The artifacts are published to maven central. Pay attention that group has changed from org.lognet to io.github.lognet.

Version 2.4.3

  • gRPC version upgraded to 1.15.1

Version 2.4.2

  • gRPC version upgraded to 1.15.0

Version 2.4.1

  • Gradle 4.10
  • Fixes #93

Version 2.4.0

  • 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'

Version 2.3.2

  • Server reflection support

Version 2.3.1

  • Closes #73

Version 2.3.0

  • 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'

Version 2.2.0

  • gRPC version upgraded to 1.10.0
  • Gradle 4.6

Version 2.1.5

  • gRPC version upgraded to 1.9.0
  • Spring boot upgraded to 1.5.9

Version 2.1.4

  • gRPC version upgraded to 1.8.0

Version 2.1.3

  • Random gRPC server port support
  • Fixed wrong interceptors ordering bug.
  • gRPC version upgraded to 1.7.0
  • Spring boot upgraded to 1.5.8

Version 2.1.0

  • gRPC version upgraded to 1.6.1
  • Spring boot upgraded to 1.5.6
  • In process server support

Version 2.0.5

  • HealthStatusManager exposed as Spring bean
  • gRPC version upgraded to 1.5.0
  • Ordered execution support of global server interceptors.

Version 2.0.4

  • gRPC version upgraded to 1.4.0

Version 2.0.3

  • gRPC version upgraded to 1.3.0

Version 2.0.2

  • Fixing issue to identify beans with annotation: see PR #38
  • Spring Boot version upgraded to 1.5.2

Version 2.0.1

  • gRPC version upgraded to 1.2.0
  • Spring Boot version upgraded to 1.4.5

Version 2.0.0

  • 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 of ServerBuilder is not supported + to prevent potential confusion.