github google/guava v33.5.0
33.5.0

8 hours ago

Maven

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

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • Restored the Automatic-Module-Name to guava-android. (It, unlike, guava-jre, is not a proper module.) (7a04a8a)
  • For users of guava-gwt: Google has moved off GWT internally. We plan to continue to release guava-gwt for users of GWT and J2CL, but the artifact is no longer tested for GWT-specific issues, and we have limited resources to fix any unexpected issues that might arise. While we do not anticipate any specific problems, we can't guarantee how long support will continue.
  • Increased our Android minSdkVersion to 23 (Marshmallow). This follows the minimum of Google's foundational Android libraries, and we expect it to have no practical impact on users. (5c23347)
  • Listed the JSpecify annotations as an optional dependency in our OSGi metadata. (2dfd572)
  • cache: Improved the handling of exceptions from compute functions in Cache.asMap(). (We do still recommend using Caffeine rather than com.google.common.cache.) (087f2c4)
  • collect: Improved Iterators.mergeSorted() to preserve stability for equal elements. (4dc93be)
  • math: Added saturatedAbs methods to IntMath and LongMath. (ed0e518)
  • net: Added image/avif to MediaType. (53344ca)
  • testing: Made CollectorTester available to Android users. (294c251)
  • util.concurrent: Added Striped.custom. (1586eb2)

Don't miss a new guava release

NewReleases is sending notifications on new releases.