Twitter Util v21.6.0 Release Notes
-
๐ New Features
* util-core: Add `ClasspathResource`, a utility for loading classpath resources as an optional `InputStream`. ``PHAB_ID=D687324`` * util-jackson: Add `com.twitter.util.jackson.YAML` for YAML serde operations with a default configured `ScalaObjectMapper.` Add more methods to `com.twitter.util.jackson.JSON` ``PHAB_ID=D687327`` * util-jackson: Introduce a new library for JSON serialization and deserialization based on the Jackson integration in `Finatra <https://twitter.github.io/finatra/user-guide/json/index.html>`__. This includes a custom case class deserializer which "fails slow" to collect all mapping failures for error reporting. This deserializer is also natively integrated with the util-validator library to provide for performing case class validations during deserialization. ``PHAB_ID=D664962`` ๐ฅ Breaking API Changes
- ๐ util-stats: Removed MetricSchema trait (CounterSchema, GaugeSchema and HistogramSchema).
StatReceiver derived classes use MetricBuilder directly to create counters, gauges and stats.
PHAB_ID=D668739
โ Runtime Behavior Changes
* โก๏ธ util-cache: Update Caffeine cache library to version 2.9.1 ``PHAB_ID=D660908``
- ๐ util-stats: Removed MetricSchema trait (CounterSchema, GaugeSchema and HistogramSchema).
StatReceiver derived classes use MetricBuilder directly to create counters, gauges and stats.