Skip to content

Finatra 22.3.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 29 Mar 21:50
· 76 commits to develop since this release

22.3.0

Runtime Behavior Changes

  • inject-app: Remove the SLF4J-API logging bridges as dependencies. These were originally
    added as the framework was expressly opionated that users should use Logback as an SLF4J-API
    implementation, however specifying the bridges on the Finatra inject/inject-app library
    causes many issues with code that must use a different SLF4J-API logging implementation
    but still uses the Finatra framework. Users should note that if they do not include these
    bridges in some other manner that they may lose logging if they have any libraries which
    log with one of the formerly bridged implementations. Also note that servers using a
    TwitterServer logging implementation to support dynamically changing log levels will get the proper bridges as dependencies.
    a73a2957

Runtime Behavior Changes

  • inject-server: Throw an UnsupportedOperationException when access to the c.t.inject.server.DeprecatedLogging#log
    instance is attempted. This is a JUL Logger instance which was provided only as a backward-compatible
    shim for Finatra services when the c.t.server.TwitterServer framework was moved to the SLF4J-API.
    The instance was marked @deprecated in hopes of alerting users to not use it. We have now updated
    it to throw an exception when accessed. Please refer to the Finatra documentation for more information
    on using the SLF4J-API for logging with the Finatra framework: https://twitter.github.io/finatra/user-guide/logging/index.html.
    e2f26752

Added

  • inject-app: Introduce test-friendly c.t.inject.app.console.ConsoleWriter and
    c.t.inject.app.TestConsoleWriter, which can be used to inspect the output of a command-line
    style c.t.inject.app.App. 404f7eeb

Changed

  • inject-modules: Remove deprecated c.t.inject.modules.LoggerModule. 4fa62a88
  • finatra: Bump version of Jackson to 2.13.2 3e0bd999
  • inject-thrift-client: Deprecate c.t.inject.thrift.AndThenService, c.t.inject.thrift.modules.AndThenServiceModule,
    and c.t.inject.thrift.internal.DefaultAndThenServiceImpl. These were plumbing for unreleased
    experimental record/replay functionality and currently do nothing with no plan for implementation.
    887c2ffb