Skip to content

Commit 8f3e844

Browse files
author
Alexander Furer
committed
4.5.6 release
1 parent e5f666c commit 8f3e844

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

README.adoc

Lines changed: 7 additions & 1 deletion
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.5.5'
41+
compile 'io.github.lognet:grpc-spring-boot-starter:4.5.6'
4242
}
4343
4444
@@ -713,6 +713,12 @@ To obtain `Authentication` object in the implementation of *secured method*, pl
713713
final Authentication auth = GrpcSecurity.AUTHENTICATION_CONTEXT_KEY.get();
714714
----
715715

716+
Starting from `4.5.6`, the `Authentication` object can also be obtained via standard Spring API :
717+
718+
[source,java]
719+
----
720+
final Authentication auth = SecurityContextHolder.getContext().getAuthentication();
721+
----
716722

717723
=== Custom authentication failure handling
718724

ReleaseNotes.md

Lines changed: 16 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+
| [4.5.6](#version-456)| 1.40.0 |2.5.0 |
34
| [4.5.5](#version-455)| 1.39.0 |2.5.0 |
45
| [4.5.4](#version-454)| 1.38.0 |2.5.0 |
56
| [4.5.3](#version-453)| 1.38.0 |2.5.0 |
@@ -24,6 +25,21 @@
2425
| [4.0.0](#version-400)| 1.32.1 |2.3.3.RELEASE |
2526
| [3.5.7](#version-357)| 1.31.1 |1.5.13.RELEASE |
2627

28+
# Version 4.5.6
29+
## :star: New Features
30+
31+
- Propagate Authentication to SecurityContextHolder [#234](https://github.com/LogNet/grpc-spring-boot-starter/issues/234)
32+
33+
## :beetle: Bug Fixes
34+
35+
- grpc boot gradle plugin configures wrong generated source dir [#237](https://github.com/LogNet/grpc-spring-boot-starter/issues/237)
36+
- SecurityInterceptor rewrites the status and double-closes if other Interceptors close the call [#231](https://github.com/LogNet/grpc-spring-boot-starter/issues/231)
37+
- SecurityInterceptor does not consult the GRpcErrorHandler for auth scheme selection errors [#229](https://github.com/LogNet/grpc-spring-boot-starter/issues/229)
38+
39+
## :hammer: Dependency Upgrades
40+
41+
- Upgrade to grpc 1.40.0 [#235](https://github.com/LogNet/grpc-spring-boot-starter/issues/235)
42+
2743
# Version 4.5.5
2844

2945
## :beetle: Bug Fixes

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gradleErrorPronePluginVersion=2.0.2
55
errorProneVersion=2.7.1
66
lombokVersion=1.18.20
77

8-
version=4.5.6-SNAPSHOT
8+
version=4.5.6
99
group=io.github.lognet
1010
description=Spring Boot starter for Google RPC.
1111
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter

0 commit comments

Comments
 (0)