Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump caffeine from 2.9.0 to 3.0.2 #1904

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 3, 2021

Bumps caffeine from 2.9.0 to 3.0.2.

Release notes

Sourced from caffeine's releases.

3.0.2

Cache

  • Added cancelation of the next scheduled expiration cleanup when the cache becomes empty (#542)
  • Improved how variable expiration reorganizes the timer events (#541)
  • Improved usage of nullness annotations (#530)
  • Removed sun.misc.Unsafe and fallbacks
  • Added module descriptors (#535)

3.0.1

  • Fixed thread local fallback initialization for striped buffer (#515)
  • Improved eviction reordering for weighted caches (#513)
  • Added putIfAbsent optimistic fastpath (#506)

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 operations
  • CacheLoader and AsyncCacheLoader offer bulk factory methods
  • AsyncCacheLoader 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 (was Iterable)
  • More flexible generic bounds and type parameters

Implementation improvements

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 interfaces

Deprecation removals

  • CacheWriter, SingleConsumerQueue, and UnsafeAccess
  • StatsCounter.recordEviction variations
  • CacheStats constructors

Notes

  • CacheWriter usages can be replaced by Map computations and Caffeine.evictionListener
  • For best performance Unsafe may be used if available, otherwise falls back to VarHandles
  • We will continue to support and maintain version 2.x for Java 8 users

... (truncated)

Commits
  • 754b19d Add clarifying JavaDoc (see #537)
  • 7b28541 Add module descriptor for guava adapters
  • 99bf56b additional test coverage
  • 08511fd Fix publication of the test coverage report
  • 7fa11d4 Fix timer wheel cascading and support cancelating a scheduled task
  • d3488a7 Enable build steps for jdk11 onward
  • 3d735bc Add module descriptor while maintaining Eclipse IDE experience
  • 038153a Update GDWheelPolicy.java
  • ba78559 minor code cleanup
  • f068f0e Bump actions/cache from v2.1.4 to v2.1.5
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [caffeine](https://github.com/ben-manes/caffeine) from 2.9.0 to 3.0.2.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](ben-manes/caffeine@v2.9.0...v3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from a team as code owners May 3, 2021 05:18
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 3, 2021
@joschi joschi closed this May 3, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 3, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/com.github.ben-manes.caffeine-caffeine-3.0.2 branch May 3, 2021 13:38
@ben-manes
Copy link

fyi, @joschi, v2.9.1 was released in parallel

@joschi
Copy link
Member

joschi commented May 4, 2021

@ben-manes Thanks! We've updated the Caffeine 2.9.x version in #1906 and #1907.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants