Skip to content

Finatra 20.12.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 19 Jan 20:05
· 322 commits to develop since this release

Added

  • finatra-kafka-streams: Add async map commands to Kafka Streams DSL (flatMapAsync,
    flatMapValuesAsync, mapAsync, and mapValuesAsync) 4922a984
  • finatra-kafka-streams: Allow String configuration to be null and set upgradefrom to null if it is running in 2.5 kafka client. 6703da53
  • finatra-http: Allow injecting filtered controllers in HttpRouter from Java. de2a8f78
  • inject-utils: Move deprecation warning from c.t.inject.conversions.map to
    c.t.inject.conversions.map.RichMap. 4364eb6e
  • kafka: Add an option includePartitionMetrics to KafkaFinagleMetricsReporter to not include
    metrics per partition of the FinagleKafkaConsumer. Defaults to true. 1f5a00ee
  • finatra: Enables cross-build for 2.13.1 for inject-logback. 0468a613
  • finatra-kafka-streams: Add delay DSL calls to insert a delay into a Kafka Streams topology.
  • finatra: Enables cross-build for 2.13.1 for inject-thrift-client. 82cf2830
  • finatra-kafka-streams: Add c.t.f.k.t.s.PersistentTimerValueStore which stores a value in the
    timerstore that can be used when the timer is triggered. 3cd8bfc0
  • inject-core: Add ability to call InMemoryStats#waitFor with a fixed timeout
    306b7196
  • finatra: Enables cross-build for 2.13.1 for httpclient, http, and jackson. d6dbc074

Changed

  • inject-utils: Deprecate all methods in c.t.inject.conversions.map.RichMap, and move
    functionality to c.t.conversions.MapOps in the util/util-core project. e765b5ae
  • inject-utils: Deprecate all methods in c.t.inject.conversions.tuple, and move functionality
    to c.t.conversions.TupleOps in the util/util-core project. 2bd6dbf6
  • inject-utils: Deprecate all methods in c.t.inject.conversions.seq, and move functionality
    to c.t.conversions.SeqOps in the util/util-core project. 0ad0d114
  • inject-utils: Remove deprecated camelify, pascalify, and snakify from
    c.t.inject.conversions.string.RichString. Additionally, deprecate toOption and
    getOrElse in c.t.inject.conversions.string.RichString, and move functionality to
    c.t.conversions.StringOps in the util/util-core project. b058e7f4
  • c.t.finatra.http.exceptions.ExceptionMapperCollection changed from Traversable to Iterable
    for cross-building 2.12 and 2.13. d6dbc074
  • inject-core: (BREAKING API CHANGE) Move the testing utility InMemoryStatsReceiverUtility
    and InMemoryStats into inject-core from inject-server. They can both be found under
    com.twitter.inject. fa5d5d69
  • validation: (BREAKING API CHANGE) Introduce new Validation Framework APIs which support
    cascading validation to nested case classes and other improvements which also closer align
    to JSR380. Validator#validate has changed from returning Unit and throwing an exception
    to model the JSR380 version that returns a Set of failed constraints. There is a new method
    which replicates the throwing behavior. 19008194
  • kafka: Split c.t.f.kafka.tracingEnabled flag into c.t.f.k.producers.producerTracingEnabled and
    c.t.f.k.consumers.consumerTracingEnabled to selectively enable/disable tracing for
    producers/consumers. Producer tracing is turned on by default and consumer tracing is turned off
    by default now. b95b8460

Fixed

  • inject-server: Wire through HTTP method in AdminHttpClient so that POST requests can be made to
    HTTPAdmin endpoints. 8d846128