Skip to content

Releases: groupon/node-cached

v6.1.0

29 Jun 12:54
Compare
Choose a tag to compare

🚀 New Features

v6.0.0

27 Jun 15:45
Compare
Choose a tag to compare

💥 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 of memcached. 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 the name 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

v5.0.2

22 Nov 22:18
Compare
Choose a tag to compare

v5.0.1

20 Feb 22:19
Compare
Choose a tag to compare
  • chore: Remove yarn check that breaks people - @jkrems #42
    • 147a7f3 chore: Remove yarn check that breaks people

v5.0.0

29 Oct 14:58
Compare
Choose a tag to compare

Breaking Changes

drops support for Node 6, which is a current LTS release.

See: f4ba4c9

Commits

v4.3.2

05 Jan 21:05
Compare
Choose a tag to compare

v4.3.1

11 Jun 18:38
Compare
Choose a tag to compare
  • 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

v4.3.0

21 Aug 17:59
Compare
Choose a tag to compare

v4.2.3

23 May 17:59
Compare
Choose a tag to compare

v4.2.2

17 May 22:28
Compare
Choose a tag to compare
  • Update documentation for cached and backends - @fdegiuli #27
    • b137f56 docs: Add memory, noop backends to docs
    • e4bd666 docs: Deprecate unnamed caches