Packages

dataloader

2.2.3 · 3 Dec 2024MIT16.1M / weekRepositorynpmAtom feed

Upgrading dataloader from 1.1.0 to 2.2.3

9 releases in betweenevery note read

Other targets from 1.1.0Newest 1.x1.4.0
The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
0
advisories fixed
6
new
11
fixes

Release by release

  1. 2.2.3

    3 Dec 20241 new · 1 fix
    • new

      Call cacheKeyFn only when it is needed (if caching)

    • fixed

      Fix correct path of function when click on mobile links

  2. 2.2.2

    13 Feb 20231 fix
    • fixed

      Expose name in Dataloader instance types

  3. 2.2.1

    2 Feb 20231 fix
    • fixed

      TS types for the new name property

  4. 2.2.0

    2 Feb 20233 new · 3 fixes
    • new

      Add typings and test for priming with promise

    • new

      Add cppdataloader to README.md

    • new

      Add name to DataLoader

    • fixed

      Incorrect variable name in README.md

    • fixed

      Fixes #294.

    • fixed

      Propagate batchFn sync throws to the loader instead of crashing

  5. 2.1.0

    12 Apr 20221 fix
    • fixed

      Do not return void results from arrow functions 3b0bae9

  6. 2.0.0

    18 Nov 20192 new · 3 fixes
    • 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 Error to .prime()

    • fixed

      Fixed an issue where a cache could still consume memory, even when caching was disabled

    • fixed

      Fixed an issue where providing an Error to .prime() could incorrectly cause an unhandled promise rejection warning

  7. 1.4.0

    31 Jan 20181 fix
    • fixed

      Fixed an issue where Flow may complain about the provided batch function's return type.

  8. 1.2.0 – 1.3.02 releases, nothing new or fixed in the notes

26 other lines we could not sort, mostly version bumps
  • 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.3
  • Chore / Add Changesets to Contributing.md

    2.2.0
  • Update tested node versions

    2.2.0
  • .loadMany() now returns an array which may contain Error if one of the requested keys failed.

    2.0.0
  • The timing of calls to batchLoadFn when { 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

    2.0.0

6 internal lines (docs, tests, tooling) left out.