Twitter Util v19.10.0 Release Notes

Release Date: 2019-10-09 // over 4 years ago
  • โš™ Runtime Behavior Changes

    • util-core: When a computation from FuturePool is interrupted, its promise is
      set to the interrupt, wrapped in a j.u.c.CancellationException. This wrapper
      was introduced because, all interrupts were once CancellationExceptions. In
      RB_ID=98612, this changed to allow the user to raise specific exceptions as
      ๐Ÿ‘ป interrupts, and in the aid of compatibility, we wrapped this raised exception
      ๐Ÿšš in a CancellationException. This change removes the wrapper and fails the
      ๐Ÿ‘ป promise directly with the raised exception. This will affect users that
      explicitly handle CancellationException. d95914f8

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  util-core: Fixed bug in c.t.io.Reader.framed where if the framer didn't emit a List the
      emitted frames were skipped. aedc943e
    • util-hashing: Fix a bug where partitionIdForHash was returning incosistent values w.r.t
      entryForHash in KetamaDistributor. c66080b6