- c56e073: New "getStaleWhileRevalidate" function
- c56e073: Expose redis interaction functions
- 94600da: Update lru-cache and superjson
- fd950d8: When specifying forceUpdate: true, it should await for redis to set
- 6120a4a: Remove the ability of turning off superjson
- c0854d2: New "readCache" that reads directly from redis cache
- c4904ea: Fix Redis get timeout re-uses promise for calls within the same event cycle
- 9741c97: New "setCache" function returned alongside "getCached"
- a617e8b: Improve JSON parse error handling
- c4d22cc: logEvents.events accepts custom log functions for specific events
- fb9397b: Fix "pipelineRedisSET: false"
- c4d22cc: logEvents.log is now optional (console.log default fallback)
- 662d8d1: Fix pipelined set
-
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
- 82887cf: Never log empty param string, fallback to "null"
- 2171c16: Minimum Node.js version is v16
- 2171c16: New "pipelineRedisGET" option to enable the usage of Redis pipelines to batch Redis GETs
- 2171c16: New "GETRedisTimeout" option to set a maximum amount of milliseconds for getCached to wait for the GET redis response
- 2171c16: New "logEvents" option to enable observability of events
- 2171c16: New "defaultUseMemoryCache" option to be able to customize default memory-cache usage in "getCached"
- 44af92c: setTTL and getTTL to manage ttl dynamically
- d6e4cda: Add "redlock"."useByDefault" option to
FineGrainedCache
- 622bf89: Release v1