@graphql-tools/graphql-file-loader
9.1.2 · 10 Nov 2026MIT13.9M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 131 releases- 9.x · latest line
9.1.1 – 9.1.22 releases that only update dependencies@graphql-tools/utils 13.2.2@graphql-tools/import 8.0.9@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/graphql-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.67 releases with no change for you6 dependency updates, 1 without a note@graphql-tools/utils 13.1.3@graphql-tools/import 8.0.6@graphql-tools/load-files 8.0.6Show each
- 9.0.622 Oct 2026@graphql-tools/utils 13.1.3@graphql-tools/import 8.0.6@graphql-tools/load-files 8.0.6
- 9.0.522 Oct 2026@graphql-tools/utils 13.1.2@graphql-tools/import 8.0.5@graphql-tools/load-files 8.0.5
- 9.0.420 Oct 2026@graphql-tools/utils 13.1.1@graphql-tools/import 8.0.4@graphql-tools/load-files 8.0.4
- 9.0.320 Oct 2026@graphql-tools/utils 13.1.0@graphql-tools/import 8.0.3@graphql-tools/load-files 8.0.3
- 9.0.219 Oct 2026@graphql-tools/utils 13.0.2@graphql-tools/import 8.0.2@graphql-tools/load-files 8.0.2
- 9.0.119 Oct 2026@graphql-tools/utils 13.0.1@graphql-tools/import 8.0.1@graphql-tools/load-files 8.0.1
- 9.0.019 Oct 2026no note
Dependency tracking
Know when your own dependencies move
@graphql-tools/graphql-file-loader shipped a new major in the last 12 months, among 27 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 23 Nov 2026. Releases and advisories last read 23 Nov 2026.
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.