Skip to content

28.2

Compare
Choose a tag to compare
@cpovirk cpovirk released this 27 Dec 14:02
· 1515 commits to master since this release

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>28.2-jre</version>
  <!-- or, for Android: -->
  <version>28.2-android</version>
</dependency>

Javadoc

JDiff

Changelog

  • Warning to users of GWT-RPC: The first Guava release of 2020 will remove support for GWT-serializing Guava types. To test ahead of time with GWT-RPC support for Guava types disabled, set the guava.gwt.emergency_reenable_rpc system property to false. (Even without the system property enabled, apps will now log warnings when sending Guava types over GWT-RPC.) (08bbf53)
  • base: Added Splitter.splitToStream().
  • concurrent: Added Futures.submit() (c7ef0cc)
  • concurrent: Made platformThreadFactory() and related utilities (mainly *Service) work under Java 11 App Engine, and tweaked other App Engine threading behavior. (e3ee00d)
  • concurrent: Added catch to StackOverflowError in AbstractFuture.toString to prevent long chains of futures from failing toString calls. (a2e6acc)
  • concurrent: Made ListenableFuture implement Thenable via a default interface method in GWT/j2cl (e0bac74).
  • graph: Fixed bug in AbstractNetwork.hasEdgeConnecting() causing it to throw if either endpoint was not in the graph. Originally reported as #3721. (2ee7f9d)
  • graph: Fixed data race. (0e94fb5)
  • math: Added Stream support to Stats and StatsAccumulator. (e2f4eba)
  • math: Added Quantiles compute() methods which return a Map now return a map with entries in the same order in which the indexes were provided. (786c3d8)
  • net: Added support for scope IDs for IPv6 addresses. (8a7d36a)
  • net: Added toBigInteger and fromIpv4BigInteger/fromIpv6BigInteger to InetAddresses for manipulating InetAddresses as BigIntegers (d7a0b3d)
  • net: Added MediaType constants for application/opensearchdescription+xml (f79c4fe) and MPEG-DASH (67dd062), as well as a constant for the header Cross-Origin-Opener-Policy (4ef2111).
  • net: Made MediaType reject empty type, subtype, and attribute (b080067) and non-ASCII parameter values (2278123). Also, made it serialize empty parameter values to quoted strings (2278123).
  • Added @DoNotMock to several types. (4eea0f7, add4309)
  • Removed dependency on animal-sniffer-annotations. (5f37e53)