dataloader
2.2.3 · 3 Dec 2024MIT16.1M / weekRepositorynpmAtom feed
Upgrading dataloader from 1.0.0 to 1.1.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
2 other lines we could not sort, mostly version bumps
- 1.1.0
Provide a custom cache-key function. #15 — Since JavaScript does not use value equality, but fetch keys are often treated as values, this allows for a custom function to be provided to produce a cache-key for any load-key. Example:
- 1.1.0
Provide a custom cache instance. #17 — By default, DataLoader uses a Map as a cache. However this simple cache does not support anything like TTL or a cache eviction policy. Now you may provide any object which implements the Map API to use as a cache. Example: