Download Latest Version Util 22.12.0 source code.tar.gz (833.3 kB)
Email in envelope

Get an email when there's a new version of Twitter Util

Home / util-22.12.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2022-12-23 1.7 kB
Util 22.12.0 source code.tar.gz 2022-12-23 833.3 kB
Util 22.12.0 source code.zip 2022-12-23 1.4 MB
Totals: 3 Items   2.2 MB 1

22.12.0

New Features

  • util-core: Introduce Future.fromCompletableFuture PHAB_ID=D940686
  • util-core: Introduce Time.fromInstant e9d1bc9e
  • util-core: Introduce TimeFormatter, a replacement for TimeFormat. TimeFormatter uses the modern java.time.format.DateTimeFormatter API instead of the java.text.SimpleDateFormat with the main advantage being that it doesn't require synchronization on either formatting or parsing, and is thus more performant and causes no contention. e9d1bc9e
  • util-stats: MetricBuilder now has API to configure a format in which histograms are exported. Use .withHistogramFormat to access it. PHAB_ID=D908189

Deprecations

  • util-core: TimeFormat, as well as the Time.format methods are deprecated in favor of using TimeFormatter. e9d1bc9e

Runtime Behavior Changes

  • util: Bump version of Jackson to 2.14.1. 1a6ff676
  • util-core: Time.at, Time.toString, and Time.fromRss now use TimeFormatter internally and thus have better performance and do not cause contention through synchronization. toString always uses TimeFormatter while at and fromRss only use it when run with Java 9 or later due to a compatibility bug in Java 1.8. e9d1bc9e
Source: README.md, updated 2022-12-23