Changelog
5.1.5
Patch Changes
- #1727
4f2bda9Thanks @eddeee888 ! - Revert minimatch and cosmiconfig versions
5.1.4
Patch Changes
-
#1631
790cfc1Thanks @aaronadamsCA ! - support top-level await -
#1499
7f80597Thanks @renovate ! - dependencies updates:- Updated dependency
minimatch@^10.0.0↗︎ (from^9.0.5, independencies)
- Updated dependency
-
#1574
c8efc31Thanks @renovate ! - dependencies updates:- Updated dependency
cosmiconfig@^9.0.0↗︎ (from^8.1.0, independencies)
- Updated dependency
-
#1725
3f9ebc7Thanks @eddeee888 ! - Bump @graphql-tools/load to ^8.1.0 to support better error handling
5.1.3
Patch Changes
- #1572
d95462cThanks @dimaMachina ! - revert cosmiconfig update to v8
5.1.2
Patch Changes
- #1489
9a89093Thanks @that1matt ! - Change minimatch to version 9
5.1.1
Patch Changes
5.1.0
Minor Changes
-
#1459
5eca929Thanks @dimaMachina ! - - fix loading esm js config- add support of
*.mjsconfigs
- add support of
Patch Changes
- #1418
658f984Thanks @dimaMachina ! - should not throwpattern is too longfrom minimatch dependency when SDL schema contain more than 65536 characters
5.0.3
Patch Changes
- #1406
69afec4Thanks @B2o5T ! - fixSchemaPointertype, allow both URLs with headers and local type definitions
5.0.2
Patch Changes
- #1370
156e7c2Thanks @gilgardosh ! - Bump bob-the-bundler
5.0.1
Patch Changes
5.0.0
Major Changes
Patch Changes
-
#1294
1d11dbdThanks @renovate ! - dependencies updates:- Updated dependency
jiti@1.18.2↗︎ (from1.17.1, independencies)
- Updated dependency
-
#1348
42ffb2eThanks @n1ru4l ! - dependencies updates:- Updated dependency
@graphql-tools/graphql-file-loader@^8.0.0↗︎ (from^7.3.7, independencies) - Updated dependency
@graphql-tools/json-file-loader@^8.0.0↗︎ (from^7.3.7, independencies) - Updated dependency
@graphql-tools/load@^8.0.0↗︎ (from^7.5.5, independencies) - Updated dependency
@graphql-tools/merge@^9.0.0↗︎ (from^8.2.6, independencies) - Updated dependency
@graphql-tools/url-loader@^8.0.0↗︎ (from^7.9.7, independencies) - Updated dependency
@graphql-tools/utils@^10.0.0↗︎ (from^9.0.0, independencies)
- Updated dependency
-
#1358
d6ead74Thanks @n1ru4l ! - dependencies updates:- Updated dependency
cosmiconfig@^8.1.0↗︎ (from8.1.0, independencies) - Updated dependency
jiti@^1.18.2↗︎ (from1.18.2, independencies) - Updated dependency
minimatch@^4.2.3↗︎ (from4.2.3, independencies) - Updated dependency
string-env-interpolation@^1.0.1↗︎ (from1.0.1, independencies)
- Updated dependency
4.5.0
Minor Changes
9e4f453Thanks @kamilkisiela ! - Support ESM and .mts/.cts config extensions
4.4.1
Patch Changes
4.4.0
Minor Changes
-
#1189
ab2ad6dThanks @B2o5T ! - addcosmiconfig-toml-loadertopeerDependenciesMeta -
#1171
b52dc1bThanks @B2o5T ! - movecosmiconfig-typescript-loaderinpeerDependencyMeta
4.3.6
Patch Changes
- #1149
a12f394Thanks @charlypoly ! - conflict with codegen also using TypeScriptLoader(), causing a double ts-node register.
4.3.5
Patch Changes
-
#1126
cc781c4Thanks @n1ru4l ! - dependencies updates:- Updated dependency
cosmiconfig-typescript-loader@^4.0.0↗︎ (from^3.1.0, independencies)
- Updated dependency
4.3.4
Patch Changes
-
#1103
2c568f1Thanks @renovate ! - dependencies updates:- Added dependency
tslib@^2.4.0↗︎ (todependencies)
- Added dependency
4.3.3
Patch Changes
- cd7747e: bump
cosmiconfig-typescript-loaderto resolve errors with esm loading
4.3.2
Patch Changes
- f74d648: fix: change to maintained version of
cosmiconfig-typescript-loader
4.3.1
Patch Changes
- 44eec8d: Add workaround for default import of typescript config loader to fix ESM support
4.3.0
Minor Changes
- aaccd04: feat: improve types to fix JSON schema when schema is passed like object with headers
Patch Changes
- 18d07fd: fix: rollback
GraphQLConfig.projectsto empty object insteadObject.create(null)
4.2.0
Minor Changes
- 0636e9a: feat: support
graphql.config.cjsconfig - 55f078a: feat: update
graphql-toolspackages
Patch Changes
- fix: update
minimatchdependency
Thanks to @bfanger for his first contribution 0636e9a
vNEXT
v4.0.2
- Update range of
@graphql-tools/mergedependency to include v7 and v8
v4.0.1
- Updated dependencies of
graphql-toolsto latest, to address issues related to documents loading.
v4.0.0
‼️ ‼️ ‼️ BREAKING CHANGE ‼️ ‼️ ‼️
Dropped Node 10 support, due to the need to support ESM in this package.
‼️ ‼️ ‼️ BREAKING CHANGE ‼️ ‼️ ‼️
The signature of Loader has been changed in graphql-tools, to allow more flexibility.
If you are using graphql-config with extensions, then the Extension you are using needs to adjust to the new return value of Loader signature that returns Source[] | null instead of Source. (see: https://github.com/kamilkisiela/graphql-config/issues/716 )
Other changes:
- ESM Support
- Update dependencies of
graphql-tools.
v3.4.0
Note: A breaking chnage snuk into that version, please see v4.
- Update dependencies of
graphql-tools.
v3.3.0
- Add support for loading the config from package.json #693 by @ionut-botizan
v3.2.0
- Allow custom options for loadSchema #593
v3.1.0
- TOML and TypeScript loaders #595 by @acao
- Add ability to override default loaders #583 by @danielrearden
v3.0.2
- Fix missing types #542
v3.0.1
- use GraphQL Toolkit v0.10.6
v3.0.0
Read the Migration chapter
- Support GraphQL v15
- Support CommonJS and ES Modules
- Support environment variables with default values
- Match a file with a GraphQL Project
- JSON Schema
- New Extensions system with Loaders
includesandexcludesbecomesincludeandexlude- New field
documents- defines GraphQL Operations and Fragments - Broader spectrum of config file names
- Support custom config name
- Synchonous version
- Support legacy #437
- Extensions capable of modifying GraphQL Schemas #463
Prior to v3
Changes: https://github.com/kamilkisiela/graphql-config/releases