Skip to content

Finagle 20.3.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 08 Mar 19:29
· 1165 commits to develop since this release

New Features

  • finagle-opencensus-tracing: Add support for providing a custom TextFormat for header
    propagation. a02d377a

Runtime Behavior Changes

  • finagle-netty4: When not using the JDK implementation, the Netty reference counted SSL
    types are used which move SSL cleanup out of the GC cycle, reducing pause durations.
    466aa5bf

  • finagle-base-http: Support for the SameSite cookie attribute is now on by default. This can
    be manipulated via the com.twitter.finagle.http.cookie.supportSameSiteCodec flag. This means
    that cookies that have a value other than Unset for the sameSite field will have the
    attribute encoded (by servers) and decoded (by clients). See this
    Chromium blog post
    for more information about the SameSite attribute. f96c3729

  • finagle-core: The default NullTracer for ClientBuilder has been removed. Affected clients may
    now see tracing enabled by default via the Java ServiceLoader, as described in the
    Finagle User's Guide. 6b3f0940

  • finagle-http2: The HTTP/2 frame logging tools now log at level INFO. This is symmetric with
    the behavior of the ChannelSnooper tooling which serves a similar purpose which is to aid
    in debugging data flow and isn't intended to be enabled in production. 78e4596b

Bug Fixes

  • finagle-zipkin-scribe: add a logical retry mechanism to scribe's TRY_LATER response 23ff595b

  • finagle-http2: Initialize state in H2Pool before use in the gauge to avoid a
    NullPointerException. 289de8a3

  • finagle-http2: HTTP/2 server pipeline now traps close calls to ensure that
    events from the initial HTTP/1.x pipeline don't close the HTTP/2 session. For
    example, the initial pipeline was subject to session timeouts even though the
    tail of the socket pipeline was effectively dead. Closing of HTTP/2 server
    pipelines is now handled through the H2ServerFilter. 670dbf74

  • finagle-http2: HTTP/2 servers clean out unused channel handlers when upgrading
    from a HTTP/1.x pipeline, removing some traps such as unintended timeouts.
    3dfe8226

  • finagle-opencensus-tracing: Fixed internal server error when invalid or no propagation headers
    are provided. a02d377a

  • finagle-zipkin-scribe: export application metrics under a consistent zipkin-scribe scope. Finagle client
    stats under clnt/zipkin-scribe a17659dd

Breaking API Changes

  • finagle-zipkin-scribe: update the deprecated FutureIface to MethodPerEndpoint 23ff595b

  • finagle-zipkin-scribe: Coalesce ScribeRawZipkinTracer apply methods into two simple ones. a17659dd

  • finagle-zipkin-scribe: DefaultSampler moved to c.t.f.zipkin.core in finagle-zipkin-core. ac9c7ec1

  • finagle-zipkin-scribe: initialSampleRate GlobalFlag is moved to finagle-zipkin-core, under the same package
    scope c.t.f.zipkin. ac9c7ec1