Releases: soundxyz/fine-grained-cache
Releases · soundxyz/fine-grained-cache
v3.1.0
Minor Changes
- c56e073: New "getStaleWhileRevalidate" function
Patch Changes
- c56e073: Expose redis interaction functions
- 94600da: Update lru-cache and superjson
v3.0.1
Patch Changes
- fd950d8: When specifying forceUpdate: true, it should await for redis to set
v3.0.0
Major Changes
- 6120a4a: Remove the ability of turning off superjson
v2.4.0
Minor Changes
- c0854d2: New "readCache" that reads directly from redis cache
v2.3.1
Patch Changes
- c4904ea: Fix Redis get timeout re-uses promise for calls within the same event cycle
v2.3.0
Minor Changes
- 9741c97: New "setCache" function returned alongside "getCached"
v2.2.1
Patch Changes
- a617e8b: Improve JSON parse error handling
v2.2.0
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.0
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