Guava 28.1 released, Google Java core library


Guava is a set of core libraries that includes new collection types (such as multimap and multiset), immutable collections, a graph library, functional types, an in-memory cache, and APIs/utilities for concurrency, I/O, hashing, primitives, reflection, string processing, and much more!

Guava comes in two flavors.

  • The JRE flavor requires JDK 1.8 or higher.
  • If you need support for JDK 1.7 or Android, use the Android flavor. You can find the Android Guava source in the android directory.



Changelog v28.1

  • collect: Added RangeMap.merge, analogous to Map.merge. (687252d)
  • collect: Fixed a bug in ImmutableSet.Builder that could lead to infinite loops when building multiple sets from the same builder. (0007cb2)
  • io: Fixed an issue where the InputStream returned by BaseEncoding.decodingStream(Reader) could fail to throw DecodingException while decoding an invalid string. (ddd4a49)
  • net: Added MediaType for “image/heif” and “image/jp2” (508696a)
  • net: Added Upgrade-Insecure-Requests header to HttpHeaders. (6a8b716)
  • concurrent: Fixed potential memory leak in Futures.whenAllSucceed/whenAllComplete (494834b)