Skip to content

Finatra 18.12.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 12 Dec 00:59
· 885 commits to develop since this release

18.12.0

Added

Changed

  • finatra-thrift: c.t.finatra.thrift.exceptions.FinatraThriftExceptionMapper and
    c.t.finatra.thrift.exceptions.FinatraJavaThriftExceptionMapper now extend
    ExceptionManager[Throwable, Nothing] since the return type was never used. They are
    now also final. dc894547
  • finatra-thrift: Remove c.t.finatra.thrift.routing.JavaThriftRouter#beforeFilter. This method
    adds too much confusion to the Router API and users are encouraged to instead apply their
    TypeAgnostic Filters directly to the resultant Service[-R, +R] by overriding the
    c.t.finatra.thrift.AbstractThriftServer#configureService method instead. b0cb8eaf
  • finatra-thrift: c.t.finagle.Filter.TypeAgnostic filters are now the standard type of filter
    that can be added by configuring a ThriftRouter. c.t.finatra.thrift.ThriftFilter has been
    deprecated. 6e93b9cc
  • finatra-thrift: c.t.finatra.thrift.ThriftRequest has been deprecated. All of the information
    contained in a ThriftRequest can be found in other ways:
    methodName -> Method.current.get.name
    traceId -> Trace.id
    clientId -> ClientId.current
    6e93b9cc

Fixed

  • finatra-http: Validate headers to prevent header injection vulnerability. 8a925000

Closed