Releases: helloscoopa/run-cache
RunCache v1.6.1
Release Note
Version 1.6.0
Release Date: 13th May 2025
Full Changelog: v1.6.0...v1.6.1
RunCache v1.6.0
Release Note
Version 1.6.0
Release Date: 13th May 2025
What's Changed
- refactor: Improve code modularity by @helloscoopa in #27
- feat: Implement custom middleware support by @helloscoopa in #35
- feat: Implement tag based invalidation by @helloscoopa in #36
- feat: Implement storage adapters by @helloscoopa in #37
- chore: Enable linter by @helloscoopa in #38
Full Changelog: v1.5.0...v1.6.0
RunCache v1.5.0
Release Note
Version 1.5.0
Release Date: 12th May 2025
What's Changed
- feat: Implement key wildcards by @helloscoopa in #23
- feat: Implement a configurable cache eviction policy by @helloscoopa in #24
- feat: Implement graceful shutdown by @helloscoopa in #25
- feat: Implement a logging mechanism by @helloscoopa in #26
Full Changelog: v1.4.1...v1.5.0
RunCache v1.4.1
Release Note
Version 1.4.1
Release Date: 30th Sep. 2024
Summary
-
Bug Fixes
- Replace
setTimeoutwithsetInterval. - Updated test cases to reflect changes in the cache autoRefetch process, ensuring accurate function call expectations.
- Replace
-
Documentation
- Improved clarity in event handling documentation related to cache refetching and failures.
Pull Requests
- fix: Update
setTimeouttosetInterval(#18)
RunCache v1.4.0
Release Note
Version 1.4.0
Release Date: 19th Sep. 2024
Summary
-
New Features
- Introduced an event-driven architecture for cache management in the
RunCachelibrary, allowing for more flexible handling of cache expiration and refetching events. - Added new static methods for registering (
onExpiry,onKeyExpiry,onRefetch,onKeyRefetch) and clearing event listeners related to cache events. - Implemented
clearEventListenersmethod for better control over event management. - Added
autoRefetchoption in cache settings for automatic updates.
- Introduced an event-driven architecture for cache management in the
-
Bug Fixes
- Corrected minor textual issues in the documentation for improved clarity.
-
Documentation
- Update
README.mdto include new event listeners for cache expiry and refetching, along with examples for better usability.
- Update
-
Tests
- Enhanced testing for cache expiration and refetching functionalities, improving test performance and reliability.
Pull Requests
- feat: Upgrade event callbacks into
EventEmitter(#16)
RunCache v1.3.2
Release Note
Version 1.3.2
Release Date: 15th Sep. 2024
Summary
This release focuses on enhancing cache functionality by adding events/triggers. Also reduce possible concurrency issues from refetch.
New Features
Improvements
RunCache v1.2.2
Release Note
Version 1.2.2
Release Date: 13th Sep. 2024
Summary
This release focuses on enhancing the development experience by including TypeScript declaration files and source maps in the build output. These improvements will help consumers of the library by providing better TypeScript support and improved debugging capabilities.
Improvements
- fix: Update configuration to build
.d.tsfiles (#5)
RunCache v1.2.0
Release Note
Version 1.2.0
Release Date: 13th Sep. 2024
Summary
This release focuses on enhancing cache functionality and simplifying code structure by merging related functions.
New Features
- feat: Implement auto refetch
valueon cache expiry (#4)
Improvements
- refactor: Merge
setandsetWithSourceFnfunctions (#2)
RunCache v1.0.5
Release Note
Version 1.0.5
Release Date: 9th Sep. 2024
Summary
This is the initial version of RunCache. Including basic features of an in-memory cache, error handling, TypeScript configuration, and testing functionalities.
Please read README.md for usage.