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 #1519

Open
wants to merge 1 commit into
base: master
Choose a base branch
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/cache-manager@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/cache-manager@v5.3.2...v5.4.0

v5.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: jaredwray/cache-manager@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/cache-manager@5.2.4...v5.3.1

v5.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: jaredwray/cache-manager@5.2.4...v5.3.0

v5.2.4

Compare Source

Updates 🍻

What's Changed

New Contributors

Full Changelog: jaredwray/cache-manager@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 8 times, most recently from 0444080 to 400804c Compare May 1, 2024 22:53
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 5 times, most recently from 2a8fe15 to a1dd1f3 Compare May 7, 2024 23:52
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 8 times, most recently from b2577fd to 421e955 Compare May 16, 2024 09:54
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 5 times, most recently from b4d9c7e to b0e7f47 Compare May 27, 2024 02:11
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch 2 times, most recently from 5bd30b0 to 74f2278 Compare May 28, 2024 18:54
Update cache-manager from 4.1.0 to 5.5.3

Change-type: patch
@balena-renovate balena-renovate bot force-pushed the renovate/major-cache-manager branch from 74f2278 to 83b9bd9 Compare May 29, 2024 23:56
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.

None yet

0 participants