2.0.0 (2024-06-22)
- drop Node.js < 18.19.0 support
-
New Features
-
Introduced a Least Recently Used (LRU) cache implementation with enhanced functionalities.
-
Bug Fixes
- Improved cache item expiration handling and test case accuracy.
-
Documentation
- Updated
README
with new import syntax and method signatures. - LICENSE changed to MIT License.
- Updated
-
Chores
-
Updated ESLint configuration, Node.js version in workflows, and
.gitignore
. -
Refactor
-
Converted test cases to use async/await and updated module imports to ES module syntax.
-
Dependencies
- Updated
devDependencies
and added new scripts inpackage.json
.
- Updated
-
Build Configuration
- Updated
tsconfig.json
for stricter typing and ES2022 target.
- Updated
1.4.0 (2024-03-28)
others
- [
eda13ec
] - test: update toolchains, add tsd test cases (raohai.rh <[email protected]>) - [
b683526
] - 🤖 TEST: Create codeql-analysis.yml (#7) (fengmk2 <[email protected]>) - [
db06032
] - 🤖 TEST: Run on github action (#6) (fengmk2 <[email protected]>)
fixes
- [
18f576e
] - fix: module declares (#5) (陆沉 <[email protected]>)
features
- [
6ed8fa0
] - feat: add d.ts (#4) (vagusX <[email protected]>)
others
- [
475abb0
] - perf: only call Date.now() when necessary (#3) (Yiyu He <[email protected]>)
- feat: support lru.keys (#2)
- feat: support get with maxAge (#1)
- init version