- #62 feat: add redis backend (@aaarichter)
#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.
- #48 refactor: rewrite, use memcached-elasticache & drop Node 8 (@aaarichter)
- #59 ci(actions): adding GitHub actions (@aaarichter)
- chore: Remove yarn check that breaks people - @jkrems #42
147a7f3
chore: Remove yarn check that breaks people
drops support for Node 6, which is a current LTS release.
See: f4ba4c9
- feat: drop node4 support - @aaarichter #39
- Drop Node 6 support, and Babel as a result - @markowsiak #40
- Apply latest nlm generator - @markowsiak #38
35b216e
chore: Apply latest nlm generator
- docs: Clarify that timeout applies to unset - @Zanadar #36
89209ce
docs: Clarify that timeout applies to unset
- docs: Fix typo in contributing.md - @Zanadar #35
a3e5efa
docs: fix typo in contributing.md
- Apply latest nlm generator - @i-tier-bot #24
ee2b354
chore: Apply latest nlm generator
- Fix unhandled rejections w/ lazy fetching - @jkrems #16
- Fixing memcached.set slowness - @chkhoo #15
- Recompiled using cs 1.9.1 - @jkrems #11
- Bringing this package into the future, io.js support - @jkrems #10
- exchange cs (for csr) and lodash (for underscore) - @Kofia5 #8
Upgrading to this version changes the key hashing. This means that it can potentially invalidate your cache entirely.
- Update memcached package to 2.0.0 - @khoomeister #7
- Pin the memcached version pre-memory leak - @jkrems #6
- Fix bug where backend errors while caching made getOrElse fail - @Kofia5 #4
- Fix bug where backend errors were forwarded in getOrElse - @Kofia5 #3
- Initial public release