Guava v28.2 Release Notes
Release Date: 2019-12-27 // over 4 years ago-
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
- ๐ 28.2-jre
- ๐ 28.2-android
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 tofalse
. (Even without the system property enabled, apps will now log warnings when sending Guava types over GWT-RPC.) (08bbf53) base
: AddedSplitter.splitToStream()
.concurrent
: AddedFutures.submit()
(c7ef0cc)concurrent
: MadeplatformThreadFactory()
and related utilities (mainly*Service
) work under Java 11 App Engine, and tweaked other App Engine threading behavior. (e3ee00d)concurrent
: Addedcatch
toStackOverflowError
inAbstractFuture.toString
to prevent long chains of futures from failingtoString
calls. (a2e6acc)- 0๏ธโฃ
concurrent
: MadeListenableFuture
implementThenable
via a default interface method in GWT/j2cl (e0bac74). - ๐
graph
: Fixed bug inAbstractNetwork.hasEdgeConnecting()
causing it to throw if either endpoint was not in the graph. Originally reported as #3721. (2ee7f9d) - ๐
graph
: Fixed data race. (0e94fb5) - ๐
math
: AddedStream
support toStats
andStatsAccumulator
. (e2f4eba) math
: AddedQuantiles
compute()
methods which return aMap
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
: AddedtoBigInteger
andfromIpv4BigInteger
/fromIpv6BigInteger
toInetAddresses
for manipulatingInetAddresses
asBigIntegers
(d7a0b3d)net
: AddedMediaType
constants for application/opensearchdescription+xml (f79c4fe) and MPEG-DASH (67dd062), as well as a constant for the header Cross-Origin-Opener-Policy (4ef2111).net
: MadeMediaType
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)