Twitter Util v18.4.0 Release Notes
-
๐ New Features
* util-app: Add the ability to bind specific implementations for `LoadService.apply` via `App.loadServiceBindings`. ``PHAB_ID=D146554`` * util-core: Introduce the `ClosableOnce` trait which extends the guarantees of `Closable` to include idempotency of the `close` method. ``PHAB_ID=D152000`` โ Runtime Behavior Changes
util-app: Add visibility for NonFatal exceptions during exiting of
c.t.app.App
. Added visibility into any NonFatal exceptions which occur during the closing of resources duringApp#close
.PHAB_ID=D146029
util-core: Ensure the
Awaitable.CloseAwaitably0.closeAwaitably
Future returns. Because theclosed
AtomicBoolean is flipped, we want to make sure that executing the passed inf
function satisfies theonClose
Promise even the cases of thrown exceptions.PHAB_ID=D146565
๐จ util-stats: Alphabetically sort stats printed to the given
PrintStream
in thec.t.finagle.stats.InMemoryStatsReceiver#print(PrintStream)
function.
To include stats headers which provide better visual separation for the different types of stats being printedm, set
includeHeaders
to true. E.g.,InMemoryStatsReceiver#print(PrintStream, includeHeaders = true)
PHAB_ID=D144091