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

Update dependency cache-manager to v5 - autoclosed #1519

Closed
wants to merge 1 commit into from

Conversation

balena-renovate[bot]
Copy link
Contributor

@balena-renovate balena-renovate bot commented Jan 8, 2024

This PR contains the following updates:

Package Type Update Change
cache-manager dependencies major ^4.1.0 -> ^5.0.0

Release Notes

jaredwray/cache-manager (cache-manager)

v5.5.0

Compare Source

Added Event Errors

Cache Manager now does not throw errors by default. Instead, all errors are evented through the error event. Here is an example on how to use it:

const memoryCache = await caching('memory', {
  max: 100,
  ttl: 10 * 1000 /*milliseconds*/,
});
memoryCache.on('error', (error) => {
  console.error('Cache error:', error);
});

What's Changed

New Contributors

Full Changelog: jaredwray/cacheable@v5.4.0...v5.5.0

v5.4.0

Compare Source

Refresh cache keys in background

Both the caching and multicaching modules support a mechanism to refresh expiring cache keys in background when using the wrap function.
This is done by adding a refreshThreshold attribute while creating the caching store or passing it to the wrap function.

If refreshThreshold is set and after retrieving a value from cache the TTL will be checked.
If the remaining TTL is less than refreshThreshold, the system will update the value asynchronously,
following same rules as standard fetching. In the meantime, the system will return the old value until expiration.

What's Changed

Full Changelog: jaredwray/cacheable@v5.3.2...v5.4.0

v5.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: jaredwray/cacheable@v5.3.0...v5.3.2

v5.3.1

Compare Source

Major fix as 5.3.0 did not have the dist folder on release.

What's Changed

New Contributors

Full Changelog: jaredwray/cacheable@5.2.4...v5.3.1

v5.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: jaredwray/cacheable@5.2.4...v5.3.0

v5.2.4

Compare Source

Updates 🍻

What's Changed

New Contributors

Full Changelog: jaredwray/cacheable@5.2.3...5.2.4

v5.2.3

Compare Source

Bug Fixes

v5.2.2

Compare Source

Bug Fixes

v5.2.1

Compare Source

Bug Fixes
  • deps: update dependency lru-cache to ~9.1.0 (d9ec046)
  • deps: update dependency lru-cache to v9 (fde0015)
  • update lru-cache (87efeff)

v5.2.0

Compare Source

Bug Fixes
  • multi-caching: minor issues (bf68d36)
Features

v5.1.7

Compare Source

Bug Fixes
  • lru-cache breaking changes (8398494)

v5.1.6

Compare Source

Bug Fixes

v5.1.5

Compare Source

Bug Fixes
  • rename type alias Ttl as Milliseconds (daa5fa8)

v5.1.4

Compare Source

Bug Fixes

v5.1.3

Compare Source

Bug Fixes
  • example multichaching in README (e01f780)
  • parallelize set higher priority at wrap (7f76e54)

v5.1.2

Compare Source

Bug Fixes
  • links to ioredis in Readme (1ba46d8)
  • re populate higher priority caches when a key is found in lower ones (7a6a10c)

v5.1.1

Compare Source

Bug Fixes
  • bad Cache definition (3746c39)
  • mget/mset examples in README (1ca67a4)

v5.1.0

Compare Source

Features
  • add ttl argument in wrap method (b06c1e5)

v5.0.1

Compare Source

v5.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 Renovate Bot.

@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 3 times, most recently from 0874f92 to 0bfc935 Compare January 10, 2024 09:52
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 2 times, most recently from 3f961cc to 6c0e562 Compare January 19, 2024 12:58
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 7 times, most recently from d52c794 to 789e711 Compare January 26, 2024 14:50
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 6 times, most recently from beb27ce to 161c8ec Compare February 6, 2024 09:49
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 9 times, most recently from 8913d0a to f851077 Compare February 14, 2024 16:52
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 2 times, most recently from a52d4b7 to 196dec7 Compare February 15, 2024 16:51
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 6 times, most recently from 74f2278 to 83b9bd9 Compare May 29, 2024 23:56
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 12 times, most recently from 1026088 to 5d334f7 Compare June 11, 2024 13:51
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 7 times, most recently from 66a061b to 10c0e5a Compare June 18, 2024 08:52
Update cache-manager from 4.1.0 to 5.6.1

Change-type: patch
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch from 10c0e5a to 8bc097e Compare June 19, 2024 13:51
@balena-renovate balena-renovate bot changed the title Update dependency cache-manager to v5 Update dependency cache-manager to v5 - autoclosed Jun 19, 2024
@balena-renovate balena-renovate bot closed this Jun 19, 2024
@balena-renovate balena-renovate bot deleted the renovate/major-cache-manager branch June 19, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants