Releases: grpc-ecosystem/grpc-spring
Releases · grpc-ecosystem/grpc-spring
v3.1.0.RELEASE
What's Changed
- Add support for maxInboundMetadataSize client configuration in #1064
- Add instrumentation tags to grpc metrics in #1081
- Apply grpc service config from consul #1045
- Upgrade grpc and remove unused method #1052
Documentation
- Small README format fix in #1066
- Add the survey in the README.md in #1069
- Update documentation links to current in #1074
- Updated the source links that provide visualizations of the Project Setup #1078
Dependencies
- update spring boot to v3.2.4
- update grpc-java to 1.63.0
New Contributors
- @stanley-cheung made their first contribution in #1066
- @o-shevchenko made their first contribution in #1064
- @Sineaggi made their first contribution in #1052
- @arnoldmashava made their first contribution in #1078
Full Changelog: v3.0.0.RELEASE...v3.1.0
v3.0.0.RELEASE
What's Changed
- BREAKING: Support Spring Boot 3.x by @yidongnan in #970
- Not compatible with Spring Boot 2.x
- Bump micrometer version to latest by @dsyer in #829
- Fix the build status links in the README files impacted by the repo transfer from yidongnan/grpc-spring-boot-starter to grpc-ecosystem/grpc-spring. by @fengli79 in #983
- Change the copyright (yidongnan -> gRPC-Spring Authors) and license (MIT -> Apache 2.0). by @fengli79 in #984
- feat: Allow annotation GrpcClient for target type 'annotation' by @313hemant313 in #993
- EnableGlobalMethodSecurity is deprecated by @benallard in #997
- feat: allow configuring user agent by @onyn in #1009
- feat: Adds structure for gRPC client metrics instrumentation by @DNVindhya in #1021
- feat: Add gRPC server metrics by @DNVindhya in #1031
- feat: Add gRPC client attempt metrics by @DNVindhya in #1037
- Remove the
attempt
base unit for grpc_client_attempt_started metric by @fengli79 in #1041 - Enable gRPC Client attempt and Server metrics by @DNVindhya in #1039
- Add an end to end example for gRPC A66 metrics. by @fengli79 in #1043
- Update metrics list by @DNVindhya in #1048
- refactor: merge redundant projects by @ST-DDT in #1050
Documentation
- The Spring Boot version in the documentation does not match the actual version being used by @loong024 in #973
- [DOC] update gRPC and protobuf version on docs by @tonyals in #978
- Fix the github links in the documentation impacted by the repo transfer from yidongnan/grpc-spring-boot-starter to grpc-ecosystem/grpc-spring. by @fengli79 in #982
Dependencies
- update spring boot to v3.2.2
- update spring cloud to v2023.0.0
- update dependency io.grpc:grpc-bom to v1.60.1
- update dependency com.google.protobuf:protobuf-bom to v3.25.2
New Contributors
- @loong024 made their first contribution in #973
- @tonyals made their first contribution in #978
- @fengli79 made their first contribution in #982
- @313hemant313 made their first contribution in #993
- @benallard made their first contribution in #997
- @ma1uta made their first contribution in #1013
- @onyn made their first contribution in #1009
- @DNVindhya made their first contribution in #1021
Full Changelog: v2.15.0...v3.0.0.RELEASE
v2.15.0
What's Changed
- Add AutoConfiguration.imports for basic spring boot v3.0 support by @genuss in https://github.com/yidongnan/grpc-spring-boot-starter/pull/775
- Compile with parameter names by @whiskeysierra in https://github.com/yidongnan/grpc-spring-boot-starter/pull/805
- Fix connection on startup by @IlyasYOY in https://github.com/yidongnan/grpc-spring-boot-starter/pull/814
- Remove obsolete excludes for junit vintage by @dsyer in https://github.com/yidongnan/grpc-spring-boot-starter/pull/830
- Don't try to create grpcTracing bean if sleuth is not active by @genuss in https://github.com/yidongnan/grpc-spring-boot-starter/pull/877
- Document client address limitations by @ST-DDT in https://github.com/yidongnan/grpc-spring-boot-starter/pull/911
- Fix classNotFoundException when using old version of io.micrometer:mi… by @echemezov in https://github.com/yidongnan/grpc-spring-boot-starter/pull/957
- Fix typo by @gustavoteixeirah in https://github.com/yidongnan/grpc-spring-boot-starter/pull/960
New Contributors
- @whiskeysierra made their first contribution in https://github.com/yidongnan/grpc-spring-boot-starter/pull/805
- @IlyasYOY made their first contribution in https://github.com/yidongnan/grpc-spring-boot-starter/pull/814
- @dsyer made their first contribution in https://github.com/yidongnan/grpc-spring-boot-starter/pull/830
- @gustavoteixeirah made their first contribution in https://github.com/yidongnan/grpc-spring-boot-starter/pull/960
- @echemezov made their first contribution in https://github.com/yidongnan/grpc-spring-boot-starter/pull/957
Full Changelog: yidongnan/grpc-spring-boot-starter@v2.14.0.RELEASE...v2.15.0
v2.14.0.RELEASE
Changes
- BREAKING: Add support for call attribute based authorization checks by @ST-DDT in #742
- Only breaks if you implemented custom filters
- Now supports filtering by user IP
- Replace metric implementation with external/official one by @ST-DDT in #736
- Replace deprecated io.grpc.services.HealthStatusManager by @marcindabrowski in #658
- Only create a StubTransformer of CallCrendentials if there are no others by @gurel in #646
- You might have to create the bean yourself now/add it to your existing stub transformer
Features
- Support
@Order
on interceptor bean factory methods by @ST-DDT in #737 - Add support for client stub constructor injection by @xJoeWoo in #749
- Add option to turn off the grpc HealthIndicator by @westonlee in #699
Fixes
- Fix creation of Bearer Token using CallCredentialsHelper.bearerAuth(Supplier) by @vitorluis in #642
- Fix constructing InProcessGrpcServerFactory with GrpcServerConfigurer(s) by @blackhuman in #654
- Use Grpc default scheme if no target is defined by @kyle-wong-knewton in #687
- Fix some warnings from code analysis by @ST-DDT in #734
- Fix keystore JKS format auto detection by @ST-DDT in #738
- Improve error message if there is no GrpcContext assigned/active by @ST-DDT in #777
Documentation
- Correct tag names according to Micrometer's docs by @seckin206 in #645
- Fix kubernetes config doc by @coltstrgj in #683
- Add non HTTP/2 error to troubleshooting by @ST-DDT in #764
- New Crowdin updates by @yidongnan in #765
- Update metric tag names by @ST-DDT in #766
- Add warning to kubernetes service docs by @ST-DDT in #767
Dependencies
New Contributors
- @vitorluis made their first contribution in #642
- @gurel made their first contribution in #646
- @blackhuman made their first contribution in #654
- @marcindabrowski made their first contribution in #658
- @seckin206 made their first contribution in #645
- @renovate made their first contribution in #663
- @coltstrgj made their first contribution in #683
- @westonlee made their first contribution in #699
- @kyle-wong-knewton made their first contribution in #687
- @nurgasemetey made their first contribution in #733
- @xJoeWoo made their first contribution in #749
v2.13.1.RELEASE
Dependencies
- Update to spring-boot v2.5.8 (was 2.5.7) to avoid accidentally referring to vulnerable log4j2 versions
- Update to grpc-java v1.42.2 (was 1.42.1) to avoid CVE-2021-22569. See the protobuf advisory
- Update to protobuf v3.19.2 (was 3.19.1) to avoid CVE-2021-22569. See the protobuf advisory
- spring-cloud v2020.0.5
v2.13.0.RELEASE
Fixes
- Don't reference sleuth directly in the annotation #585
- Align default keepAlive with gRPC defaults #550
Improvements
@GrpcClientBean
annotation to add@GrpcClient
channels/stubs to the application context #580- Error handling is now supported for streaming calls #586
- Added grpc server lifecycle events #608
- Added support for key- and truststores via configuration #605
- Added dynamic CallCredentials helpers #596
- Improve authentication capabilities #594
- Improve DiscoveryClientNameResolver implementation #600 , #429
- Support max connection idle and age limits #549
- Update dependencies and plugins #598, #583, #520
- Improve test script #530
Examples
- Log response messages and other data in Interceptor example #578
- Add consul to automated test suite #530
- Condense/Simplify examples #539, #531
Documentation
- Mention grpcChannel health indicator in docs #606
- Updated the getting started documentation #609
- Updated and move compatibility info to version documentation #595
- Fix client configuration examples with server interceptors #579
Dependencies
Acknowledgements
Thanks to all our contributors:
- @a-simeshin
- @cfredri4
- @luankevinferreira Luan Kevin Ferreira
- @popfalushi
v2.12.0.RELEASE
Breaking Changes
- Updated to spring-boot v2.4.x some features might no longer work with v2.3.x (Spring renamed some classes) #508
- Change metadata from
gRPC.port
togRPC_port
for cloud discovery #496 , #495- Currently the legacy property is evaluated as a fallback, this fallback will be removed in a future release
- Make grpc-services.jar optional + grpc health service setup is no longer blindly initialized with
SERVING
#528- To restore the original behavior, use the
HealthStatusManager#setStatus
for each grpc service
- To restore the original behavior, use the
Fixes
- Fixed potential sensitive data exposure vulnerability #528
- GrpcAdviceIsPresentCondition breaks beans loading priority #513, #515
- If the grpc client is unavailable then the service is "out of service" #529
- Fix GrpcClient#interceptors bean lookup #532
Improvements
- Improve build to benefit from incremental builds #512
- Upgrade dependencies to the latest versions #521
- Update spring boot to 2.4.x #508
Examples
- Add nacos example #504
Documentation
- Add Custom NameResolverProvider section to the docs #525
- Add a version mismatch section to the docs trouble shooting section #524
Dependencies
Acknowledgements
Thanks to all our contributors:
v2.11.0.RELEASE
Changes/Improvements
- Annotation driven Exception handling #485, #465, #358
- Added option to gracefully shutdown #491, #454
- The server now waits for all grpc requests to finish before continuing with the shutdown
- Added support for zookeeper service discovery #474, #475
- Use ServerCall.Listener#onComplete for metric collection instead of ServerCall#close #447
- Now it also tracks cancelled calls
Fixes
- Update client configuration metadata #494
- Don't try to setup TLS security for in-process-server #497
Documentation
- Improve server getting started docs #479
- Improve client interceptor documentation #473
- Fix bad imports in client getting started docs #472
- Mention gRPCurl on the server testing page #444
- Improve NameResolverRegistry registration logs #435
Dependencies
Acknowledgements
Thanks to all our contributors:
- Abhijit Sarkar @asarkar
- Andjelko Perisic @anjeyy
- @klboke
- @LeoBarykin
- @ZMRWEGO
v2.10.1.RELEASE
Bugfixes
- Fixed issues with grpc-kotlin support (and other grpc-flavors) due to removed fallback code #413
New Features
- Added support for @GrpcService annotations in @configuration #417
Dependencies
Acknowledgements
Thanks to @asarkar for reporting #410 and helping with testing the fix
v2.10.0.RELEASE
Breaking Changes
- Simplify interceptor registration #394
- Lazy collect interceptors and global interceptor configurers
- Changed API of global interceptor registry and configurers
- Removed stub creation via private constructors, which causes an incompatibility with kotlin.
(The missing kotlin-grpc stub factory will be fixed asap in the next release)
Changes
- Change auto configs to use
@Configuration(proxyBeanMethods = false)
New Features
- Support 3rd party gRPC Java compilers via StubFactory #375 #382
- Request connection on startup #377
- Add option to configure the max metadata size for server #380
- Add more utility methods to
CallCredentialsHelper
#387 - Log connector selection (shaded-netty/netty/in-process) #386
- Log that the CallCredentials will be applied to all stubs automatically #388
- Throw exception if grpc-service is registered/implemented twice #392
Documentation
Dependencies
Acknowledgements
Thanks to all our contributors: