v33.0.0
版本发布时间: 2023-12-19 05:30:36
google/guava最新发布版本:v33.3.1(2024-09-24 04:55:13)
Maven
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.0.0-jre</version>
<!-- or, for Android: -->
<version>33.0.0-android</version>
</dependency>
Jar files
Guava requires one runtime dependency, which you can download here:
Javadoc
JDiff
Changelog
- This version of
guava-android
contains some package-private methods whose signature includes the Java 8Collector
API. This is a test to identify any problems before we expose those methods publicly to users. Please report any problems that you encounter. (73dbf7ef26) - Changed various classes to catch
Exception
instead ofRuntimeException
even when onlyRuntimeException
is theoretically possible. This can help code that throws undeclared exceptions, as some bytecode rewriters (e.g., Robolectric) and languages (e.g., Kotlin) do. (c294c23760, 747924e, b2baf48) - Added an
Automatic-Module-Name
tofailureaccess
, Guava's one strong runtime dependency. (280b5d2f60) -
reflect
: Inguava-android
only, removedInvokable.getAnnotatedReturnType()
andParameter.getAnnotatedType()
. These methods never worked in an Android VM, and to reflect that, they were born@Deprecated
,@Beta
, and@DoNotCall
. They're now preventing us from rolling out some new Android compatibility testing. This is the only binary-incompatible change in this release, and it should have no effect in practice. Still, we bump the major version number to follow Semantic Versioning. (045cd8428f) -
util.concurrent
: Changed our implementations to avoid eagerly initializing loggers during class loading. This can help performance, especially under Android. (4fe1df56bd)