dataloader
2.2.3 · 3 Dec 2024MIT16.1M / weekRepositorynpmAtom feed
Upgrading dataloader from 1.4.0 to 2.2.3
6 releases in betweenevery note read
Release by release
- new
Call cacheKeyFn only when it is needed (if caching)
- fixed
Fix correct path of function when click on mobile links
- new
- fixed
Expose
namein Dataloader instance types
- fixed
- fixed
TS types for the new name property
- fixed
- new
Add typings and test for priming with promise
- new
Add cppdataloader to README.md
- new
Add
nametoDataLoader - fixed
Incorrect variable name in README.md
- fixed
Fixes #294.
- fixed
Propagate batchFn sync throws to the loader instead of crashing
- new
- new
Support for custom batch scheduling functions
- new
Added references to a ton more ports of DataLoader into other languages (keep 'em coming!)
- fixed
Fixed an issue where TypeScript/Flow would incorrectly report an error when providing an
Errorto.prime() - fixed
Fixed an issue where a cache could still consume memory, even when caching was disabled
- fixed
Fixed an issue where providing an
Errorto.prime()could incorrectly cause an unhandled promise rejection warning
- new
19 other lines we could not sort, mostly version bumps
- 2.2.3
Update readme badge to use GitHub CI instead of unused Travis
- 2.2.3
Synchronized linting in README.md
- 2.2.3
Update Green Donut link
- 2.2.0
Chore / Add Changesets to Contributing.md
- 2.2.0
Update tested node versions
- 2.0.0
.loadMany()now returns an array which may containErrorif one of the requested keys failed. - 2.0.0
The timing of calls to
batchLoadFnwhen{ batch: false }has changed to the end of the run-loop tick. - 2.0.0
Promises for cached values now wait to resolve until the rest of the batch resolves.
- 2.0.0
The names of private class variables have changed
- 2.0.0
MIT licensed (no longer BSD+Patents) and copyrights moved from Facebook to the GraphQL Foundation
6 internal lines (docs, tests, tooling) left out.