Skip to content

Releases: soundxyz/fine-grained-cache

v3.1.0

20 Apr 05:46
c4c89c3
Compare
Choose a tag to compare

Minor Changes

  • c56e073: New "getStaleWhileRevalidate" function

Patch Changes

  • c56e073: Expose redis interaction functions
  • 94600da: Update lru-cache and superjson

v3.0.1

13 Mar 18:47
e34fc85
Compare
Choose a tag to compare

Patch Changes

  • fd950d8: When specifying forceUpdate: true, it should await for redis to set

v3.0.0

09 Mar 02:46
88af6f5
Compare
Choose a tag to compare

Major Changes

  • 6120a4a: Remove the ability of turning off superjson

v2.4.0

16 Feb 21:20
2bbc5a8
Compare
Choose a tag to compare

Minor Changes

  • c0854d2: New "readCache" that reads directly from redis cache

v2.3.1

12 Jan 04:05
d6903bd
Compare
Choose a tag to compare

Patch Changes

  • c4904ea: Fix Redis get timeout re-uses promise for calls within the same event cycle

v2.3.0

01 Nov 19:01
49cb832
Compare
Choose a tag to compare

Minor Changes

  • 9741c97: New "setCache" function returned alongside "getCached"

v2.2.1

28 Sep 22:13
d03ea77
Compare
Choose a tag to compare

Patch Changes

  • a617e8b: Improve JSON parse error handling

v2.2.0

15 Aug 01:58
7d67d8e
Compare
Choose a tag to compare

Minor Changes

  • c4d22cc: logEvents.events accepts custom log functions for specific events

Patch Changes

  • fb9397b: Fix "pipelineRedisSET: false"
  • c4d22cc: logEvents.log is now optional (console.log default fallback)

v2.1.1

08 Aug 23:11
de7c39b
Compare
Choose a tag to compare

Patch Changes

v2.1.0

08 Aug 21:26
48a6a64
Compare
Choose a tag to compare

Minor Changes

  • 4f7b2b9: New "awaitRedisSet" option to allow skipping awaiting the Redis set on getCached logic execution

    Default value is process.env.NODE_ENV === "test"

  • 4f7b2b9: New "pipelineRedisSET" option to pipeline redis SETs