Kevin Oliver

@kevino

Posted August 7, 2019

August 2019 Release Notes - Version 19.8.0

Hot off the press — the August releases. Here’s what’s what.

Finagle

Breaking API Changes

  • finagle-core: The contents of the c.t.f.dispatch.GenSerialClientDispatcher object have been moved to the new c.t.f.dispatch.ClientDispatcher object. The stats receiver free constructors of GenSerialClientDispatcher and SerialClientDispatcher have been removed. 4b0493c6
  • finagle-thrift: The deprecated ReqRepThriftServiceBuilder object has been removed. Users should migrate to ReqRepMethodPerEndpointBuilder. f1c4d589

Runtime Behavior Changes

  • finagle-core: Failed reads on Linux due to a remote peer disconnecting should now be properly seen as c.t.f.ChannelClosedException instead of a c.t.f.UnknownChannelException. b06fab3e
  • finagle: Upgrade to Jackson 2.9.9. 464ae751
  • finagle: Upgrade to Netty 4.1.38.Final. 23532f19

Finatra

Added

  • finatra-http: Introduce the new streaming request and response types: c.t.finatra.http.streaming.StreamingRequest 9687e2d7, c.t.finatra.http.streaming.StreamingResponse 30fcb686. Examples are located in finatra/examples/streaming-example/.
  • finatra-jackson: Add the ability to specify fields in the MethodValidation annotation. 545674e6

Changed

  • inject-thrift-client: make ThriftClientModuleTrait extend StackClientModuleTrait for symmetry with other protocol client modules. 27105149
  • finatra-http: Deprecated c.t.finatra.http.response.StreamingResponse, Use c.t.finatra.http.response.ResponseBuilder.streaming to construct a c.t.finatra.http.streaming.StreamingResponse instead. 30fcb686
  • finatra: Upgrade to Jackson 2.9.9. f050be4f

Scrooge

  • scrooge-generator: The deprecated ReqRepThriftServiceBuilder has been removed. 14d4b980

Twitter Server

Changes

Util

Breaking API Changes

  • util-logging: The namespace forwarders for Level and Policy in com.twitter.logging.config have been removed. Code should be updated to use com.twitter.logging.Level and com.twitter.logging.Policy where necessary. Users are encouraged to use ‘util-slf4j-api’ though where possible. 6ab4aeac
  • util-logging: The deprecated com.twitter.logging.config.LoggerConfig and associated classes have been removed. These have been deprecated since 2012. Code should be updated to use com.twitter.logging.LoggerFactory where necessary. Users are encouraged to use ‘util-slf4j-api’ though where possible. 5d43773e

Runtime Behavior Changes

  • util: Upgrade to Jackson 2.9.9. 0f0bcd44