Finatra v21.11.0 Release Notes

  • โž• Added

    
    * โœ… inject-core: Introduce a `runAfterAll` hook in `c.t.inject.IntegrationTestMixin` to allow for
      running logic to clean-up test resources in the `org.scalatest.BeforeAndAfterAll#afterAll` without
      needing to 1) override `org.scalatest.BeforeAndAfterAll#afterAll`, 2) ensure `super` is called for
      other resources clean-up, and 3) ensure all resources get cleaned up, regardless of non-fatal
      exceptions thrown as part of the clean-up logic and otherwise fail the TestSuite run.
      ``PHAB_ID=D707939``
    
    โš™ Runtime Behavior Changes
    
    • http-server: Treat non-constant routes with or without trailing slash as 2 different routes. For example, "/user/:id" and "/user/:id/" are treated as different routes in Finatra. You can still use the optional trailing slash /? which will indicate Finatra to ignore the trailing slash while routing. We don't recommend to mix both use cases when defining your routes. For example: passing in both /user/:id and /user/:id/? at the same time. PHAB_ID=D787560

    ๐Ÿ”„ Changed

    
    * http-server (BREAKING API CHANGE): Will now serialize many self-referential Jackson types as "{}"
      instead of returning a serialization error.  See https://github.com/FasterXML/jackson-databind/commit/765e2fe1b7f6cdbc6855b32b39ba876fdff9fbcc
      for more details. ``PHAB_ID=D744627``