内容简介:gRPC-Java 1.13.1 发布了,更新内容如下: Dependencies Netty version bumped to 4.1.25-Final and netty-tcnative bumped to 2.0.8.Final OpenCensus version bumped to 0.12.3 Special thanks: Bogdan Drutu ...
gRPC-Java 1.13.1 发布了,更新内容如下:
Dependencies
Netty version bumped to 4.1.25-Final and netty-tcnative bumped to 2.0.8.Final
OpenCensus version bumped to 0.12.3
Special thanks: Bogdan Drutu
Dependency on OpenCensus was removed from the Bazel target io_grpc_grpc_java//core
services: Use RE2/J
Special thanks: Nathan Herring
alts: Added grpclb runtime
API changes
Generated RPC Stubs no longer have the static field MethodDescriptors like
FOO_METHOD
ProtoUtils
now hasmetadataMarshaller
analogous toProtoLiteUtils
Experimental
jsonMarshaller
has been removed from grpc-java library (and added into examples)Added
@CheckReturnValue
annotation toAbstractStub
,CallOptions
, andContext
Special thanks: Grant Oakley
CallOptions
API: DeprecatedCallOptions.Key.of
, addedCallOptions.Key.create
andCallOptions.Key.createWithDefault
, and stabilizedCallOptions.Key
andCallOptions.withOption
Stabilized
ManagedChannelBuilder.maxInboundMessageSize
API
New features
Introduced JUnit test rule
GrpcCleanupRule
which is more flexible to use thanGrpcServerRule
Channelz Service can now be added to a server to expose stats for all gRPC channels or servers in the process
Behavior changes
auth: Require
PRIVACY_AND_INTEGRITY
forGoogleCredentials
core,stub: Added
toString()
toClientCallImpl
andGrpcFuture
Special thanks: Grant Oakley
Bug fixes
Fixed Bazel compilation in Java 9
Special thanks: David Ostrovsky
Fixed a bug that client does not detect truncated message
Fixed a bug of
Attributes.hashCode()
methodsecurity: Propagate
CallCredentials.ATTR_SECURITY_LEVEL
from transports
Documentation
Documented Metadata ownership passes to the
ClientCall
andClientCall.Listener
Clarified that Android is for client-side use in README.md
Fixed missing comment for headers param in
ServerInterceptor.interceptCall
APISpecial thanks: Jianwei Mao
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Traefik 2.0 实现灰度发布
- Redis 实现发布订阅原理与实践
- 通过发布订阅模式实现的事件委托
- 使用 Jenkins + Nginx 实现预发布
- 利用Zookeeper实现数据发布订阅
- MyOIDC v1.1.0 发布,基于 OIDC 协议的参考实现,根据各类库提供实现参考
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。