github grpc-ecosystem/grpc-spring v2.5.0.RELEASE

latest releases: v3.1.0.RELEASE, v3.0.0.RELEASE, v2.15.0...
4 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:

Don't miss a new grpc-spring release

NewReleases is sending notifications on new releases.