Twitter Util v18.3.0 Release Notes

  • ⚙ Runtime Behavior Changes

    
    * 📜 util-app: Ensure that any flag parsing error reason is written to `System.err`
      before attempting to print flag usage. In the event that collecting flags for
      the printing the usage message fails, users will still receive a useful message
      as to why flag parsing failed. ``PHAB_ID=D137629``
    
    * util-core: Promises/Futures now use LIFO execution order for their callbacks
      (was depth-based algorithm before).  ``PHAB_ID=D135407``
    
    * util-core: Wrap the function passed to `Closable.make` in a try/catch and return
      a `Future.exception` over any NonFatal exception. ``PHAB_ID=D142086``
    
    🗄 Deprecations
    ~~~~~~~~~~~~
    
    * 🗄 util-core: RichU64* APIs are deprecated. Use Java 8 Unsigned Long API instead:
      ``PHAB_ID=D137893``
    
      - `new RichU64String("123").toU64Long` -> `Long.parseUnsignedInt`
      - `new RichU64Long(123L).toU64HexString` -> `Long.toHexString` (no leading zeros)