grpc-spring

Spring Boot starter module for gRPC framework.

APACHE-2.0 License

Stars
3.3K
Committers
73

Bot releases are hidden (Show)

grpc-spring - v3.1.0.RELEASE Latest Release

Published by yidongnan 6 months ago

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: https://github.com/grpc-ecosystem/grpc-spring/compare/v3.0.0.RELEASE...v3.1.0

grpc-spring - v3.0.0.RELEASE

Published by yidongnan 8 months ago

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: https://github.com/grpc-ecosystem/grpc-spring/compare/v2.15.0...v3.0.0.RELEASE

grpc-spring - v2.15.0

Published by yidongnan about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/yidongnan/grpc-spring-boot-starter/compare/v2.14.0.RELEASE...v2.15.0

grpc-spring - v2.14.0.RELEASE

Published by ST-DDT almost 2 years ago

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
grpc-spring - v2.13.1.RELEASE

Published by ST-DDT almost 3 years ago

Dependencies

grpc-spring - v2.13.0.RELEASE

Published by ST-DDT almost 3 years ago

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
grpc-spring - v2.12.0.RELEASE

Published by ST-DDT over 3 years ago

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 to gRPC_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

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:

  • @donbeave Alexey Zhokhov
  • @genuss Alexey Genus
  • @totorean Ami Totorean
  • @xieyucan Bruce Xie
grpc-spring - v2.11.0.RELEASE

Published by ST-DDT over 3 years ago

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
grpc-spring - v2.10.1.RELEASE

Published by ST-DDT about 4 years ago

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

grpc-spring - v2.10.0.RELEASE

Published by ST-DDT about 4 years ago

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)
    • This should improve compatibility with GraalVM's native images #383 #379

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

  • Add example grpcurl usage for Windows #391
  • Document setup for kubernetes #403

Dependencies

Acknowledgements

Thanks to all our contributors:

  • Alexey Genus @genuss
  • Ophir Radnitz @liqweed
  • @jbf154
grpc-spring - v2.9.0.RELEASE

Published by ST-DDT over 4 years ago

Note

grpc-java switched some of their dependencies to runtime, so you might have to add them to your compile time classpath

Improvements

  • fix: The registration conditions of defaultDecompressorRegistry #368

Dependencies

Acknowledgements

Thanks to all our contributors:

  • Xie LongZhen @ChaselX
grpc-spring - v2.8.0.RELEASE

Published by ST-DDT over 4 years ago

Changes

  • Removed ConfigMappedNameResolverFactory (#344)

Improvements

  • Updated to gradle 6.2 and other build improvements (#333)
  • Documentation improvements (#353, #351, #337)

Dependencies

Acknowledgements

Thanks to all our contributors:

  • Matt Kerr @mattdkerr
  • Nick Ufer @NickUfer
  • collinewait @collinewait
grpc-spring - v2.7.0.RELEASE

Published by ST-DDT over 4 years ago

Features

  • Support grpc-java 1.26.0+ (also tested with 1.27.1) #328

Changes

  • Switch to new Listener implementation + use syncContext #322
  • Removed support for the deprecated (String) path based security configuration #318
    • Use the Resource based one instead

Improvements

  • Change name of grpc-await thread to reflect that it is for grpc #316
  • Detach the server factory bean lifecycle from the server lifecycle bean #317

Documentation

  • Add client/stub testing documentation #329

Dependencies

grpc-spring - v2.6.2.RELEASE

Published by ST-DDT almost 5 years ago

Bug Fixes

  • Fix memory leak in DiscoveryClienNameResolverFactory #320 (Fixes #311)

Acknowledgements

Thanks to all our contributors:

  • @Woodrowww
  • Zhanwei Wang @wangzw
grpc-spring - v2.6.1.RELEASE

Published by ST-DDT almost 5 years ago

Improvements

  • Update dependencies #303 (Fixes #301)

Dependencies

Acknowledgements

Thanks to all our contributors:

  • Igor Bolic @igorbolic
grpc-spring - v2.6.0.RELEASE

Published by ST-DDT almost 5 years ago

Features

  • Expose channel connectivity to actuator #285
  • Add support for connecting to the own server #283
  • Use grpc's NameResolverRegistry #280

Changes

Improvements

  • Update dependencies #296 #291 #279
  • Update Javadoc Task options #281
  • Improve tests #275

Documentation

New documentation

  • Fixes spring-boot-starter-test dependency def #287
  • Javadoc improvements #276
  • Improve documentation #274

Dependencies

Acknowledgements

Thanks to all our contributors:

  • liym @ijliym
  • Tomasz Dziurko @tdziurko
  • Richard Kettelerij @rkettelerij
grpc-spring - v2.5.1.RELEASE

Published by ST-DDT about 5 years ago

CVE-Fixes

Updates grpc-java for CVE-2019-9515 (SETTINGS flood) fix. Users using the grpc-netty server with untrusted clients should upgrade.

Dependency-Updates

grpc-spring - v2.5.0.RELEASE

Published by ST-DDT about 5 years ago

Features

  • Add methodType tag to metrics #266
  • Change configuration to use Resources instead of file paths #258 #262
  • Support password encoded private keys #246
  • Implement grpcRequest scope #259 #211
  • Split AuthenticatingServerInterceptor into an interface #250 #249
  • Simplify size limit setup with DataSize #187

Bug Fixes

  • Discovery: Use service port if custom grpc port is not defined #267 #261
  • Discovery: DiscoveryClientNameResolver does not detect changes properly #241
  • YAML kebab case not working on inProcessName #253 #254

Documentation

  • Javadoc and comment improvements #265

Dependencies

  • grpc-java 1.22.1 #255
  • spring-boot 2.1.6 #242
  • spring-cloud Greenwich.SR2 #242
  • protobuf 3.8.0

Migration

Change

grpc.server.security.certificateChainPath=certificates/server.crt
grpc.server.security.privateKeyPath=certificates/server.key
grpc.server.security.trustCertCollectionPath=certificates/trusted-clients.crt.collection

to

grpc.server.security.certificateChain=file:certificates/server.crt
grpc.server.security.privateKey=file:certificates/server.key
grpc.server.security.trustCertCollection=file:certificates/trusted-clients.crt.collection

The client properties should be renamed in a similar manner.
Currently both the old and the new config options work. But a warning with a migration notice will be shown.

Acknowledgements

Thanks to all our contributors:

  • Yeshwanth V Shenoy @yeshwanthvshenoy
grpc-spring - v2.4.0.RELEASE

Published by yidongnan over 5 years ago

Features

  • Order interceptors #214 #233
  • Remove deprecated AuthenticatingClientInterceptors #220
  • Adds simultaneous support for in- and inter-process channels/servers #222
  • Adds configurable ciphers and protocols for clients and servers #223
  • Turn off inter process server #229
  • Support Nacos as service discovery #235

Bug Fixes

  • Fix wrong BeanPostProcessor bean definition #218

Documentation

  • Add some additional/missing javadocs and toString() methods to client security #221

Cleanup

  • Fix formatting and warnings #219
  • Remove deprecated host and port client properties #191

Dependencies

  • Update gRPC-Java to 1.20 #217
  • Update to Spring-Boot 2.1.5 #228

Acknowledgements

Thanks to all our contributors:

  • Daniel Theuke @ST-DDT
  • Rajkiran @rajki
  • NickUfer @NickUfer
grpc-spring - v1.4.2.RELEASE

Published by yidongnan over 5 years ago

Bug Fixes

  • Backport the improvements made to the GrpcClientBeanPostProcessor. #230

FYI: Spring Boot 1.x EOL Aug 1st 2019

We recommend that you use the release version of 2.x, which supports more features and better stability.

Package Rankings
Top 9.86% on Proxy.golang.org
Badges
Extracted from project README
Build master branch Maven Central with version prefix filter License Crowdin Client-Javadoc Server-Javadoc Common-Javadoc
Related Projects