Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

deps: update dependency com.google.guava:guava to v30 #550

Merged

Conversation

renovate-bot
Copy link
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.guava:guava 23.6-jre -> 30.1-jre age adoption passing confidence

Release Notes

google/guava

v30.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>30.0-jre</version>
  <!-- or, for Android: -->
  <version>30.0-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Guava types can no longer be sent over GWT-RPC. Even the earlier, temporary way to reenable support (guava.gwt.emergency_reenable_rpc) no longer has an effect. (0cb89dd)
  • cache: Fixed memory leak in LocalCache under j2objc. (5e519d9)
  • collect: Added two-element min and max methods to Comparators. (958186c)
  • collect: Removed @Beta from Multimaps.toMultimap. (b6b4dc4)
  • collect: Made the set returned by ImmutableMap<K, V>.keySet() serializable as long as K is serializable, even if V is not (and similarly for values()). (f5a69c3)
  • collect: Fixed bug in powerSet.equals(otherPowerSet) would erroneously return false if the two power sets' underlying sets were equal but had a different iteration order. (215b1f0)
  • collect: Eliminated j2objc retain-cycle in SingletonImmutableBiMap. (0ad38b8)
  • eventbus: Prevented @Subscribe from being applied to a method that takes a primitive, as that will never be called. (554546c)
  • graph: Made Traverser.breadthFirst() lazier, and optimized Traverser more generally. (32f2d77, b5210ca)
  • graph: Added @DoNotMock to Traverser. (6410f18)
  • io: Deprecated Files.createTempDir(). (fec0dbc) (CVE-2020-8908; continuing discussion in https://github.com/google/guava/issues/4011)
  • ~~io: Upgraded ByteStreams.copy(InputStream, OutputStream) to use the faster FileChannel if possible. (a1e9a0b)~~ [update: My mistake: This was rolled back, so it did not make 30.0.]
  • math: Added roundToDouble to BigDecimalMath, BigIntegerMath, and LongMath. (bee4f3c, 2b5c096, 633abf2)
  • net: Added MediaType constants for several font/ types. (571cf66)
  • net: Added HttpHeaders constants for Cross-Origin-Embedder-Policy(-Report-Only)?. (c3bf731)
  • testing: Made EqualsTester test that non-String objects are not equal to their String representations. (c9570ea)
  • util.concurrent: Added ClosingFuture. (52e048e)
  • util.concurrent: Removed the deprecated 1-arg ServiceManager.addListener(Listener). Use the 2-arg addListener(Listener, Executor) overload, setting the executor to directExecutor() for equivalent behavior. (dfb0001)
  • util.concurrent: Changed AbstractFuture.toString() to no longer include the toString() of the result. (2ebf27f)
  • util.concurrent: Added awaitTerminationUninterruptibly. (f07b954)

v29.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>29.0-jre</version>
  <!-- or, for Android: -->
  <version>29.0-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Guava types can no longer be sent over GWT-RPC. To temporarily reenable support, set the guava.gwt.emergency_reenable_rpc system property to true. (5214a10)
    • This is the only breaking change in this release, and it affects only users of the guava-gwt artifact, not people who use only the guava artifact. This release contains no changes that break binary compatibility for any users.
  • API documentation for Guava classes is now easier to reach. For example, for ImmutableList, visit guava.dev/ImmutableList. Also, more easily access the index at guava.dev/api.
  • collect: Annotated FluentIterable.from(FluentIterable) with @DoNotCall. (b1c77b7)
  • collect: Made ceiling, floor, headSet(E, boolean), and tailSet(E, boolean) methods available in the GWT-emulated ImmutableSortedSet. (7e0fe90, 5f2fbf2)
  • graph: Made it possible to set a stable incident edge order by calling the newly added method [Value]Graph.Builder.incidentEdgeOrder(ElementOrder.stable()). (7016402)
  • graph: Added incidentEdgeOrder() to the [Value]Graph interfaces. (cde576e)
  • util.concurrent: Added Duration-based default methods to ListeningScheduledExecutorService. (931e83f)
  • util.concurrent: Added immediateVoidFuture. (9f3bae5)
  • util.concurrent: Removed @Beta from Service and related classes. (dc46627)
  • util.concurrent: Deprecated the 1-arg overload of ServiceManager.addListener. (86e3620)
  • util.concurrent: Changed the return type of ServiceManager.servicesByState() to ImmutableSetMultimap (but also retained a method with the old signature for binary compatibility). (31999ae)
  • util.concurrent: Made it safe to load the AbstractFuture class from a ForkJoinPool thread under a security manager. (6e0c5b5)

v28.2

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>28.2-jre</version>
  <!-- or, for Android: -->
  <version>28.2-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Warning to users of GWT-RPC: The first Guava release of 2020 will remove support for GWT-serializing Guava types. To test ahead of time with GWT-RPC support for Guava types disabled, set the guava.gwt.emergency_reenable_rpc system property to false. (Even without the system property enabled, apps will now log warnings when sending Guava types over GWT-RPC.) (08bbf53)
  • base: Added Splitter.splitToStream().
  • concurrent: Added Futures.submit() (c7ef0cc)
  • concurrent: Made platformThreadFactory() and related utilities (mainly *Service) work under Java 11 App Engine, and tweaked other App Engine threading behavior. (e3ee00d)
  • concurrent: Added catch to StackOverflowError in AbstractFuture.toString to prevent long chains of futures from failing toString calls. (a2e6acc)
  • concurrent: Made ListenableFuture implement Thenable via a default interface method in GWT/j2cl (e0bac74).
  • graph: Fixed bug in AbstractNetwork.hasEdgeConnecting() causing it to throw if either endpoint was not in the graph. Originally reported as #​3721. (2ee7f9d)
  • graph: Fixed data race. (0e94fb5)
  • math: Added Stream support to Stats and StatsAccumulator. (e2f4eba)
  • math: Added Quantiles compute() methods which return a Map now return a map with entries in the same order in which the indexes were provided. (786c3d8)
  • net: Added support for scope IDs for IPv6 addresses. (8a7d36a)
  • net: Added toBigInteger and fromIpv4BigInteger/fromIpv6BigInteger to InetAddresses for manipulating InetAddresses as BigIntegers (d7a0b3d)
  • net: Added MediaType constants for application/opensearchdescription+xml (f79c4fe) and MPEG-DASH (67dd062), as well as a constant for the header Cross-Origin-Opener-Policy (4ef2111).
  • net: Made MediaType reject empty type, subtype, and attribute (b080067) and non-ASCII parameter values (2278123). Also, made it serialize empty parameter values to quoted strings (2278123).
  • Added @DoNotMock to several types. (4eea0f7, add4309)
  • Removed dependency on animal-sniffer-annotations. (5f37e53)

v28.1

Compare Source

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)

v28.0

Compare Source

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)

v27.1

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>27.1-jre</version>
  <!-- or, for Android: -->
  <version>27.1-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Removed GWT emulations that are no longer needed as of GWT 2.8.2. This means that GWT projects that use this version of Guava must use GWT 2.8.2 or higher. (5f35072)
  • Created a BOM for Guava (new guava-bom artifact). (0e59641)
  • Removed @Beta from a number of frequently used APIs. (6242bdd)
  • net: Added Sec-Fetch headers to HttpHeaders. (673b243)
  • net: Added SourceMap header to HttpHeaders (a99c15f)
  • net: Added MediaType for "application/jose" and "application/jose+json". (d416e04)
  • graph: Added overloads to methods accepting pairs of nodes to also accept EndpointPair; changed behavior of *Graph.edges().contains() to allow undirected graphs to accept ordered EndpointPairs. (af3ee1c)

v27.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>27.0-jre</version>
  <!-- or, for Android: -->
  <version>27.0-android</version>
</dependency>
Javadoc
JDiff
Changelog

Important: ListenableFuture is now available as a separate artifact (com.google.guava:listenablefuture:1.0) from the rest of Guava. As part of that change, Guava now has a real (needed at runtime) dependency on com.google.guava:failureaccess:1.0. For more details, see this announcement. (b62d529)

  • collect: Added a gap(Range) method to Range that computes the Range that lies between them. (a9dd709)
  • net: Added HttpHeaders.EARLY_DATA. (e074cf1)
  • net: Added MediaType.WASM_APPLICATION. (0b3eb0f)
  • concurrent: AbstractFuture doesn't expose FluentFuture APIs anymore. (0f8d360)
  • concurrent: Added doCancelStart protected method to AbstractService (27bfe41)

v26.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>26.0-jre</version>
  <!-- or, for Android: -->
  <version>26.0-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • base: Removed deprecated public static fields from CharMatcher. Use the equivalent public static methods instead. (f1249c4)
  • base: Fixed the ServiceConfigurationError that some users encountered when using Guava as a JPMS module. (8287cdf)
  • cache: Fixed a bug where Cache.asMap.compute* methods could cause nonsensical weights to be stored, breaking cache eviction. (15764d7)
  • concurrent: Removed deprecated Futures methods that implicitly use directExecutor(). (87d87f5)
  • concurrent: Added ExecutionSequencer, a new utility to run a series of asynchronous operations serially. (8d1fbc9)
  • concurrent: Removed special-casing UndeclaredThrowableException in Futures.transform(). (9466b62)
  • net: Changed HostAndPort.equals() and hashCode() to stop depending on whether brackets were included. Now they depend only on host and port. (34c1616)
  • net: Added HttpHeaders constant for Sec-Metadata header. (986a3a3)
  • net: Added MediaType for "application/hal+json". (fea88fe)

v25.1

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>25.1-jre</version>
  <!-- or, for Android: -->
  <version>25.1-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Switched to the type annotation version of @Nullable in the JRE/Java 8 flavor. (0a2258e)
  • base: Added Strings.lenientFormat(), copied from Preconditions.format(). (7fe1702)
  • net: Added Token Binding HTTP headers to HttpHeaders. (d9113d5)
  • reflect: Added overrides for methods on JDK types returning AnnotatedType in the JRE/Java 8 flavor. (d94eb93)
  • testing: Added support for type annotations in NullPointerTester in the JRE/Java 8 flavor. (d94eb93)
  • util.concurrent: Added @DoNotCall to Futures methods that do not accept an Executor in preparation for removal. (49a1df6)

v25.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>25.0-jre</version>
  <!-- or, for Android: -->
  <version>25.0-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • Fixed Denial of Service vulnerability for servers that use Guava and deserialize attacker data: CVE-2018-10237. (f89ece5)
  • cache: Added java.time.Duration overloads to CacheBuilder. (9bf6d95)
  • io: Removed deprecated Files.fileTreeTraverser() and MoreFiles.directoryTreeTraverser(). (ce6d93c)

v24.1

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>24.1-jre</version>
  <!-- or, for Android: -->
  <version>24.1-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • collect: Added hash flooding protection to ImmutableSet, ImmutableMultiset, ImmutableMap and ImmutableBiMap
  • graph: Added support for traversing from multiple start nodes in Traverser. (cbc5308)
  • net: Added X-Download-Options header to HttpHeaders (9b9a175)
  • net: Added L16 audio constant to MediaType

v24.0

Compare Source

Maven
<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>24.0-jre</version>
  <!-- or, for Android: -->
  <version>24.0-android</version>
</dependency>
Javadoc
JDiff
Changelog
  • base: Removed deprecated Predicates.assignableFrom(Class). (d57a40e)
  • collect: Removed deprecated BinaryTreeTraverser. (f91ef6c)
  • concurrent: Removed deprecated Futures.dereference and MoreExecutors.sequentialExecutor. (f91ef6c)
  • graph: Removed deprecated Graphs.equivalent() (41fa39f)
  • graph: Added incidentEdges() method to Graph and ValueGraph. (d788bc1)
  • net: Added HttpHeaders.HTTP2_SETTINGS header according to http://httpwg.org/specs/rfc7540.html#Http2SettingsHeader (393066e)
  • net: Added MediaType.withParameters method that can replace a specific attribute with zero or more values. (7da42d2)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner August 27, 2021 18:20
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Aug 27, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 27, 2021
@product-auto-label product-auto-label bot added the api: recaptchaenterprise Issues related to the googleapis/java-recaptchaenterprise API. label Aug 27, 2021
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Aug 27, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 27, 2021
@eaball35 eaball35 merged commit d1505d8 into googleapis:master Aug 31, 2021
@renovate-bot renovate-bot deleted the renovate/com.google.guava-guava-30.x branch August 31, 2021 23:06
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 3, 2021
🤖 I have created a release \*beep\* \*boop\*
---
## [2.1.0](https://www.github.com/googleapis/java-recaptchaenterprise/compare/v2.0.2...v2.1.0) (2021-09-03)


### Features

* Remove use of deprecated gradle command in java README ([#1196](https://www.github.com/googleapis/java-recaptchaenterprise/issues/1196)) ([#542](https://www.github.com/googleapis/java-recaptchaenterprise/issues/542)) ([45fbfc9](https://www.github.com/googleapis/java-recaptchaenterprise/commit/45fbfc9c5de343811686b03898dc4f21a346fba9))


### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#553](https://www.github.com/googleapis/java-recaptchaenterprise/issues/553)) ([f9fde85](https://www.github.com/googleapis/java-recaptchaenterprise/commit/f9fde857ff3daba10ab4999c5d32a2ce2667cc3e))
* update dependency com.google.guava:guava to v30 ([#550](https://www.github.com/googleapis/java-recaptchaenterprise/issues/550)) ([d1505d8](https://www.github.com/googleapis/java-recaptchaenterprise/commit/d1505d8ae30c60e36dffb42cbac8d3b7785e3557))
* update dependency io.github.bonigarcia:webdrivermanager to v5 ([#551](https://www.github.com/googleapis/java-recaptchaenterprise/issues/551)) ([83b0558](https://www.github.com/googleapis/java-recaptchaenterprise/commit/83b05589dae646ce48c1d35f76a50d0f3d700fc5))
* update dependency net.bytebuddy:byte-buddy to v1.11.14 ([#547](https://www.github.com/googleapis/java-recaptchaenterprise/issues/547)) ([fc69126](https://www.github.com/googleapis/java-recaptchaenterprise/commit/fc691268301942e53c40aab33e218e0eae100944))
* update dependency org.seleniumhq.selenium:selenium-chrome-driver to v3.141.59 ([#548](https://www.github.com/googleapis/java-recaptchaenterprise/issues/548)) ([ea8534e](https://www.github.com/googleapis/java-recaptchaenterprise/commit/ea8534eaec31c61731deec11898317c1c0cd8cf8))
* update dependency org.seleniumhq.selenium:selenium-java to v3.141.59 ([#549](https://www.github.com/googleapis/java-recaptchaenterprise/issues/549)) ([ec7cfc0](https://www.github.com/googleapis/java-recaptchaenterprise/commit/ec7cfc0e513ccfc16273b0a9683a20d5ac2c30d9))
* update dependency org.springframework.boot:spring-boot-starter-test to v2.5.4 ([#543](https://www.github.com/googleapis/java-recaptchaenterprise/issues/543)) ([3e92322](https://www.github.com/googleapis/java-recaptchaenterprise/commit/3e92322c146f4a6696e9f668b384f88092f49da5))
* update dependency org.springframework.boot:spring-boot-starter-thymeleaf to v2.5.4 ([#544](https://www.github.com/googleapis/java-recaptchaenterprise/issues/544)) ([b0fcd3e](https://www.github.com/googleapis/java-recaptchaenterprise/commit/b0fcd3e3aedf54baeb4a7c9ce45afb4bf544294f))
* update dependency org.springframework.boot:spring-boot-starter-web to v2.5.4 ([#545](https://www.github.com/googleapis/java-recaptchaenterprise/issues/545)) ([267b904](https://www.github.com/googleapis/java-recaptchaenterprise/commit/267b90414dab07f3657b2328f627595d27aff076))


### Documentation

* **samples:** adding README.md ([#557](https://www.github.com/googleapis/java-recaptchaenterprise/issues/557)) ([e109351](https://www.github.com/googleapis/java-recaptchaenterprise/commit/e109351c8be316314b761aac5bd9767b6045b4a5))
* **samples:** create recaptcha samples  ([#535](https://www.github.com/googleapis/java-recaptchaenterprise/issues/535)) ([f09d9ee](https://www.github.com/googleapis/java-recaptchaenterprise/commit/f09d9ee7ebf21d10953ad624422e6cb57256a7f3))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: recaptchaenterprise Issues related to the googleapis/java-recaptchaenterprise API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
3 participants