Skip to content

v5.5.0

Compare
Choose a tag to compare
@jaredwray jaredwray released this 04 Apr 18:50
· 32 commits to main since this release
4adb2b1

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: v5.4.0...v5.5.0