- 9138c3b: Log errors in persistor
- 4e51747: Use logger in persistor
- 8466c95: - TTL is always seconds. Support logger injection. Handle complex types; set, map, object, array.
- 3796c8e: stop logging redis keys as they might have sensitive information.
- df6468d: ttl in response should be in seconds
- 6d40aae: enable setting cache ttl from promise response
- cccc089: Error in GCP Redis MemoryStore, doesnt support SETNAME command
- 85f095f: Wait until the connection is ready
- f145e39: Remove max 5 tries
- f3ed352: Change retry timeoute
- f7dd4c1: Remove retry library and use default retry system from redis
- 9342770: Use redis event ready instead connect to start storing data
- 3e9f97f: Fix: Return a promise to avoid errors in the retry function
- 5cfb14a: Change redis connection reuse logic
- e21f808: Add connection flag to persistor
- 0da73eb: Show in logs which client is trying to connect to redis
- bfcf244: Add a name to the redis connection, then the PromiseCache class will get the current persistor with that connection name avoiding duplicates
- f4ed2a1: Use retry from "@sebspark/retry" when try to connect to redis
- 93a37b3: Patch dependencies
- 9ca6fe1: Exporting PromiseCacheOptions and RedisClientOptions types
- 11554bb: Use LocalMemory instead redis if is a test
- adb4404: Add default error log
- 1fa4f6e: Fixed error in persistor cache
- 95b26d7: Fixed error where persistor could set ttl to float. Also added reuse of redis client for same settings.
- 4437b67: redis config is now RedisClientOptions
- 57b11f4: Exposing the Persistor
- 687a412: Allow connecting to Redis that is setup with either AUTH enabled or disabled by changing to a redis object as an optional argument
- 37c70c7: Change constructor promiseCache
- 47d6f2e: optional REDIS_PASSWORD as environment variable
- ddd44a9: Change console.logs with callbacks
- 204b80b: Singleton to share memory between instances
- 38d00b1: Set redis version to 4.6.12
- 415966e: Set redis version to 4.6.12
- d7b4beb: New option to use local memory instead redis
- 9f673e8: Export mocked redis to use externally, add new function to find items in cache
- ede4a4f: Add override function to promiseCache
- 5ffc4a5: Bump promise-cache library to 0.2.1
- f5d0748: - Support optional TTL in each call to wrap(...)
- Support optional case sensitivity
- 547aab6: First version of promise-cache. A simple caching wrapper for promises.