Metrics-Scala v4.0.1 Release Notes
Release Date: 2018-01-01 // over 6 years ago-
- 📦 All code moved to the package
nl.grons.metrics4.scala
to prevent clashes with version 3.x. Except for the package name change,v4.0.1
is fully source compatible withv3.5.9
. - ➕ Added trait
FreshRegistries
,FreshMetricRegistry
andFreshHealthCheckRegistry
to enable testing that metrics are collected. Furthermore it eases unit testing of components that define gauges or health checks (see documentation). - Using dropwizard-metrics 4.0.1, only targeting Java 8 and later.
- ⬆️ Bumped Scala and Akka to latest minor versions.
- ⬇️ Dropped support for Scala 2.10 and Akka 2.3.
- ✂ Removed deprecations. (Trait
FutureMetrics
and methodMeter.exceptionMarkerPartialFunction
.) - Akka support moved to a separate library:
"nl.grons" %% "metrics4-akka_a24"
and"nl.grons" %% "metrics4-akka_a25"
- 🚚 Hdr support moved to a separate library:
"nl.grons" %% "metrics4-scala-hdr"
- ⬆️ Upgraded sbt from 0.13 to 1.0. Complete cross build can not be done with a single sbt invocation.
- 📦 All code moved to the package