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