Twitter Util v20.3.0 Release Notes

Release Date: 2020-03-08 // about 4 years ago
  • ๐Ÿ’ฅ Breaking API Changes

    util-core: The system property com.twitter.util.UseLocalInInterruptible no longer
    can be used to modulate which Local state is present when a Promise is interrupted.
    da638942

    ๐Ÿšš util-core: Future.unapply has been removed. Use Future.poll to retrieve Future's
    state. 26beb347

    โš™ Runtime Behavior Changes

    • util-core: Promises now exclusively use the state local to setting the interrupt
      ๐Ÿ– handler when raising on a Promise. da638942

    ๐Ÿ†• New Features

    ๐Ÿ‘ util-app: Add c.t.util.app.App#onExitLast to be able to provide better Java
    ergonomics for designating a final exit function. d523c0c5

    util-core: Add c.t.io.Reader.concat to conveniently concatenate a collection
    of Reader to a single Reader. 68b28ac1

    ๐Ÿ› Bug Fixes

    • ๐ŸŒฒ util-logging: Add a missing _* that could result in exceptions when using the
      Logger.apply(Level, Throwable, String, Any*) signature. c875d359