diff --git a/.changeset/afraid-nails-double.md b/.changeset/afraid-nails-double.md deleted file mode 100644 index 37498af..0000000 --- a/.changeset/afraid-nails-double.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"dataloader": minor ---- - -- Do not return void results from arrow functions https://github.com/graphql/dataloader/commit/3b0bae94e91453d9a432c02628745252abc5e011 -- Fix typo in `loader.load()` error message https://github.com/graphql/dataloader/commit/249b2b966a8807c50e07746ff04acb8c48fa4357 -- Fix typo in SQL example https://github.com/graphql/dataloader/commit/cae1a3d9bfa48e181a49fd443f43813b335dc120 -- Fix typo in TypeScript declaration https://github.com/graphql/dataloader/commit/ef6d32f97cde16aba84d96dc806c4439eaf8efae -- Most of the browsers don't have `setImmediate`. `setImmediate || setTimeout` doesn't work and it throws `setImmediate` is not defined in this case, so we should check setImmediate with typeof. And some environments like Cloudflare Workers don't allow you to set setTimeout directly to another variable. https://github.com/graphql/dataloader/commit/3e62fbe7d42b7ab1ec54818a1491cb0107dd828a diff --git a/.changeset/great-swans-ring.md b/.changeset/great-swans-ring.md deleted file mode 100644 index 6aeb4a7..0000000 --- a/.changeset/great-swans-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"dataloader": patch ---- - -Fix typo in jsdoc comment; flip "objects are keys" to "keys are objects" diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..efc6b37 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# dataloader + +## 2.1.0 + +### Minor Changes + +- 28cf959: - Do not return void results from arrow functions https://github.com/graphql/dataloader/commit/3b0bae94e91453d9a432c02628745252abc5e011 + - Fix typo in `loader.load()` error message https://github.com/graphql/dataloader/commit/249b2b966a8807c50e07746ff04acb8c48fa4357 + - Fix typo in SQL example https://github.com/graphql/dataloader/commit/cae1a3d9bfa48e181a49fd443f43813b335dc120 + - Fix typo in TypeScript declaration https://github.com/graphql/dataloader/commit/ef6d32f97cde16aba84d96dc806c4439eaf8efae + - Most of the browsers don't have `setImmediate`. `setImmediate || setTimeout` doesn't work and it throws `setImmediate` is not defined in this case, so we should check setImmediate with typeof. And some environments like Cloudflare Workers don't allow you to set setTimeout directly to another variable. https://github.com/graphql/dataloader/commit/3e62fbe7d42b7ab1ec54818a1491cb0107dd828a + +### Patch Changes + +- 3135e9a: Fix typo in jsdoc comment; flip "objects are keys" to "keys are objects" diff --git a/package.json b/package.json index 70eaefc..e3299a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dataloader", - "version": "2.0.0", + "version": "2.1.0", "description": "A data loading utility to reduce requests to a backend via batching and caching.", "contributors": [ "Lee Byron (http://leebyron.com/)",