Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Guava Release 18.0: Release Notes
- 18.0 was released on August 25, 2014
- 18.0-rc2 was released on August 18, 2014.
- 18.0-rc1 was released on August 5, 2014.
Using Guava in your project
Note: As of Guava 18, we will no longer be releasing JDK5 backports.
See UseGuavaInYourBuild for help integrating Guava into your build environment.
21 issues are resolved in this release.
Full JDiff Report of changes since release 17.0.
To build a combined report of the API changes between release 18.0 and any older release, check out our docs tree and run
jdiff/jdiff.sh with the previous release number as argument (example:
Significant API additions and changes
- Methods in
Objectswhich do not have equivalents in
java.util.Objectshave been moved to
MoreObjectsto allow importing of both classes. Those methods have been deprecated in our
Objectsclass. Methods which do have equivalents in
java.util.Objectswill remain (undeprecated) in our
Objectsclass as long as Guava continues to support JDK 6.
- Methods in
- removed deprecatedvalueOfFunction` method.
FluentIterable.append(Iterable<? extends E>)
BloomFilter no longer recognizes the system property
com.google.common.hash.BloomFilter.useMitz32 (see Release 17 - A note on BloomFilter for more information).
Methods which took an
OutputSupplier parameter or which returned an
OutputSupplier (all of which were deprecated in Guava 15.0) have been removed. Additionally,
CharSink no longer implement
OutputSupplier interfaces, which no longer have any usages in Guava, will be deleted in December 2015.
MoreExecutors.directExecutor()- lightweight, simple
Executorthat runs tasks on the thread that invokes
ListeningExecutorServiceimplementation of the same thing; equivalent to
sameThreadExecutor(), which has been deprecated.