Skip to content

Util 21.9.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 01 Oct 20:53
· 213 commits to develop since this release

New Features

  • util-jvm: Experimentally crossbuilds with Scala 3. bfdde071
  • util-stats: Counter, Gauge, and Stat can be instrumented with descriptions. 4e68dd09
  • util-cache: Experimentally crossbuilds with Scala 3. 22977aa0.
  • util-cache-guava: Experimentally crossbuilds with Scala 3. 6131382e.
  • util-routing: Experimentally crossbuilds with Scala 3. 9615a9f1
  • util-sl4j-api: Experimentally crossbuilds with Scala 3. e2368780
  • util-sl4j-jul-bridge: Experimentally crossbuilds with Scala 3. 16a4a945
  • util-stats: Experimentally crossbuilds with Scala 3. ea54f59c
  • util-zk-test: Experimentally crossbuilds with Scala 3. 86df882b
  • util-app: Flags parsing will now roll-up multiple flag parsing errors into a single
    error message. When an error is encountered, flag parsing will continue to collect parse error
    information instead of escaping on the first flag failure. After parsing all flags, if any errors
    are present, a message containing all of the failed flags and their error reason,
    along with the help usage message will be emitted. 0def519d

Runtime Behavior Changes

  • util: Bump version of Jackson to 2.11.4. 72b9ba1e
  • util: Bump version of json4s to 3.6.11. a9afb222

Breaking API Changes

  • util-app: the c.t.app.App#flags field is now a final def instead of a val to address
    override val scenarios where the c.t.app.App#flags are accessed as part of construction,
    resulting in a NullPointerException due to access ordering issues.
    The c.t.app.Flags class is now made final. The c.t.app.App#name field has changed from
    a val and is now a def. A new c.t.app.App#includeGlobalFlags def has been exposed, which
    defaults to true. The c.t.app#includeGlobalFlags def can be overridden to false
    (ex: override protected def includeGlobalFlags: Boolean = false) in order to skip discovery
    of GlobalFlags during flag parsing. b44e820c