Skip to content

Releases: kibertoad/toad-cache

v3.7.4

Choose a tag to compare

@github-actions github-actions released this 03 Jul 12:58

What's Changed

  • ci: fix release publish broken by pnpm version output format by @kibertoad in #103
  • chore: update dev dependencies and GitHub Actions to latest by @kibertoad in #104

Full Changelog: v3.7.3...v3.7.4

3.7.1

Choose a tag to compare

@kibertoad kibertoad released this 17 May 15:35

What's Changed

New Contributors

Full Changelog: 3.3.1...v3.7.1

3.3.1

Choose a tag to compare

@kibertoad kibertoad released this 29 Nov 23:29
  • fix: do not bump entry if there is only one entry (#33)

3.1.0

Choose a tag to compare

@kibertoad kibertoad released this 20 May 17:56
  • Add support for cache statistics (hit/miss/expired) (#11)

3.0.0

Choose a tag to compare

@kibertoad kibertoad released this 09 Apr 13:49
  • Get rid of constructor wrapper (#5)
  • Cache instances are created using new keyword now, and full classes are exported instead of just a factory function.
  • Now both Map-based and Object-based caches are symmetrically exported.

See benchmarks for how the two compare:

https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-get-inmemory/_results/results.md
https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-set-inmemory/_results/results.md

2.1.0

Choose a tag to compare

@kibertoad kibertoad released this 08 Apr 14:16
  • Support object-backed caches both for FIFO and LRU.