directory-server
directory-server copied to clipboard
Bump com.github.ben-manes.caffeine:caffeine from 2.9.3 to 3.0.0
Bumps com.github.ben-manes.caffeine:caffeine from 2.9.3 to 3.0.0.
Release notes
Sourced from com.github.ben-manes.caffeine:caffeine's releases.
3.0.0
This release includes API incompatible changes.
Highlights
- Java 11 or above is required
- Java 8 users can continue to use version 2.x, which will be supported
API improvements
- Added
Policy.refreshes()
for a snapshot of the in-flight refresh operationsCacheLoader
andAsyncCacheLoader
offerbulk
factory methodsAsyncCacheLoader
methods may now throw checked exceptions- Better usage of Checker Framework nullness annotations (#337)
LoadingCache.refresh
now returns the in-flight future (#143)- Various unimplemented default methods are now abstract
- Added
LoadingCache.refreshAll
convenience method- Bulk loads now receive a
Set
of keys (wasIterable
)- More flexible generic bounds and type parameters
Implementation improvements
- Refresh operations ignore redundant calls during an in-flight load and are linearizable (#193, #236, #282, #322, #373, #467)
- The Java Platform Logging API is used instead of
java.util.logging
(#456)sun.misc.Unsafe
is no longer required (#273)Incompatible changes
VarExpiration
time-based puts now return the old value instead of a boolean result- Removed jandex resource as no longer utilized by Quarkus
- Split
Policy.Expiration
into fixed and refresh interfacesDeprecation removals
CacheWriter
,SingleConsumerQueue
, andUnsafeAccess
StatsCounter.recordEviction
variationsCacheStats
constructorsNotes
CacheWriter
usages can be replaced byMap
computations andCaffeine.evictionListener
- For best performance
Unsafe
may be used if available, otherwise falls back toVarHandles
- We will continue to support and maintain version 2.x for Java 8 users
Commits
be6ad63
add checkerframework javadoc linka95ae26
Added snapshot view of in-flight refresh operations0d23987
misc improvements (javadoc, generics, build)b45b1cc
Add refreshAll(keys) convenience method (bulk not supported)b792cc3
Split the release workflow out from the build action16ddc49
Update version to 3.0.028a456e
Remove CacheWriter (deprecated for removal in v2.9)e1b3bca
Remove jandex as unuseda0c310c
Prefer VarHandle for ring buffer arrayd63c871
Mirror usage of@CheckReturnValue
from Guava- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name | Ignore Conditions |
---|---|
com.github.ben-manes.caffeine:caffeine | [>= 3.a, < 4] |
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.