Skip to content

Finagle 22.12.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 26 Dec 14:39
· 75 commits to develop since this release

22.12.0

New Features

  • finagle-core: Enable tracing for individual fanout requests via the FanoutTracer.
    8b92a584
  • finagle-core: Added helpers for local and peer ServiceIdentity to SslSessionInfo.
    b9f0f177
  • finagle-core: Expose StackClient.DefaultInjectors. 15c25153
  • finagle-http: RequestBuilder's c.t.f.http.FileElement now has isText (default: false)
    attribute. When set to true, no Content-Transfer-Encoding header is populated on the request.
    dcfb5923
  • finagle-http: When Finagle Http servers are secured with S2S, write c.t.finagle.SslSessionInfo#peerIdentity
    as remote user in access log. b903165a

Runtime Behavior Changes

  • util: Bump version of Jackson to 2.14.1. cd3a239f
  • finagle-http: Remove DeadlineFilter from Server stack. 8f96a534
  • finagle-core: Ensure BackupRequestFilter respects maxExtraLoad. For low QPS finagle clients
    this may mean fewer backup requests, so such clients can increase their maxExtraLoad setting
    if they actually want higher backup request rates. c0876691
  • finagle-serversets: Remove Endpoints with a weight of -1.0 from resolved zookeeper serversets
    Negative weights aren't normally valid so we use "-1.0" as a specific signal to not include
    the node in the resolved serverset returned to the client. This is useful for various types
    of testing. 3bc1f6ea

Breaking API Changes

  • finagle-core: DeadlineFilter.module has been replaced with DeadlineFilter.clientModule
    and DeadlineFilter.serverModule. PHAB_ID=D943426
  • finagle-http: c.t.f.Http.Http2 and c.t.f.Http.Netty4Impl values were removed because they
    were confusing. Use .withHttp2 and .withNoHttp2 to toggle HTTP/2 support ON and OFF
    respectively. PHAB_ID=D935292
  • finagle-core: Allow users of MethodBuilder.idempotent to specify non-retryable responses for
    idempotent methods. Previously these were overridden to be retryable. b8133350
  • finagle-core: The com.twitter.finagle.offload.queueSize has been removed. eb98b64f