Skip to content

Latest commit

 

History

History
233 lines (119 loc) · 3.5 KB

CHANGELOG.md

File metadata and controls

233 lines (119 loc) · 3.5 KB

@sebspark/promise-cache

3.0.1

Patch Changes

  • 9138c3b: Log errors in persistor
  • 4e51747: Use logger in persistor

3.0.0

Major Changes

  • 8466c95: - TTL is always seconds. Support logger injection. Handle complex types; set, map, object, array.

2.1.2

Patch Changes

  • 3796c8e: stop logging redis keys as they might have sensitive information.

2.1.1

Patch Changes

  • df6468d: ttl in response should be in seconds

2.1.0

Minor Changes

  • 6d40aae: enable setting cache ttl from promise response

2.0.10

Patch Changes

  • cccc089: Error in GCP Redis MemoryStore, doesnt support SETNAME command

2.0.9

Patch Changes

  • 85f095f: Wait until the connection is ready

2.0.8

Patch Changes

  • f145e39: Remove max 5 tries

2.0.7

Patch Changes

  • f3ed352: Change retry timeoute

2.0.6

Patch Changes

  • f7dd4c1: Remove retry library and use default retry system from redis

2.0.5

Patch Changes

  • 9342770: Use redis event ready instead connect to start storing data

2.0.4

Patch Changes

  • 3e9f97f: Fix: Return a promise to avoid errors in the retry function

2.0.3

Patch Changes

  • 5cfb14a: Change redis connection reuse logic

2.0.2

Patch Changes

  • e21f808: Add connection flag to persistor

2.0.1

Patch Changes

  • 0da73eb: Show in logs which client is trying to connect to redis

2.0.0

Major Changes

  • bfcf244: Add a name to the redis connection, then the PromiseCache class will get the current persistor with that connection name avoiding duplicates

1.4.0

Minor Changes

  • f4ed2a1: Use retry from "@sebspark/retry" when try to connect to redis

1.3.1

Patch Changes

  • 93a37b3: Patch dependencies

1.3.0

Minor Changes

  • 9ca6fe1: Exporting PromiseCacheOptions and RedisClientOptions types

1.2.4

Patch Changes

  • 11554bb: Use LocalMemory instead redis if is a test

1.2.3

Patch Changes

  • adb4404: Add default error log

1.2.2

Patch Changes

  • 1fa4f6e: Fixed error in persistor cache

1.2.1

Patch Changes

  • 95b26d7: Fixed error where persistor could set ttl to float. Also added reuse of redis client for same settings.

1.2.0

Minor Changes

  • 4437b67: redis config is now RedisClientOptions

1.1.0

Minor Changes

  • 57b11f4: Exposing the Persistor

1.0.0

Major Changes

  • 687a412: Allow connecting to Redis that is setup with either AUTH enabled or disabled by changing to a redis object as an optional argument

0.2.9

Patch Changes

  • 37c70c7: Change constructor promiseCache

0.2.8

Patch Changes

  • 47d6f2e: optional REDIS_PASSWORD as environment variable

0.2.7

Patch Changes

  • ddd44a9: Change console.logs with callbacks

0.2.6

Patch Changes

  • 204b80b: Singleton to share memory between instances

0.2.5

Patch Changes

  • 38d00b1: Set redis version to 4.6.12

0.2.4

Patch Changes

  • 415966e: Set redis version to 4.6.12

0.2.4

Patch Changes

  • d7b4beb: New option to use local memory instead redis

0.2.3

Patch Changes

  • 9f673e8: Export mocked redis to use externally, add new function to find items in cache

0.2.2

Patch Changes

  • ede4a4f: Add override function to promiseCache

0.2.1

Patch Changes

  • 5ffc4a5: Bump promise-cache library to 0.2.1

0.2.0

Minor Changes

  • f5d0748: - Support optional TTL in each call to wrap(...)
    • Support optional case sensitivity

0.1.0

Minor Changes

  • 547aab6: First version of promise-cache. A simple caching wrapper for promises.