Here’s a few of the highlights:
See accompanying blog post for details.
com.twitter.finagle.http.serverErrorsAsFailuresV2toggle for opting out of this behavior. f34a7344
-com.twitter.finagle.toggle.flag.overrides=com.twitter.finagle.http.UseHttp2=1.0. Please let us know of any issues that you run into!
ThriftMethod.SuccessType, instead of
ThriftMethod.Result. This is a breaking API change though it should generally be easy to adapt existing code to it. c5ea8515
Our byte-level abstraction,
Buf got a fresh coat of paint:
Buf.processfor sequential processing of a
Buf. Finagle has been updated to use it where appropriate, leading to reductions in allocations. 1df3646f and others
Buf.write(java.nio.ByteBuffer)for writing to NIO
Buf.concatis now a constant time operation. bb05f425
ConcatBufhas been removed, replaced by
Guava has been upgraded to version 19.0 from 16.0.1 d6bdecc9