Finagle v19.5.0 Release Notes

Release Date: 2019-05-17 // almost 5 years ago
  • ๐Ÿ†• New Features

    • finagle-http: Add two new methods to com.twitter.finagle.http.MediaType,
      MediaType#typeEquals for checking if two media types have the same type and
      subtype, ignoring their charset, and MediaType#addUtf8Charset for easily
      setting a utf-8 charset. ec0953f1

    ๐Ÿ› Bug Fixes

    • finagle-http: Ensure server returns 400 Bad Request when
      non-ASCII characters are present in the HTTP request URI path. a7dae7ea

    โš™ Runtime Behavior Changes

    • finagle-core: Deterministic aperture (d-aperture) load balancers no longer export
      "loadband" scoped metrics: "widen", "narrow", "offered_load_ema". These were not
      necessary as d-aperture does not change the aperture size at runtime. 20029ac5
    • ๐Ÿ”ง finagle-core: Request logging now defaults to disabled. Enable it by configuring the
      RequestLogger Stack parameter on your Client or Server. ee9cb4ec
    • finagle-core: Subtree binding failures in NameTree.Union's are ignored in the
      final binding result. 2fde4d2d

    ๐Ÿ’ฅ Breaking API Changes

    • finagle-core: The c.t.f.client.EndpointerModule and c.t.f.pushsession.PushStackClient public
      and protected APIs have been changed to use the abstract java.net.SocketAddress instead of the
      concrete java.net.InetSocketAddress as relying on the concrete implementation was not
      necessary. 77a3cdfd
    • finagle-http: For Finagle HTTP clients, the withMaxRequestSize(size) API
      ๐Ÿšš method has been removed. For Finagle HTTP servers, the
      ๐Ÿšš withMaxResponseSize(size) method has been removed. The underlying Stack
      params which are set by these methods are respectively HTTP server and HTTP
      ๐Ÿšš client side params only. Using these removed methods had no effect on the
      setup of Finagle HTTP clients and servers. 5eb3ae24
    • ๐Ÿšš finagle-mysql: HandshakeResponse has been removed from finagle-mysql's public
      API. It is expected that users of the library are relying entirely on
      finagle-mysql for handshaking. f0ab09a6