Releases: groupon/node-cached
v6.1.0
🚀 New Features
- #62 feat: add redis backend (@aaarichter)
v6.0.0
💥 Breaking Changes
#48 refactor: rewrite, use memcached-elasticache & drop Node 8 (@aaarichter)
-
Dropped Node 8.x. Use Node 10.13 or higher.
-
Uses
memcached-elasticache
with AWS support instead ofmemcached
. See https://github.com/jkehres/memcached-elasticache#readme -
API functions no longer support callbacks.
-
API functions use native Promises instead of
Bluebird
. -
cached()
needs to be called with a string argument as name. If thename
argument is undefined, it will fallback to"default"
. -
Cache.setBackend()
no longer returns the created backend. -
Cache.getWrapped()
is removed. -
Cache backend APIs need to be promise based.
-
Cache private function have been renamed.
-
The following function are now private:
Cache.applyPrefix
Cache.end
Cache.prepareOptions
Cache.setBackend
-
cache.set()
,cache.get()
,cache.getOrElse()
,cache.unset()
no longer support the callback argument. Use them as promise. -
cache.set()
no longer returns a value. -
cache.set(key, value)
accepts functions and promises as value. -
Any client passed with the memcached backend options has to be an instance of
Memcached
. -
Backend setters no longer return a value.
-
backend
addType()
does not return backend class anymore.
📦️ Code Refactoring
- #48 refactor: rewrite, use memcached-elasticache & drop Node 8 (@aaarichter)
🏡 Internal
- #59 ci(actions): adding GitHub actions (@aaarichter)
v5.0.2
v5.0.1
v5.0.0
Breaking Changes
drops support for Node 6, which is a current LTS release.
See: f4ba4c9
Commits
- feat: drop node4 support - @aaarichter #39
- Drop Node 6 support, and Babel as a result - @markowsiak #40
v4.3.2
- Apply latest nlm generator - @markowsiak #38
35b216e
chore: Apply latest nlm generator