- Apply
npm audit fix
for dev deps
- @lchenay: Add ttl support on memcached store to allow background refresh (#24)
- @lchenay: Add unit tests for
mget
mset
mdel
functions
- @radiorz: feat: add
mget
mset
mdel
function
The library no longer depends on memcache-plus
. A driver
parameter is now required,
which will let you use memcache-plus
or memcache-pp
as the driver to use.
- Update
standard
to the latest version. - Use
const/let
instead of var to comply new standard rules. - Use arrow funcs.
- Add
driver
option which allow to use any compatible memcache client library.
- get, set, del and reset methods now returns a promise if cb hasn't been passed.
- In some cases keys test could fail without a delay between set key and get cachedump. 1 second delay added for get keys test.
- Removed not in use package xtend from the deps.
- Update dev deps: [email protected], [email protected], [email protected].
- Add tests for promise get, set, del and reset methods, add clean up routine with afterAll.
- Fix getKeys: never invoke a callback if there are no items in cache.
- Updated
memcache-plus
version to 0.2.22
- Updated
memcache-plus
version to 0.2.20
- The API for sending options through was incorrect.
- Because of the fix, the
hosts
was defaulted to the library default. hosts
must always be an array
- Replace
memcached
library withmemcached-plus
.- There are slight changes to the API (eg the absence of an event listener) and you can only use a string as a key.
- The library also includes Amazon elasticache discovery support as well.
- See http://memcache-plus.com/ for options information
- Implement
keys
method. May be slow to use.
- Fix bug where in
set
, sendingoptions
as an object does not get used at all
- First release