Skip to content

Releases: kibertoad/layered-loader

13.0.0

13 Jan 15:48
Compare
Choose a tag to compare

Breaking changes

Generic sequence in LoaderConfig has changed from LoaderConfig<EntityType, CacheType<EntityType>, LoadParamsType> to LoaderConfig<EntityType, LoadParamsType>

12.5.0

07 Dec 22:51
Compare
Choose a tag to compare
  • Add support for defining datasources as simple functions (#290)

12.4.1

29 Nov 23:26
2f52427
Compare
Choose a tag to compare

12.4.1

12.4.0

  • Improve error handling for notification pair (#285)

12.3.1

  • Handle close errors (#284)

12.3.0

  • Use bulk setManyForGroup for GroupLoader (#278)

12.2.0

  • Use bulk operation for updating async cache after bulk operation (#277)

12.1.0

  • Implement invalidateMany operation (#273)

12.0.0

10 Sep 20:53
Compare
Choose a tag to compare

12.0.0

  • Implement getMany operation for bulk retrieval for Loader and GroupLoader
  • Add benchmarks

11.0.0

  • Use native Redis timeout instead of a custom wrapper

10.1.0

27 May 13:34
Compare
Choose a tag to compare
  • Distributed in-memory cache invalidation via Redis pub-sub (#244)
  • Cache hit/miss/expiration statistics (#247)

10.0.0

09 Apr 14:17
Compare
Choose a tag to compare
  • Improved tree-shaking and browser support, now every release is a bundle of CJS, ESM and UMD versions
  • lru is now lru-map, and fifo is fifo-map. Object versions of cache are recommended to use instead, and they were already used by default.

9.6.1

08 Apr 21:57
Compare
Choose a tag to compare

9.6.1

  • Make group size configureable

9.6.0

  • Implement TTL caching for Redis TTL (#235)

9.5.1

  • Change default to lru-object, as it is faster than the map-backed one

9.5.0

  • Object-based cache support (#234)

9.4.0

  • Switch to using toad-cache (#232)

9.3.2

  • Deduplicate refreshes (#230)
  • Avoid awaiting async cache refresh (#229)

9.3.1

  • Reuse more original promises (#228)

9.3.0

  • Implement support for async cache refresh (#227)
  • Implement getExpirationTime for Redis (#226)

9.2.1

28 Mar 17:21
Compare
Choose a tag to compare
  • Performance optimizations, both internal and inside tiny-lru

4.0.0

11 Oct 08:44
Compare
Choose a tag to compare
  • Preserve original errors #170
  • Drop support for Node < 16

3.0.0

07 Oct 22:39
Compare
Choose a tag to compare
  • Add support for Redis cache prefix
  • Update dependencies
  • Drop support for Node.js 12