node-cache-manager/cache-manager (cache-manager)
### [`v5.5.0`](https://togithub.com/node-cache-manager/cache-manager/releases/tag/v5.5.0)
[Compare Source](https://togithub.com/node-cache-manager/cache-manager/compare/v5.4.0...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:
```javascript
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](https://togithub.com/huijiewei) in [https://github.com/node-cache-manager/cache-manager/pull/638](https://togithub.com/node-cache-manager/cache-manager/pull/638)
- Ability to catch promise rejections from background refreshes by [@Kauhsa](https://togithub.com/Kauhsa) in [https://github.com/node-cache-manager/cache-manager/pull/637](https://togithub.com/node-cache-manager/cache-manager/pull/637)
- updating readme to show configuration options by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/644](https://togithub.com/node-cache-manager/cache-manager/pull/644)
- updating readme with correct settings on shouldCloneBeforeSet by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/645](https://togithub.com/node-cache-manager/cache-manager/pull/645)
- Fix README: missing closing of code block by [@tdelmas](https://togithub.com/tdelmas) in [https://github.com/node-cache-manager/cache-manager/pull/648](https://togithub.com/node-cache-manager/cache-manager/pull/648)
- updating contributing guidelines by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/649](https://togithub.com/node-cache-manager/cache-manager/pull/649)
- moving templates and repo paths to cache-manager by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/650](https://togithub.com/node-cache-manager/cache-manager/pull/650)
- updating readme to correct paths by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/651](https://togithub.com/node-cache-manager/cache-manager/pull/651)
- removing dotenv-cli as it is not used by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/652](https://togithub.com/node-cache-manager/cache-manager/pull/652)
- Migrating to xo for linting by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/653](https://togithub.com/node-cache-manager/cache-manager/pull/653)
- Add onCacheError option by [@slukes](https://togithub.com/slukes) in [https://github.com/node-cache-manager/cache-manager/pull/646](https://togithub.com/node-cache-manager/cache-manager/pull/646)
- updating documentation and version by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/654](https://togithub.com/node-cache-manager/cache-manager/pull/654)
#### New Contributors
- [@huijiewei](https://togithub.com/huijiewei) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/638](https://togithub.com/node-cache-manager/cache-manager/pull/638)
- [@Kauhsa](https://togithub.com/Kauhsa) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/637](https://togithub.com/node-cache-manager/cache-manager/pull/637)
- [@tdelmas](https://togithub.com/tdelmas) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/648](https://togithub.com/node-cache-manager/cache-manager/pull/648)
- [@slukes](https://togithub.com/slukes) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/646](https://togithub.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
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
5.4.0
->5.5.0
Release Notes
node-cache-manager/cache-manager (cache-manager)
### [`v5.5.0`](https://togithub.com/node-cache-manager/cache-manager/releases/tag/v5.5.0) [Compare Source](https://togithub.com/node-cache-manager/cache-manager/compare/v5.4.0...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: ```javascript 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](https://togithub.com/huijiewei) in [https://github.com/node-cache-manager/cache-manager/pull/638](https://togithub.com/node-cache-manager/cache-manager/pull/638) - Ability to catch promise rejections from background refreshes by [@Kauhsa](https://togithub.com/Kauhsa) in [https://github.com/node-cache-manager/cache-manager/pull/637](https://togithub.com/node-cache-manager/cache-manager/pull/637) - updating readme to show configuration options by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/644](https://togithub.com/node-cache-manager/cache-manager/pull/644) - updating readme with correct settings on shouldCloneBeforeSet by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/645](https://togithub.com/node-cache-manager/cache-manager/pull/645) - Fix README: missing closing of code block by [@tdelmas](https://togithub.com/tdelmas) in [https://github.com/node-cache-manager/cache-manager/pull/648](https://togithub.com/node-cache-manager/cache-manager/pull/648) - updating contributing guidelines by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/649](https://togithub.com/node-cache-manager/cache-manager/pull/649) - moving templates and repo paths to cache-manager by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/650](https://togithub.com/node-cache-manager/cache-manager/pull/650) - updating readme to correct paths by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/651](https://togithub.com/node-cache-manager/cache-manager/pull/651) - removing dotenv-cli as it is not used by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/652](https://togithub.com/node-cache-manager/cache-manager/pull/652) - Migrating to xo for linting by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/653](https://togithub.com/node-cache-manager/cache-manager/pull/653) - Add onCacheError option by [@slukes](https://togithub.com/slukes) in [https://github.com/node-cache-manager/cache-manager/pull/646](https://togithub.com/node-cache-manager/cache-manager/pull/646) - updating documentation and version by [@jaredwray](https://togithub.com/jaredwray) in [https://github.com/node-cache-manager/cache-manager/pull/654](https://togithub.com/node-cache-manager/cache-manager/pull/654) #### New Contributors - [@huijiewei](https://togithub.com/huijiewei) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/638](https://togithub.com/node-cache-manager/cache-manager/pull/638) - [@Kauhsa](https://togithub.com/Kauhsa) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/637](https://togithub.com/node-cache-manager/cache-manager/pull/637) - [@tdelmas](https://togithub.com/tdelmas) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/648](https://togithub.com/node-cache-manager/cache-manager/pull/648) - [@slukes](https://togithub.com/slukes) made their first contribution in [https://github.com/node-cache-manager/cache-manager/pull/646](https://togithub.com/node-cache-manager/cache-manager/pull/646) **Full Changelog**: https://github.com/node-cache-manager/cache-manager/compare/v5.4.0...v5.5.0Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.