Finatra v20.9.0 Release Notes

Release Date: 2020-09-25 // over 3 years ago
  • โž• Added

    • โœ… finatra-inject: TestInjector has been reworked to allow users executing modules' lifecycle
      ๐Ÿ— callbacks. Specifically, the TestInjector builder API has been moved under TestInjector.Builder
      โœ… to allow TestInjector extends Injector with two new methods: start() and close().
      07bf53fa

    ๐Ÿ”„ Changed

    • โšก๏ธ finatra-kafka-streams: Update and separate the Finatra kafka stream code base which has direct
      โฌ†๏ธ dependency on Kafka 2.2. Separate any code which cannot easily be upgraded to separate build
      target. 3c78c34d
    • inject-core: c.t.inject.Injector is now an abstract class. Use Injector.apply to create
      a new instance (versus the new Injector(...) before). 64ba51e9
    • http: Ensure HttpWarmer creates the request exactly the number of times requested and
      mutates the correct objects. 0a3be376
    • kafka: Replaced the com.twitter.finatra.kafka.TracingEnabled toggle with a GlobalFlag enabling
      Zipkin tracing for Kafka clients. 0e829aae
    • finatra: Bump version of Jackson to 2.11.2. 94bc773d

    ๐Ÿ›  Fixed

    • jackson: Fix issue in the handling of unknown properties. The CaseClassDeserializer only
      considered the case where the incoming JSON contained more fields than the case class and
      not the case where the incoming JSON contained less fields than specified in the case class.
      ๐Ÿ›  This has been fixed to ensure that when the fields of the JSON do not line up to the
      non-ignored case class fields the handling of unknown properties is properly invoked.
      9762145d
    • validation: c.t.f.validation.Validator would throw an IndexOutOfBoundsException when
      trying to validate a case class which contained additional fields that are not included in the
      constructor parameters. bb342c09