Finagle v18.3.0 Release Notes
-
๐ New Features
* finagle-core: `c.t.f.client.BackupRequestFilter.filterService` for wrapping raw services in a `c.t.f.client.BackupRequestFilter` is now public. ``PHAB_ID=D135484`` * finagle-core: Introduce `c.t.f.Stacks.EMPTY_PARAMS` for getting an empty Param map from Java, and `c.t.f.Stack.Params.plus` for easily adding Params to a Param map from Java. ``PHAB_ID=D139660`` ๐ Bug Fixes ~~~~~~~~~ * finagle-core: `c.t.f.liveness.FailureAccrualFactory` takes no action on `c.t.f.Failure.Ignorable` responses. ``PHAB_ID=D135435`` * finagle-core: `c.t.f.pool.WatermarkPool` is resilient to multiple closes on a service instance. ``PHAB_ID=D137198`` * finagle-core: `c.t.f.pool.CachingPool` service wrapper instances are resilient to multiple closes. ``PHAB_ID=D136781`` * finagle-core: Requeue module now closes sessions it prevented from propagating up the stack. ``PHAB_ID=D142457`` * finagle-base-http: `c.t.f.http.Netty4CookieCodec.encode` now wraps Cookie values that would be wrapped in `c.t.f.http.Netty3CookieCodec.encode`. ``PHAB_ID=D134566`` * 0๏ธโฃ finagle-base-http: `c.t.f.http.Cookie.maxAge` returns `c.t.f.http.Cookie.DefaultMaxAge` (instead of null) if maxAge has been set to null or None in the copy constructor ``PHAB_ID=D138393``. * finagle-http: The HTTP client will not attempt to retry nacked requests with streaming bodies since it is likely that at least part of the body was already consumed and therefore it isn't safe to retry. ``PHAB_ID=D136053`` ๐ฅ Breaking API Changes
finagle-base-http: Removed
c.t.f.http.Cookie.comment_
,c.t.f.http.Cookie.comment_=
,c.t.f.http.Cookie.commentUrl_
, andc.t.f.http.Cookie.commentUrl_=
.comment
andcommentUrl
per RFC-6265.PHAB_ID=D137538
๐ finagle-base-http: Removed deprecated
c.t.f.http.Cookie.isDiscard
andc.t.f.http.Cookie.isDiscard_=
, per RFC-6265.PHAB_ID=D138109
๐ finagle-base-http: Removed deprecated
c.t.f.http.Cookie.ports
andc.t.f.http.Cookie.ports_=
, per RFC-6265.PHAB_ID=D139243
๐ finagle-base-http:
c.t.f.http.RequestBuilder
has been moved to the finagle-http target and the implicit evidence,RequestConfig.Yes
has been renamed toRequestBuilder.Valid
.PHAB_ID=D122227
๐ finagle-base-http: Removed deprecated
c.t.f.Cookie.isSecure
; usec.t.f.Cookie.secure
instead. Removed deprecatedc.t.f.Cookie.isSecure_=
.PHAB_ID=D140435
๐ finagle-base-http: Removed deprecated
c.t.f.http.Cookie.version
andc.t.f.http.Cookie.version_=
, per RFC-6265.PHAB_ID=D142672
๐ finagle-base-http: Removed deprecated
c.t.f.Cookie.httpOnly_=
; usec.t.f.Cookie.httpOnly
instead.PHAB_ID=D143177
๐ finagle-base-http: Removed deprecated
c.t.f.Cookie.maxAge_=
; usec.t.f.Cookie.maxAge
instead.PHAB_ID=D143177
finagle-core:
c.t.f.pool.WatermarkPool
was finalized.PHAB_ID=D137198
finagle-core:
c.t.finagle.ssl.Ssl
and related classes have been removed. They were replaced as the primary way of using SSL/TLS within Finagle in release 6.44.0 (April 2017). Please migrate to usingc.t.f.ssl.client.SslClientEngineFactory
orc.t.f.ssl.server.SslServerEngineFactory
instead.PHAB_ID=D135908
๐ finagle-core: Removed
newSslEngine
andnewFinagleSslEngine
fromServerBuilder
. Please implement a class which extendsc.t.f.ssl.server.SslServerEngineFactory
with the previously passed in function used as the implementation of theapply
method. Then use the created engine factory with one of thetls
methods instead.PHAB_ID=D135908
๐ finagle-core: The deprecated
c.t.f.loadbalancer.DefaultBalancerFactory
has been removed.PHAB_ID=D139814
๐ finagle-exp: The deprecated
c.t.f.exp.BackupRequestFilter
has been removed. Please usec.t.f.client.BackupRequestFilter
instead.PHAB_ID=D143333
๐ finagle-http: Removed the
c.t.f.Http.Netty3Impl
. Netty4 is now the only underlying HTTP implementation available.PHAB_ID=D136705
finagle-zipkin-scribe: Renamed the finagle-zipkin module to finagle-zipkin-scribe, to better advertise that this is just the scribe implementation, instead of the default.
PHAB_ID=D141940