30.0
Maven
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>30.0-jre</version>
<!-- or, for Android: -->
<version>30.0-android</version>
</dependency>Javadoc
JDiff
Changelog
- Guava types can no longer be sent over GWT-RPC. Even the earlier, temporary way to reenable support (
guava.gwt.emergency_reenable_rpc) no longer has an effect. (0cb89dd) cache: Fixed memory leak inLocalCacheunder j2objc. (5e519d9)collect: Added two-elementminandmaxmethods toComparators. (958186c)collect: Removed@BetafromMultimaps.toMultimap. (b6b4dc4)collect: Made the set returned byImmutableMap<K, V>.keySet()serializable as long asKis serializable, even ifVis not (and similarly forvalues()). (f5a69c3)collect: Fixed bug inpowerSet.equals(otherPowerSet)would erroneously returnfalseif the two power sets' underlying sets were equal but had a different iteration order. (215b1f0)collect: Eliminated j2objc retain-cycle inSingletonImmutableBiMap. (0ad38b8)eventbus: Prevented@Subscribefrom being applied to a method that takes a primitive, as that will never be called. (554546c)graph: MadeTraverser.breadthFirst()lazier, and optimizedTraversermore generally. (32f2d77, b5210ca)graph: Added@DoNotMocktoTraverser. (6410f18)io: DeprecatedFiles.createTempDir(). (fec0dbc) (CVE-2020-8908; continuing discussion in #4011)[update: My mistake: This was rolled back, so it did not make 30.0.]io: UpgradedByteStreams.copy(InputStream, OutputStream)to use the fasterFileChannelif possible. (a1e9a0b)math: AddedroundToDoubletoBigDecimalMath,BigIntegerMath, andLongMath. (bee4f3c, 2b5c096, 633abf2)net: AddedMediaTypeconstants for several font/ types. (571cf66)net: AddedHttpHeadersconstants forCross-Origin-Embedder-Policy(-Report-Only)?. (c3bf731)testing: MadeEqualsTestertest that non-Stringobjects are not equal to theirStringrepresentations. (c9570ea)util.concurrent: AddedClosingFuture. (52e048e)util.concurrent: Removed the deprecated 1-argServiceManager.addListener(Listener). Use the 2-argaddListener(Listener, Executor)overload, setting the executor todirectExecutor()for equivalent behavior. (dfb0001)util.concurrent: ChangedAbstractFuture.toString()to no longer include thetoString()of the result. (2ebf27f)util.concurrent: AddedawaitTerminationUninterruptibly. (f07b954)