gRPC-Java 1.13.1 发布,gRPC 的 Java 实现

栏目: 软件资讯 · 发布时间: 7年前

内容简介: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 has metadataMarshaller analogous to ProtoLiteUtils

  • Experimental jsonMarshaller has been removed from grpc-java library (and added into examples)

  • Added @CheckReturnValue annotation to AbstractStubCallOptions, and Context

    • Special thanks: Grant Oakley

  • CallOptions API: Deprecated CallOptions.Key.of, added CallOptions.Key.create and CallOptions.Key.createWithDefault, and stabilized CallOptions.Key and CallOptions.withOption

  • Stabilized ManagedChannelBuilder.maxInboundMessageSize API

New features

  • Introduced JUnit test rule GrpcCleanupRule which is more flexible to use than GrpcServerRule

  • 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 for GoogleCredentials

  • core,stub: Added toString() to ClientCallImpl and GrpcFuture

    • 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() method

  • security: Propagate CallCredentials.ATTR_SECURITY_LEVEL from transports

Documentation

  • Documented Metadata ownership passes to the ClientCall and ClientCall.Listener

  • Clarified that Android is for client-side use in README.md

  • Fixed missing comment for headers param in ServerInterceptor.interceptCall API

    • Special thanks: Jianwei Mao

  • Added Kotlin and Kotlin android examples

发布公告

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

文明之光(第一册)

文明之光(第一册)

吴军 / 人民邮电出版社 / 2014-6-25 / 59.00元

人类的历史,是从野蛮蒙昧一步步走向文明进步的过程。在文明的进程中,人类创造出多元的文化,它们有着各自的特长。要实现人类和平发展的终极理想,一个重要的前提是承认文化的多元性,并且取长补短,相互融合。 吴军博士写作《文明之光》系列,希望能开阔人们的视野,让我们看到各种各样的人类文明。虽然今天不同的地区发达程度不同,文明历史的长短不一,国家亦有大小之分,但是文明之光从世界的每一个角落发出,对人类的......一起来看看 《文明之光(第一册)》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具