@graphql-tools/code-file-loader
9.1.2 · 10 Nov 2026MIT13.2M / weekRepositoryHomepagenpmAtom feed
141 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 9.x · latest line
9.1.1 – 9.1.22 releases that only update dependencies@graphql-tools/utils 13.2.2@graphql-tools/graphql-tag-pluck 9.0.10@graphql-tools/load-files 8.0.9Show each
9.1.0
26 Oct 2026loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:# valid.query.graphql query ValidQuery { a }# broken-a.query.graphql query { aawait loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader()], }); // throws Syntax ErrorerrorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:await loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader()], errorHandling: 'aggregate', });returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:const sources = await loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader(), new CodeFileLoader()], errorHandling: 'return', }); sources[0].document; // ValidQuery sources[1].document; // undefined sources[1].error; // GraphQLError: Syntax ErrorSourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.
@graphql-tools/code-file-loader@9.1.0
Minor Changes
loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:# valid.query.graphql query ValidQuery { a }# broken-a.query.graphql query { aawait loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader()], }); // throws Syntax ErrorerrorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:await loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader()], errorHandling: 'aggregate', });returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:const sources = await loadDocuments('**/*.query.graphql', { loaders: [new GraphQLFileLoader(), new CodeFileLoader()], errorHandling: 'return', }); sources[0].document; // ValidQuery sources[1].document; // undefined sources[1].error; // GraphQLError: Syntax ErrorSourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.
9.0.0 – 9.0.78 releases with no change for you7 dependency updates, 1 without a note@graphql-tools/utils 13.1.3@graphql-tools/graphql-tag-pluck 9.0.7@graphql-tools/load-files 8.0.6Show each
- 9.0.722 Oct 2026@graphql-tools/utils 13.1.3@graphql-tools/graphql-tag-pluck 9.0.7@graphql-tools/load-files 8.0.6
- 9.0.622 Oct 2026@graphql-tools/utils 13.1.2@graphql-tools/graphql-tag-pluck 9.0.6@graphql-tools/load-files 8.0.5
- 9.0.520 Oct 2026@graphql-tools/utils 13.1.1@graphql-tools/graphql-tag-pluck 9.0.5@graphql-tools/load-files 8.0.4
- 9.0.420 Oct 2026@graphql-tools/utils 13.1.0@graphql-tools/graphql-tag-pluck 9.0.4@graphql-tools/load-files 8.0.3
- 9.0.319 Oct 2026@graphql-tools/utils 13.0.2@graphql-tools/graphql-tag-pluck 9.0.3@graphql-tools/load-files 8.0.2
- 9.0.219 Oct 2026@graphql-tools/utils 13.0.1@graphql-tools/graphql-tag-pluck 9.0.2@graphql-tools/load-files 8.0.1
- 9.0.119 Oct 2026@graphql-tools/graphql-tag-pluck 9.0.1
- 9.0.019 Oct 2026no note
- 8.x
8.1.43
15 Oct 2026Dependencies updates:
@graphql-tools/code-file-loader@8.1.43
Patch Changes
Dependencies updates:
Updated dependency
@graphql-tools/graphql-tag-pluck@8.3.40↗︎ (from8.3.39, independencies)Updated dependency
@graphql-tools/utils@^12.0.4↗︎ (from^12.0.3, independencies)
8.1.40 – 8.1.423 releases that only update dependencies@graphql-tools/utils 12.0.4@graphql-tools/graphql-tag-pluck 8.3.40Show each
8.1.9 – 8.1.3830 releases that only update dependencies@graphql-tools/graphql-tag-pluck 8.3.37@graphql-tools/utils 12.0.1Show each
- 8.1.387 Sep 2026@graphql-tools/graphql-tag-pluck 8.3.37@graphql-tools/utils 12.0.1
- 8.1.3712 Aug 2026@graphql-tools/utils 12.0.0@graphql-tools/graphql-tag-pluck 8.3.36
- 8.1.3617 Jul 2026@graphql-tools/utils 11.2.2@graphql-tools/graphql-tag-pluck 8.3.35
- 8.1.3517 Jul 2026@graphql-tools/utils 11.2.1@graphql-tools/graphql-tag-pluck 8.3.34
- 8.1.346 Jul 2026@graphql-tools/utils 11.2.0@graphql-tools/graphql-tag-pluck 8.3.33
- 8.1.3328 Jun 2026@graphql-tools/graphql-tag-pluck 8.3.32@graphql-tools/utils 11.1.1
- 8.1.3223 Apr 2026@graphql-tools/utils 11.1.0@graphql-tools/graphql-tag-pluck 8.3.31
- 8.1.319 Apr 2026@graphql-tools/utils 11.0.1@graphql-tools/graphql-tag-pluck 8.3.30
- 8.1.303 Apr 2026@graphql-tools/graphql-tag-pluck 8.3.29
- 8.1.2922 Jan 2026@graphql-tools/graphql-tag-pluck 8.3.28
- 8.1.287 Jan 2026@graphql-tools/utils 11.0.0@graphql-tools/graphql-tag-pluck 8.3.27
- 8.1.2728 Nov 2025@graphql-tools/utils 10.11.0@graphql-tools/graphql-tag-pluck 8.3.26
- 8.1.2612 Nov 2025@graphql-tools/utils 10.10.3@graphql-tools/graphql-tag-pluck 8.3.25
- 8.1.2511 Nov 2025@graphql-tools/utils 10.10.2@graphql-tools/graphql-tag-pluck 8.3.24
- 8.1.244 Nov 2025@graphql-tools/utils 10.10.1@graphql-tools/graphql-tag-pluck 8.3.23
- 8.1.2330 Oct 2025@graphql-tools/utils 10.10.0@graphql-tools/graphql-tag-pluck 8.3.22
- 8.1.2221 Jul 2025@graphql-tools/utils 10.9.1@graphql-tools/graphql-tag-pluck 8.3.21
- 8.1.2117 Jul 2025@graphql-tools/utils 10.9.0@graphql-tools/graphql-tag-pluck 8.3.20
- 8.1.2013 Mar 2025@graphql-tools/utils 10.8.6@graphql-tools/graphql-tag-pluck 8.3.19
- 8.1.1913 Mar 2025@graphql-tools/graphql-tag-pluck 8.3.18@graphql-tools/utils 10.8.5
- 8.1.183 Mar 2025@graphql-tools/utils 10.8.4@graphql-tools/graphql-tag-pluck 8.3.17
- 8.1.1725 Feb 2025@graphql-tools/utils 10.8.3@graphql-tools/graphql-tag-pluck 8.3.16
- 8.1.1621 Feb 2025@graphql-tools/utils 10.8.2@graphql-tools/graphql-tag-pluck 8.3.15
- 8.1.1510 Feb 2025@graphql-tools/utils 10.8.1@graphql-tools/graphql-tag-pluck 8.3.14
- 8.1.1410 Feb 2025@graphql-tools/utils 10.8.0@graphql-tools/graphql-tag-pluck 8.3.13
- 8.1.136 Jan 2025@graphql-tools/utils 10.7.2@graphql-tools/graphql-tag-pluck 8.3.12
- 8.1.122 Jan 2025@graphql-tools/utils 10.7.1@graphql-tools/graphql-tag-pluck 8.3.11
- 8.1.1124 Dec 2024@graphql-tools/utils 10.7.0@graphql-tools/graphql-tag-pluck 8.3.10
- 8.1.1014 Dec 2024@graphql-tools/utils 10.6.4@graphql-tools/graphql-tag-pluck 8.3.9
- 8.1.913 Dec 2024@graphql-tools/utils 10.6.3@graphql-tools/graphql-tag-pluck 8.3.8
8.1.8
4 Dec 2024@graphql-tools/code-file-loader@8.1.8
Patch Changes
#6662
696a0d5
Thanks @renovate! - dependencies updates:Updated dependency
@graphql-tools/graphql-tag-pluck@8.3.6↗︎
(from8.3.5, independencies)Updated dependency
@graphql-tools/utils@^10.6.1↗︎
(from^10.6.0, independencies)
8.1.5 – 8.1.73 releases that only update dependencies@graphql-tools/utils 10.6.1@graphql-tools/graphql-tag-pluck 8.3.6Show each
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.