This repository was archived by the owner on Sep 16, 2023. It is now read-only.
deps: update dependency com.google.guava:guava to v30 #550
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
23.6-jre->30.1-jreRelease Notes
google/guava
v30.0Compare Source
Maven
Javadoc
JDiff
Changelog
guava.gwt.emergency_reenable_rpc) no longer has an effect. (0cb89dd)cache: Fixed memory leak inLocalCacheunder j2objc. (5e519d9)collect: Added two-elementminandmaxmethods toComparators. (958186c)collect: Removed@BetafromMultimaps.toMultimap. (b6b4dc4)collect: Made the set returned byImmutableMap<K, V>.keySet()serializable as long asKis serializable, even ifVis not (and similarly forvalues()). (f5a69c3)collect: Fixed bug inpowerSet.equals(otherPowerSet)would erroneously returnfalseif the two power sets' underlying sets were equal but had a different iteration order. (215b1f0)collect: Eliminated j2objc retain-cycle inSingletonImmutableBiMap. (0ad38b8)eventbus: Prevented@Subscribefrom being applied to a method that takes a primitive, as that will never be called. (554546c)graph: MadeTraverser.breadthFirst()lazier, and optimizedTraversermore generally. (32f2d77,b5210ca)graph: Added@DoNotMocktoTraverser. (6410f18)io: DeprecatedFiles.createTempDir(). (fec0dbc) (CVE-2020-8908; continuing discussion in https://github.com/google/guava/issues/4011)io: UpgradedByteStreams.copy(InputStream, OutputStream)to use the fasterFileChannelif possible. (a1e9a0b)~~ [update: My mistake: This was rolled back, so it did not make 30.0.]math: AddedroundToDoubletoBigDecimalMath,BigIntegerMath, andLongMath. (bee4f3c,2b5c096,633abf2)net: AddedMediaTypeconstants for several font/ types. (571cf66)net: AddedHttpHeadersconstants forCross-Origin-Embedder-Policy(-Report-Only)?. (c3bf731)testing: MadeEqualsTestertest that non-Stringobjects are not equal to theirStringrepresentations. (c9570ea)util.concurrent: AddedClosingFuture. (52e048e)util.concurrent: Removed the deprecated 1-argServiceManager.addListener(Listener). Use the 2-argaddListener(Listener, Executor)overload, setting the executor todirectExecutor()for equivalent behavior. (dfb0001)util.concurrent: ChangedAbstractFuture.toString()to no longer include thetoString()of the result. (2ebf27f)util.concurrent: AddedawaitTerminationUninterruptibly. (f07b954)v29.0Compare Source
Maven
Javadoc
JDiff
Changelog
guava.gwt.emergency_reenable_rpcsystem property totrue. (5214a10)guava-gwtartifact, not people who use only theguavaartifact. This release contains no changes that break binary compatibility for any users.ImmutableList, visit guava.dev/ImmutableList. Also, more easily access the index at guava.dev/api.collect: AnnotatedFluentIterable.from(FluentIterable)with@DoNotCall. (b1c77b7)collect: Madeceiling,floor,headSet(E, boolean), andtailSet(E, boolean)methods available in the GWT-emulatedImmutableSortedSet. (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: AddedincidentEdgeOrder()to the[Value]Graphinterfaces. (cde576e)util.concurrent: AddedDuration-baseddefaultmethods toListeningScheduledExecutorService. (931e83f)util.concurrent: AddedimmediateVoidFuture. (9f3bae5)util.concurrent: Removed@BetafromServiceand related classes. (dc46627)util.concurrent: Deprecated the 1-arg overload ofServiceManager.addListener. (86e3620)util.concurrent: Changed the return type ofServiceManager.servicesByState()toImmutableSetMultimap(but also retained a method with the old signature for binary compatibility). (31999ae)util.concurrent: Made it safe to load theAbstractFutureclass from aForkJoinPoolthread under a security manager. (6e0c5b5)v28.2Compare Source
Maven
Javadoc
JDiff
Changelog
guava.gwt.emergency_reenable_rpcsystem property tofalse. (Even without the system property enabled, apps will now log warnings when sending Guava types over GWT-RPC.) (08bbf53)base: AddedSplitter.splitToStream().concurrent: AddedFutures.submit()(c7ef0cc)concurrent: MadeplatformThreadFactory()and related utilities (mainly*Service) work under Java 11 App Engine, and tweaked other App Engine threading behavior. (e3ee00d)concurrent: AddedcatchtoStackOverflowErrorinAbstractFuture.toStringto prevent long chains of futures from failingtoStringcalls. (a2e6acc)concurrent: MadeListenableFutureimplementThenablevia a default interface method in GWT/j2cl (e0bac74).graph: Fixed bug inAbstractNetwork.hasEdgeConnecting()causing it to throw if either endpoint was not in the graph. Originally reported as #3721. (2ee7f9d)graph: Fixed data race. (0e94fb5)math: AddedStreamsupport toStatsandStatsAccumulator. (e2f4eba)math: AddedQuantilescompute()methods which return aMapnow 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: AddedtoBigIntegerandfromIpv4BigInteger/fromIpv6BigIntegertoInetAddressesfor manipulatingInetAddressesasBigIntegers(d7a0b3d)net: AddedMediaTypeconstants for application/opensearchdescription+xml (f79c4fe) and MPEG-DASH (67dd062), as well as a constant for the header Cross-Origin-Opener-Policy (4ef2111).net: MadeMediaTypereject empty type, subtype, and attribute (b080067) and non-ASCII parameter values (2278123). Also, made it serialize empty parameter values to quoted strings (2278123).@DoNotMockto several types. (4eea0f7,add4309)animal-sniffer-annotations. (5f37e53)v28.1Compare Source
Maven
Javadoc
JDiff
Changelog
collect: AddedRangeMap.merge, analogous toMap.merge. (687252d)collect: Fixed a bug inImmutableSet.Builderthat could lead to infinite loops when building multiple sets from the same builder. (0007cb2)io: Fixed an issue where theInputStreamreturned byBaseEncoding.decodingStream(Reader)could fail to throwDecodingExceptionwhile decoding an invalid string. (ddd4a49)net: AddedMediaTypefor "image/heif" and "image/jp2" (508696a)net: AddedUpgrade-Insecure-Requestsheader toHttpHeaders. (6a8b716)concurrent: Fixed potential memory leak inFutures.whenAllSucceed/whenAllComplete(494834b)v28.0Compare Source
Maven
Javadoc
JDiff
Changelog
collect: AddedDuration-based overloads to someQueuesmethods. (21d06cf)net: AddedMediaTypefor "application/geo+json". (36cd5cf)net: Added a number of constants toHttpHeaders.concurrent: Removed deprecatedCheckedFutureand related utilities. (3dd22fe)concurrent: AddedDuration-based overloads to many methods.concurrent: Removed@BetafromsetFuture. (5ec1360)concurrent: Added deprecatedFluentFuture.from(FluentFuture)to point out redundant code. (f9f2807)graph: AddedGraphBuilder.immutable(),ValueGraphBuilder.immutable()andNetworkBuilder.immutable()for building immutable graphs in a fluent way.ImmutableMap.entrySet(). (74fc49f)v27.1Compare Source
Maven
Javadoc
JDiff
Changelog
5f35072)guava-bomartifact). (0e59641)@Betafrom a number of frequently used APIs. (6242bdd)net: AddedSec-Fetchheaders toHttpHeaders. (673b243)net: AddedSourceMapheader toHttpHeaders(a99c15f)net: AddedMediaTypefor "application/jose" and "application/jose+json". (d416e04)graph: Added overloads to methods accepting pairs of nodes to also acceptEndpointPair; changed behavior of*Graph.edges().contains()to allow undirected graphs to accept orderedEndpointPairs. (af3ee1c)v27.0Compare Source
Maven
Javadoc
JDiff
Changelog
Important:
ListenableFutureis 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 oncom.google.guava:failureaccess:1.0. For more details, see this announcement. (b62d529)collect: Added agap(Range)method toRangethat computes theRangethat lies between them. (a9dd709)net: AddedHttpHeaders.EARLY_DATA. (e074cf1)net: AddedMediaType.WASM_APPLICATION. (0b3eb0f)concurrent:AbstractFuturedoesn't exposeFluentFutureAPIs anymore. (0f8d360)concurrent: AddeddoCancelStartprotected method toAbstractService(27bfe41)v26.0Compare Source
Maven
Javadoc
JDiff
Changelog
base: Removed deprecatedpublic staticfields fromCharMatcher. Use the equivalentpublic staticmethods instead. (f1249c4)base: Fixed theServiceConfigurationErrorthat some users encountered when using Guava as a JPMS module. (8287cdf)cache: Fixed a bug whereCache.asMap.compute*methods could cause nonsensical weights to be stored, breaking cache eviction. (15764d7)concurrent: Removed deprecatedFuturesmethods that implicitly usedirectExecutor(). (87d87f5)concurrent: AddedExecutionSequencer, a new utility to run a series of asynchronous operations serially. (8d1fbc9)concurrent: Removed special-casingUndeclaredThrowableExceptioninFutures.transform(). (9466b62)net: ChangedHostAndPort.equals()andhashCode()to stop depending on whether brackets were included. Now they depend only on host and port. (34c1616)net: AddedHttpHeadersconstant for Sec-Metadata header. (986a3a3)net: AddedMediaTypefor "application/hal+json". (fea88fe)v25.1Compare Source
Maven
Javadoc
JDiff
@Nullabletype annotations)Changelog
@Nullablein the JRE/Java 8 flavor. (0a2258e)base: AddedStrings.lenientFormat(), copied fromPreconditions.format(). (7fe1702)net: Added Token Binding HTTP headers toHttpHeaders. (d9113d5)reflect: Added overrides for methods on JDK types returningAnnotatedTypein the JRE/Java 8 flavor. (d94eb93)testing: Added support for type annotations inNullPointerTesterin the JRE/Java 8 flavor. (d94eb93)util.concurrent: Added@DoNotCalltoFuturesmethods that do not accept anExecutorin preparation for removal. (49a1df6)v25.0Compare Source
Maven
Javadoc
JDiff
Changelog
f89ece5)cache: Addedjava.time.Durationoverloads toCacheBuilder. (9bf6d95)io: Removed deprecatedFiles.fileTreeTraverser()andMoreFiles.directoryTreeTraverser(). (ce6d93c)v24.1Compare Source
Maven
Javadoc
JDiff
Changelog
collect: Added hash flooding protection toImmutableSet,ImmutableMultiset,ImmutableMapandImmutableBiMapgraph: Added support for traversing from multiple start nodes inTraverser. (cbc5308)net: Added X-Download-Options header toHttpHeaders(9b9a175)net: Added L16 audio constant toMediaTypev24.0Compare Source
Maven
Javadoc
JDiff
Changelog
base: Removed deprecatedPredicates.assignableFrom(Class). (d57a40e)collect: Removed deprecatedBinaryTreeTraverser. (f91ef6c)concurrent: Removed deprecatedFutures.dereferenceandMoreExecutors.sequentialExecutor. (f91ef6c)graph: Removed deprecatedGraphs.equivalent()(41fa39f)graph: AddedincidentEdges()method toGraphandValueGraph. (d788bc1)net: AddedHttpHeaders.HTTP2_SETTINGSheader according to http://httpwg.org/specs/rfc7540.html#Http2SettingsHeader (393066e)net: AddedMediaType.withParametersmethod 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.