Finagle v19.1.0 Release Notes
Release Date: 2019-01-10 // over 5 years ago-
๐ 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
- finagle-core: c.t.f.s.StackBasedServer has been changed to extend the