Skip to content

Releases: sindresorhus/memoize

v10.0.0

14 Nov 15:48
Compare
Choose a tag to compare

Breaking

  • Rename package from mem to memoize 4756892
  • Require Node.js 18 3afdfaf
  • Renamed the memDecorator named import to memoizeDecorator 4756892
  • Renamed the memClear named import to memoizeClear 4756892

v9.0.2...v10.0.0

v9.0.2

15 Jan 07:57
Compare
Choose a tag to compare

v9.0.1...v9.0.2

v9.0.1

17 Jul 15:03
Compare
Choose a tag to compare
  • Fix using multiple decorators on the same instance (#78) 7f7ca0a

v9.0.0...v9.0.1

v9.0.0

13 Jul 09:46
Compare
Choose a tag to compare

Breaking

v8.1.1...v9.0.0

v8.1.1

20 Apr 15:49
Compare
Choose a tag to compare
  • Don't use the same memoized function across instances when .decorator() is used (#75) d21357c

v8.1.0...v8.1.1

v8.1.0

18 Mar 13:48
Compare
Choose a tag to compare

v8.0.0...v8.1.0

v8.0.0

10 Oct 16:28
Compare
Choose a tag to compare

Breaking

  • Convert the package to TypeScript (#64) 0b5c364
    The types might be slightly different than v6.
  • Require Node.js 10 (#67) 1afa53c
  • Throw on .clear(fn) if fn’s cache can't be cleared (#59) e7c8893

v6.1.1...v8.0.0


What happened to v7? This version was prematurely published as v7, so we did v8 to prevent breaking for those already on v7.

v6.1.1

29 Aug 21:56
Compare
Choose a tag to compare
  • Slightly improve performance (#57) ea88c5c
  • Revert "Automatically use WeakMap when possible" (#58) 3ffde5d

v6.1.0...v6.1.1

v6.1.0

12 Apr 14:23
Compare
Choose a tag to compare
  • Automatically use WeakMap when possible (#56) e8bb86c

v6.0.1...v6.1.0

v6.0.1

29 Nov 13:31
Compare
Choose a tag to compare
  • Support overloaded functions (TypeScript types) (#48) 809697d