Finagle v18.12.0 Release Notes

Release Date: 2018-12-12 // over 5 years ago
  • 18.12.0

    ๐Ÿ†• New Features

    • ๐Ÿš€ finagle-redis: Add support for the new stream API released in Redis 5.0. ba578c14
    • finagle-core: Add Java compatibility for c.t.f.Filter.TypeAgnostic.Identity
      via c.t.f.Filter.typeAgnosticIdentity(). cff9aedd
    • finagle-core: Add Java compatibility for c.t.f.Name through Names.
      30a8000c
    • finagle-core: Introduce a StackServer.withStack overload that
      ๐Ÿ‘‰ makes modifying the existing Stack easier when using method chaining.
      f1a980cf
    • ๐Ÿ“‡ finagle-thrift: Add c.t.finagle.thrift.MethodMetadata which provides a LocalContext Key
      for setting information about the current Thrift method and an accessor for retrieving
      the currently set value. 7b22e4ef
    • ๐Ÿ“‡ finagle-thrift: Update c.t.finagle.thrift.MethodMetadata to provide an
      ๐Ÿ“‡ asCurrent method to set the current c.t.finagle.thrift.MethodMetadata in the
      LocalContext. f46e1f77

    ๐Ÿ’ฅ Breaking API Changes

    • ๐Ÿšš finagle-core: The c.t.u.Closable trait has been removed from
      c.t.f.t.TransportContext, as well as the close and onclose methods. Uses of
      these methods within TransportContext should be changed to use the corresponding
      methods on c.t.f.t.Transport instead. b8b850bb
    • ๐Ÿ—„ finagle-core: The deprecated c.t.f.t.Transport.peerCertificate method on the Transport class
      ๐Ÿšš (not the Transport.peerCertificate Finagle context) has been removed. Uses of this
      method should be changed to use c.t.f.t.TransportContext.peerCertificate instead.
      ab0432b4
    • ๐Ÿšš finagle-core: The deprecated c.t.f.t.TransportContext.status method has been removed
      from TransportContext. Uses of this method should be changed to use
      c.t.f.t.Transport.status instead. fd97536f
    • finagle-mysql: c.t.f.m.Charset has been renamed to c.t.f.m.MysqlCharset to resolve
      any ambiguity between it and the Charset Stack parameter. 05354cd5
    • finagle-mysql: All Stack params (Charset, Credentials, Database, FoundRows,
      ๐Ÿšš MaxConcurrentPrepareStatements, UnsignedColumns) have been moved to the
      com.twitter.finagle.mysql.param namespace. d30c5549
    • ๐Ÿ—„ finagle-mysql: The deprecated c.t.f.m.Client.apply(factory, statsReceiver) method
      ๐Ÿšš has been removed. 17747e1a
    • finagle-mysql: The c.t.f.m.Handshake class and companion object have been made
      private. 20c8d50f
    • finagle-http: Rename the toggle 'c.t.f.h.UseH2CClients' to 'c.t.f.h.UseH2CClients2'.
      43c0b69c

    โš™ Runtime Behavior Changes

    • โฌ†๏ธ finagle: Upgrade to Netty 4.1.31.Final and netty-tcnative 2.0.19.Final. 8e0f4b86
    • 0๏ธโƒฃ finagle-base-http: The DefaultHeaderMap will replace obs-fold ( CRLF 1*(SP/HTAB) ) in
      inserted header values. 51c4f789