Guava v28.1 Release Notes

Release Date: 2019-08-28 // about 2 months ago
  • Maven

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

    Javadoc

    JDiff

    🔄 Changelog

    • 🔀 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)

Previous changes from v28.0

  • Maven

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

    Javadoc

    JDiff

    🔄 Changelog

    • collect: Added Duration-based overloads to some Queues methods. (21d06cf)
    • net: Added MediaType for "application/geo+json". (36cd5cf)
    • net: Added a number of constants to HttpHeaders.
    • 🚚 concurrent: Removed deprecated CheckedFuture and related utilities. (3dd22fe)
    • concurrent: Added Duration-based overloads to many methods.
    • 🚚 concurrent: Removed @Beta from setFuture. (5ec1360)
    • 🗄 concurrent: Added deprecated FluentFuture.from(FluentFuture) to point out redundant code. (f9f2807)
    • 🏗 graph: Added GraphBuilder.immutable(),ValueGraphBuilder.immutable() and NetworkBuilder.immutable() for building immutable graphs in a fluent way.
    • 🛠 J2ObjC: Fixed crashes from use of ImmutableMap.entrySet(). (74fc49f)