0.12.0 (2024-06-06)
- bypass: enable bypass of cache.set or cache.get via input or env (677a950)
0.11.4 (2023-08-11)
- async: enable deduplication cache input to with-async-cache (2f8ad46)
0.11.3 (2023-07-28)
- cicd: remove publish-on-tag in favor of publish (52581fa)
0.11.2 (2023-07-28)
- 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)
- async: ensure that the async caching wrapper uses same key serialization for its internal request deduplication cache (608785d)
0.11.0 (2022-11-28)
- 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)
- logs: dont warn about undefined get-after-set if output really was undefined (9c3a3a1)
0.10.0 (2022-11-25)
- contract: extract out async support into withSimpleCachingAsync for better types (eebbc00)
- types: formally distinguish between SimpleSyncCache and SimpleAsyncCache (0d81b4c)
- 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)
- update: provide a deserialized cached output to the update toValue function for user (3fe2522)
0.9.4 (2022-11-24)
- types: update SimpleCacheResolutionMethod to support extending the cache type (3bd778f)
0.9.3 (2022-11-24)
- 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)
- types: simplify generics by removing extended input and output methods (b492de1)
0.9.1 (2022-11-24)
- types: add a generic for the logic input, for extendability (bfd78c9)
0.9.0 (2022-11-23)
- extendability: enable invalidation and update of extendable cache forKey, not just forInput (fa25170)
0.8.2 (2022-11-23)
- types: update the name of the onset hooks trigger arg (45139c4)
0.8.1 (2022-11-23)
- hooks: trigger onset hook from extended invalidate and update methods (e9f4fe5)
0.8.0 (2022-11-23)
- hooks: allow users to specify an onSet hook, which gets triggered exactly after set is confirmed (be77bf6)
0.7.2 (2022-11-23)
- 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)
- 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)
- extend: expose withExtendableCaching enabling easy external invalidation and update of the wrapped logic cache (d86c628)
0.6.0 (2022-11-23)
- cache: enable defining cache from logic input args at runtime (f96a291)
0.5.0 (2022-11-22)
- expiration: enable using custom expiration policy per wrapper (f4611dc)
0.4.1 (2022-11-22)
- invalidation: ensure null is treated as a valid cached value; only undefined as the invalidation literal (4a2327c)
0.4.0 (2022-11-20)
- async-caches: explicitly support caches with async setters (5b3bc22)
- 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)
- serde: enable custom serialization and deserialization of cached value (0065891)
0.2.1 (2022-10-06)
- promises: handle case where the cache get method is async (45987fe)
0.2.0 (2022-10-06)
- cicd: add please-release to cicd (b8fc9c5)
- serialize: enable users to specify a custom key serialization method (67041a1)
- types: correctly support async caches that promise T | undefined (c1c9c12)