Finagle v20.4.0 Release Notes

Release Date: 2020-04-01 // about 4 years ago
  • ๐Ÿ†• New Features

    
    * finagle-core: Add `Transport.sslSessionInfo` local context which provides access to
      the `SSLSession`, session id, cipher suite, and local and peer certificates.
      ``PHAB_ID=D459854``
    
    * finagle-thrift/thriftmux: Thrift and ThriftMux client side can set a sharable
      TReusableBuffer by `withTReusableBufferFactory`. ``PHAB_ID=D452763``
    
    * finagle: Server side TLS snooping has been added to all server implementations with the
      exception of Mux/ThriftMux. This feature allows a server to select between a cleartext
      and TLS connection based on identifying the initial bytes as a TLS record of type handshake.
      ``PHAB_ID=D436225``
    
    ๐Ÿ’ฅ Breaking API Changes
    
    • ๐Ÿ“‡ finagle-partitioning: Rename c.t.finagle.partitioning.CacheNode and CacheNodeMetadata to c.t.finagle.partitioning.PartitionNode and PartitionNodeMetadata. PHAB_ID=D448015

    • finagle-partitioning: Rename c.t.finagle.partitioning.KetamaClientKey to HashNodeKey PHAB_ID=D449929

    ๐Ÿ› Bug Fixes

    
    * finagle-base-http: RequestBuilder headers use SortedMap to equalize keys in different caps.
      `setHeader` keys are case insensitive, the last one wins. ``PHAB_ID=D449255``
    
    โš™ Runtime Behavior Changes
    
    • finagle-stats: JsonExporter now caches the regex matching, so that you only need to check the result of regex matching on new stats. PHAB_ID=D459391