Skip to content

33.4.0

Latest
Compare
Choose a tag to compare
@cpovirk cpovirk released this 16 Dec 22:35
· 18 commits to master since this release

Maven

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

Jar files

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

Javadoc

JDiff

Changelog

  • Exposed additional Java 8 APIs to Android users. (6082782, 9b0109c, 6ace8bc, b650b9f, c6c2680, 984f713, f9f3fff, cdc2254)
  • base: Deprecated Charsets constants in favor of StandardCharsets. We will not remove the constants, but we recommend using StandardCharsets for consistency. (45e6be2)
  • base: Added ToStringHelper.omitEmptyValues(). (f5ec2ab)
  • collect: Added an optimized copyOf method to TreeRangeMap. (a46565d)
  • collect.testing: Fixed @Require annotations so that features implied by absent features are not also required to be absent. (81be061)
  • io: Changed ByteSink and CharSink to no longer call flush() in some cases before close(). This is a no-op for well-behaved streams, which internally flush their data as part of closing. However, we have discovered some stream implementations that have overridden close() to do nothing, including not to flush some buffered data. If this change causes problems, the simplest fix is usually to change the close() override to at least call flush(). (6ace8bc)
  • net: Added HttpHeaders.ALT_SVC and MediaType.CBOR. (503ba42, 7c0bf08)