Finagle 19.1.0
·
1686 commits
to develop
since this release
New Features
- finagle-core: c.t.f.s.StackBasedServer has been changed to extend the
c.t.f.Stack.Transformable trait. This brings StackBasedServer into parity
with c.t.f.c.StackBasedClient, which already extends the
Stack.Transformable trait. 9f637b5e - finagle-http: HttpMuxer propagates the close signal to the underlying handlers.
6475680d
Breaking API Changes
- finagle-core: The deprecated c.t.f.b.ServerBuilder.stack method which takes a function
has been removed. Uses of this method should be changed to use the c.t.f.b.ServerBuilder.stack
method which takes a c.t.f.s.StackBasedServer instead. a05e5e7b - finagle-core: The type of c.t.f.b.ServerConfig.nilServer has been changed from
Server[Req, Rep] to StackBasedServer[Req, Rep]. 4be953d4 - finagle-core: The access level of the c.t.f.b.ServerBuilder.copy method has changed
from protected to private. 4be953d4 - finagle-core: The bridge type c.t.f.b.Server has been removed. Users should
change to use c.t.f.ListeningServer instead. Uses of the previously
deprecated Server.localAddress should use ListeningServer.boundAddress
instead. eb66ee71 - finagle-core: The deprecated c.t.f.t.Transport.localAddress and
c.t.f.t.Transport.remoteAddress methods are now final and can no longer
be extended. Users should migrate to the respective c.t.f.t.TransportContext
methods. b85f43a0 - finagle-thrift: The c.t.f.t.ThriftRichClient.protocolFactory and
c.t.f.t.ThriftRichServer.protocolFactory methods have been removed. Users should
switch to using ThriftRichClient.clientParam.protocolFactory and
ThriftRichServer.serverParam.protocolFactory instead. In addition, implementations
of the protocolFactory method have been removed from the concrete c.t.f.Thrift
and c.t.f.ThriftMux client and server. e33baf82
Bug Fixes
- finagle-core: Failed writes on Linux due to a remote peer disconnecting should now
be properly seen as a c.t.f.ChannelClosedException instead of a
c.t.f.UnknownChannelException. 8f5774cb - finagle-http: Compression level of 0 was failing on the server-side when speaking h2c.
Updated so that it can handle a request properly. 5f96fcb2 - finagle-thriftmux: A Java compatibility issue for users trying to call withOpportunisticTls
on ThriftMux clients and servers has been fixed. e57d2a91
Runtime Behavior Changes
- finagle-core: ServiceFactory.const propagates the close from the ServiceFactory
to the underlying service, instead of ignoring it. 6475680d