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_, and c.t.f.http.Cookie.commentUrl_=. comment and commentUrl per RFC-6265. PHAB_ID=D137538

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.http.Cookie.isDiscard and c.t.f.http.Cookie.isDiscard_=, per RFC-6265. PHAB_ID=D138109

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.http.Cookie.ports and c.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 to RequestBuilder.Valid. PHAB_ID=D122227

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.Cookie.isSecure; use c.t.f.Cookie.secure instead. Removed deprecated c.t.f.Cookie.isSecure_=. PHAB_ID=D140435

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.http.Cookie.version and c.t.f.http.Cookie.version_=, per RFC-6265. PHAB_ID=D142672

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.Cookie.httpOnly_=; use c.t.f.Cookie.httpOnly instead. PHAB_ID=D143177

    • ๐Ÿšš finagle-base-http: Removed deprecated c.t.f.Cookie.maxAge_=; use c.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 using c.t.f.ssl.client.SslClientEngineFactory or c.t.f.ssl.server.SslServerEngineFactory instead. PHAB_ID=D135908

    • ๐Ÿšš finagle-core: Removed newSslEngine and newFinagleSslEngine from ServerBuilder. Please implement a class which extends c.t.f.ssl.server.SslServerEngineFactory with the previously passed in function used as the implementation of the apply method. Then use the created engine factory with one of the tls 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 use c.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