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

    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)
    • 0๏ธโƒฃ 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)