Skip to content

Releases: helloscoopa/run-cache

RunCache v1.4.1

29 Sep 21:29
06edb6b
Compare
Choose a tag to compare

Release Note

Version 1.4.1
Release Date: 30th Sep. 2024

Summary

  • Bug Fixes

    • Replace setTimeout with setInterval.
    • Updated test cases to reflect changes in the cache autoRefetch process, ensuring accurate function call expectations.
  • Documentation

    • Improved clarity in event handling documentation related to cache refetching and failures.

Pull Requests

  • fix: Update setTimeout to setInterval (#18)

RunCache v1.4.0

19 Sep 12:41
92370c4
Compare
Choose a tag to compare

Release Note

Version 1.4.0
Release Date: 19th Sep. 2024

Summary

  • New Features

    • Introduced an event-driven architecture for cache management in the RunCache library, 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 clearEventListeners method for better control over event management.
    • Added autoRefetch option in cache settings for automatic updates.
  • Bug Fixes

    • Corrected minor textual issues in the documentation for improved clarity.
  • Documentation

    • Update README.md to include new event listeners for cache expiry and refetching, along with examples for better usability.
  • 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

15 Sep 00:41
aa369e9
Compare
Choose a tag to compare

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

  • feat: Implement events/triggers (#9)
  • fix: Disable concurrent sourceFn calls between refetches (#11)

Improvements

  • ci: Add github workflows for tests (#10, #13)

RunCache v1.2.2

13 Sep 19:08
6a530b2
Compare
Choose a tag to compare

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.ts files (#5)

RunCache v1.2.0

13 Sep 15:39
c9cda74
Compare
Choose a tag to compare

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 value on cache expiry (#4)

Improvements

  • refactor: Merge set and setWithSourceFn functions (#2)

RunCache v1.0.5

09 Sep 16:27
ed7054f
Compare
Choose a tag to compare

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.