fix(deps): update dependency cache-manager to v5.5.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cache-manager | dependencies | minor | 5.4.0 -> 5.5.0 |
⚠ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
node-cache-manager/cache-manager (cache-manager)
v5.5.0
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
- Adding SQLite storage(use better-sqlite3) by @huijiewei in https://github.com/node-cache-manager/cache-manager/pull/638
- Ability to catch promise rejections from background refreshes by @Kauhsa in https://github.com/node-cache-manager/cache-manager/pull/637
- updating readme to show configuration options by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/644
- updating readme with correct settings on shouldCloneBeforeSet by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/645
- Fix README: missing closing of code block by @tdelmas in https://github.com/node-cache-manager/cache-manager/pull/648
- updating contributing guidelines by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/649
- moving templates and repo paths to cache-manager by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/650
- updating readme to correct paths by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/651
- removing dotenv-cli as it is not used by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/652
- Migrating to xo for linting by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/653
- Add onCacheError option by @slukes in https://github.com/node-cache-manager/cache-manager/pull/646
- updating documentation and version by @jaredwray in https://github.com/node-cache-manager/cache-manager/pull/654
New Contributors
- @huijiewei made their first contribution in https://github.com/node-cache-manager/cache-manager/pull/638
- @Kauhsa made their first contribution in https://github.com/node-cache-manager/cache-manager/pull/637
- @tdelmas made their first contribution in https://github.com/node-cache-manager/cache-manager/pull/648
- @slukes made their first contribution in https://github.com/node-cache-manager/cache-manager/pull/646
Full Changelog: https://github.com/node-cache-manager/cache-manager/compare/v5.4.0...v5.5.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.