Skip to content

Latest commit

 

History

History
234 lines (145 loc) · 9.1 KB

CHANGELOG.md

File metadata and controls

234 lines (145 loc) · 9.1 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

2.3.0 (2024-07-28)

🚀 Features

  • add TLRUCacheOpts.autoExtend option (9fbda4c)
    • add support to auto-extend TTL of cached values upon cache hit
    • add tests
    • add/update docs
    • update readme

2.2.11 (2024-04-20)

♻️ Refactoring

2.2.1 (2024-03-11)

🩹 Bug fixes

  • fix regression, all ctor args optional again (54e6b37)

2.2.0 (2024-03-11)

🚀 Features

  • add value update callback, update TLRUCache (d2fed06)
    • add CacheOpts.update
    • update doSetEntry() in all impls
    • refactor TLRUCache.getSet() as async fn
    • update TLRUCache.prune() to return eviction count
    • various other refactoring
    • add tests
    • add docs

2.1.106 (2024-03-11)

🩹 Bug fixes

  • fix ICache.get() return type, add docs (d9f98f7)

2.1.89 (2024-01-26)

🩹 Bug fixes

  • attempt to add element bigger than "maxsize" blocks addition of any new elements to the cache (3c855ef)

2.1.76 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

2.1.12 (2022-07-19)

♻️ Refactoring

  • update deprecated DCons call sites (2bbacf7)

2.1.5 (2022-03-11)

♻️ Refactoring

  • update ConsCell refs/imports (a883993)

2.1.0 (2021-11-17)

🚀 Features

  • Using workspaces for local tools (bf7a404) Improving the overall build ergonomics
    • introduced a tools workspaces
    • imported it in all needed packages/examples
    • inclusive project root

♻️ Refactoring

  • testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.

2.0.1 (2021-10-13)

♻️ Refactoring

  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports
  • update imports in all tests/pkgs (effd591)

2.0.0 (2021-10-12)

🛑 Breaking changes

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
  • BREAKING CHANGE: discontinue CommonJS & UMD versions
    • only ESM modules will be published from now on
    • CJS obsolete due to ESM support in recent versions of node:
      • i.e. launch NodeJS via:
      • node --experimental-specifier-resolution=node --experimental-repl-await
      • in the node REPL use await import(...) instead of require()
    • UMD obsolete due to widespread browser support for ESM Also:
    • normalize/restructure/reorg all package.json files
    • cleanup all build scripts, remove obsolete
    • switch from mocha to @thi.ng/testament for all tests

🩹 Bug fixes

  • minor updates (TS4.4) (7e91cc2)
    • redeclare, not override inherited class properties

♻️ Refactoring

1.0.63 (2020-12-07)

♻️ Refactoring

  • update type-only imports (78d3dee)

1.0.58 (2020-09-13)

♻️ Refactoring

1.0.30 (2020-02-25)

♻️ Refactoring

1.0.24 (2019-08-21)

♻️ Refactoring

  • update set(), extract doSetEntry() (db880fd)

1.0.20 (2019-07-07)

♻️ Refactoring

  • address TS strictNullChecks flag (d53056b)

1.0.9 (2019-03-10)

♻️ Refactoring

  • update Fn args in various packages (e453ac3)

1.0.0 (2019-01-21)

🛑 Breaking changes

  • update package build scripts & outputs, imports in ~50 packages (b54b703)
  • BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
    • build scripts now first build ES6 modules in package root, then call scripts/bundle-module to build minified CJS & UMD bundles in /lib
    • all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.

🩹 Bug fixes

  • TLRU: expected behavior on getSet() (c3762e9)

0.2.29 (2018-10-17)

♻️ Refactoring

  • update Infinity consts in various packages (296e1e0)

0.2.18 (2018-08-27)

♻️ Refactoring

  • update iterator methods (866f3cd)

0.2.16 (2018-08-24)

♻️ Refactoring

  • update/replace deps (iterators => transducers) (065d78b)

0.2.0 (2018-04-22)

🚀 Features

  • add TLRUCache.prune(), fix ensureSize() (9d53ae3)

🩹 Bug fixes

  • TLRUCache.get(), add tests, update package (aa78d77)
    • get() now correctly shifts element to back (LRU)

0.1.0 (2018-04-22)

🚀 Features

🩹 Bug fixes

  • don't insert new val if > maxsize (3947419)
  • recompute size in LRUCache.delete(), extract removeEntry() (c4a9c07)

♻️ Refactoring

  • update/extend ICache & LRUCache, update readme (d37a91e)
  • make LRU ops O(1), update/remove (some) interfaces (00ca831)
    • use Map to index dcons cells
    • update CachOpts (add map ctor option)
    • remove LRUEntry
    • update LRU entries iterator