Skip to content

Latest commit

 

History

History
215 lines (98 loc) · 10.8 KB

changelog.md

File metadata and controls

215 lines (98 loc) · 10.8 KB

Changelog

0.12.0 (2024-06-06)

Features

  • bypass: enable bypass of cache.set or cache.get via input or env (677a950)

0.11.4 (2023-08-11)

Bug Fixes

  • async: enable deduplication cache input to with-async-cache (2f8ad46)

0.11.3 (2023-07-28)

Bug Fixes

  • cicd: remove publish-on-tag in favor of publish (52581fa)

0.11.2 (2023-07-28)

Bug Fixes

  • async: enable async caching wrapper to use a sync cache (#26) (6138a92)
  • practs: use latest best practices (#27) (4f6a144)

0.11.1 (2022-11-28)

Bug Fixes

  • async: ensure that the async caching wrapper uses same key serialization for its internal request deduplication cache (608785d)

0.11.0 (2022-11-28)

Features

  • async: deduplicate parallel requests against async-cached logic in-memory w/ sync cache (#23) (6526c3b)
  • sync: add a sync with-extendable-caching method (6a128cc)

0.10.1 (2022-11-25)

Bug Fixes

  • logs: dont warn about undefined get-after-set if output really was undefined (9c3a3a1)

0.10.0 (2022-11-25)

Features

  • contract: extract out async support into withSimpleCachingAsync for better types (eebbc00)
  • types: formally distinguish between SimpleSyncCache and SimpleAsyncCache (0d81b4c)

Bug Fixes

  • serde: ensure that cache-miss and cache-hit responses are guaranteed equivalent (752962d)
  • types: assert that the deserialization input and serialization output are notundefined (d857348)

0.9.5 (2022-11-25)

Bug Fixes

  • update: provide a deserialized cached output to the update toValue function for user (3fe2522)

0.9.4 (2022-11-24)

Bug Fixes

  • types: update SimpleCacheResolutionMethod to support extending the cache type (3bd778f)

0.9.3 (2022-11-24)

Bug Fixes

  • exports: expose default serde methods (94f5dde)
  • failfast: failfast if could not find cache from cache resolution function from input args (91d36e1)

0.9.2 (2022-11-24)

Bug Fixes

  • types: simplify generics by removing extended input and output methods (b492de1)

0.9.1 (2022-11-24)

Bug Fixes

  • types: add a generic for the logic input, for extendability (bfd78c9)

0.9.0 (2022-11-23)

Features

  • extendability: enable invalidation and update of extendable cache forKey, not just forInput (fa25170)

0.8.2 (2022-11-23)

Bug Fixes

  • types: update the name of the onset hooks trigger arg (45139c4)

0.8.1 (2022-11-23)

Bug Fixes

  • hooks: trigger onset hook from extended invalidate and update methods (e9f4fe5)

0.8.0 (2022-11-23)

Features

  • hooks: allow users to specify an onSet hook, which gets triggered exactly after set is confirmed (be77bf6)

0.7.2 (2022-11-23)

Bug Fixes

  • references: replace final references from uladkasach org to ehmpathy org (e874165)
  • types: expose an explicit type for the output of logic wrapped with extendable caching (87446c0)
  • types: update the type of the cache resolution method for easier readability in implementation (de4ce8d)

0.7.1 (2022-11-23)

Bug Fixes

  • tests: ensure that expiration time test has delay buffer for reliability (940cf03)
  • types: generalize WithSimpleCachingOptions and expose from package for extensibility (bfa77a3)

0.7.0 (2022-11-23)

Features

  • extend: expose withExtendableCaching enabling easy external invalidation and update of the wrapped logic cache (d86c628)

0.6.0 (2022-11-23)

Features

  • cache: enable defining cache from logic input args at runtime (f96a291)

0.5.0 (2022-11-22)

Features

  • expiration: enable using custom expiration policy per wrapper (f4611dc)

0.4.1 (2022-11-22)

Bug Fixes

  • invalidation: ensure null is treated as a valid cached value; only undefined as the invalidation literal (4a2327c)

0.4.0 (2022-11-20)

Features

  • async-caches: explicitly support caches with async setters (5b3bc22)

Bug Fixes

  • docs: update readme example of custom serialize and deserialize (a38d1d4)
  • tests: add tests proving correct handing of errors (0ad7f9b)

0.3.0 (2022-10-06)

Features

  • serde: enable custom serialization and deserialization of cached value (0065891)

0.2.1 (2022-10-06)

Bug Fixes

  • promises: handle case where the cache get method is async (45987fe)

0.2.0 (2022-10-06)

Features

  • cicd: add please-release to cicd (b8fc9c5)
  • serialize: enable users to specify a custom key serialization method (67041a1)

Bug Fixes

  • types: correctly support async caches that promise T | undefined (c1c9c12)