- [breaking] Priming function receives pre-hash, pre-prefix resolved key
- [minor] Add support for key hashing function (
#keyHash
)
- [minor] Add support for invocation-level option: force (ignores current value )
- [breaking] Removed key-level cache options
- [breaking] Removed ability to disable fail-through
- [breaking] Switched to native
Promise
instead of bluebird - [breaking] Switched to ES6 syntax (Node.js 4+ now required)
- [patch] Upgraded dependencies
- [patch] Reorganized test suite
- [breaking] Moved key-level options to third argument of the cache call
- [breaking]
#prune
(#evict
) and#prunePattern
(#evictPattern
) consolidated into#del
- [breaking] Renamed instance and key-level arguments (e.g.
keyPrefix
→prefix
,expires
→ttl
) - [minor] Generalized key and priming values to any primitive, Promise, or Function
- [patch] Addressed thundering herd risk
- [patch] Upgraded dependencies
- [patch] Reorganized and expanded test suite