Skip to content

Releases: SaurusXI/sugar-cache

v4.2.0

08 Dec 03:16
c0dee83
Compare
Choose a tag to compare

4.2.0 (2023-12-08)

Bug Fixes

  • decorator composition with ts 5 decorators (f0097c8)

Features

  • migrate to typescript 5 decorators (8e72d91)

v4.1.0

06 Dec 10:16
3bfca0b
Compare
Choose a tag to compare

4.1.0 (2023-12-06)

Features

  • improve interface to make it more self documenting (1f8648a)

v4.0.1

04 Dec 05:55
f4dbd45
Compare
Choose a tag to compare

4.0.1 (2023-12-04)

Bug Fixes

v4.0.0

20 Nov 10:15
c5233a4
Compare
Choose a tag to compare

4.0.0 (2023-11-20)

Bug Fixes

  • add ordering of invalidation for delete ops on multilevel cache (4f06323)

  • build errors (d7998f8)

  • clean up async operations wherever possible (05d97da)

  • don't mutate caller args passed for hashtags (7f22e51)

  • error false positive in change keyVariables reduction logic (5b95077)

  • handle prom client not passed in options (0adbc4d)

  • uninitialized object (e47f435)

  • feat!: make cache keys strongly typed (fed80e7)

Features

  • add batched operations (698f0f8)
  • add JSDocs for batches operations (1ce45b9)
  • add multilevel caching (b0f9e53)
  • add redis hashtags support (77396c6)
  • add support for prometheus client to track cache hit ratios (fe84aa8)
  • bump dependency versions (99fec41)
  • update tests to use new interfaces correctly (dc69caf)

BREAKING CHANGES

  • make cache keys strongly typed

v3.0.1

16 Feb 10:27
523cfff
Compare
Choose a tag to compare

3.0.1 (2023-02-16)

Bug Fixes

  • make logger type broader (523cfff)

v3.0.0

04 Feb 06:03
f844e75
Compare
Choose a tag to compare

3.0.0 (2023-02-04)

  • feat!: make method interfaces consistent with decorators (f844e75)

BREAKING CHANGES

  • make method interfaces consistent with decorators

v2.0.2

11 Jan 06:50
2ed4203
Compare
Choose a tag to compare

2.0.2 (2023-01-11)

Bug Fixes

  • change check for cluster mode in clear (3587d88)
  • handle cluster mode separately for clear (e85006e)
  • handle sharding of keys in redis cluster (4c4ca4c)
  • send multiple delete commands for clear to avoid CROSSLOT errors in clusters (2c40505)

v2.0.1

09 Jan 07:38
b4d8916
Compare
Choose a tag to compare

2.0.1 (2023-01-09)

Bug Fixes

  • clear cache outside pipeline to support redis cluster mode (33059d0)

v2.0.0

09 Jan 07:28
788405f
Compare
Choose a tag to compare

2.0.0 (2023-01-09)

Bug Fixes

  • add breaking change commit to trigger semantic release (8b538ee)

BREAKING CHANGES

  • remove width based cache eviction in favour of TTL

v1.4.0

09 Jan 07:24
7f653e3
Compare
Choose a tag to compare

1.4.0 (2023-01-09)

Features

  • update decorator interface (7d4e453)