-
#1459
5eca929
Thanks @dimaMachina! - - fix loading esm js config- add support of
*.mjs
configs
- add support of
- #1418
658f984
Thanks @dimaMachina! - should not throwpattern is too long
from minimatch dependency when SDL schema contain more than 65536 characters
- #1406
69afec4
Thanks @B2o5T! - fixSchemaPointer
type, allow both URLs with headers and local type definitions
- #1370
156e7c2
Thanks @gilgardosh! - Bump bob-the-bundler
-
#1294
1d11dbd
Thanks @renovate! - dependencies updates:- Updated dependency
[email protected]
↗︎ (from1.17.1
, independencies
)
- Updated dependency
-
#1348
42ffb2e
Thanks @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
d6ead74
Thanks @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
9e4f453
Thanks @kamilkisiela! - Support ESM and .mts/.cts config extensions
-
#1189
ab2ad6d
Thanks @B2o5T! - addcosmiconfig-toml-loader
topeerDependenciesMeta
-
#1171
b52dc1b
Thanks @B2o5T! - movecosmiconfig-typescript-loader
inpeerDependencyMeta
- #1149
a12f394
Thanks @charlypoly! - conflict with codegen also using TypeScriptLoader(), causing a double ts-node register.
-
#1126
cc781c4
Thanks @n1ru4l! - dependencies updates:- Updated dependency
cosmiconfig-typescript-loader@^4.0.0
↗︎ (from^3.1.0
, independencies
)
- Updated dependency
-
#1103
2c568f1
Thanks @renovate! - dependencies updates:- Added dependency
tslib@^2.4.0
↗︎ (todependencies
)
- Added dependency
- cd7747e: bump
cosmiconfig-typescript-loader
to resolve errors with esm loading
- f74d648: fix: change to maintained version of
cosmiconfig-typescript-loader
- 44eec8d: Add workaround for default import of typescript config loader to fix ESM support
- aaccd04: feat: improve types to fix JSON schema when schema is passed like object with headers
- 18d07fd: fix: rollback
GraphQLConfig.projects
to empty object insteadObject.create(null)
- 0636e9a: feat: support
graphql.config.cjs
config - 55f078a: feat: update
graphql-tools
packages
- fix: update
minimatch
dependency
Thanks to @bfanger for his first contribution 0636e9a
- Update range of
@graphql-tools/merge
dependency to include v7 and v8
- Updated dependencies of
graphql-tools
to latest, to address issues related to documents loading.
Dropped Node 10 support, due to the need to support ESM in this package.
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: kamilkisiela#716)
Other changes:
- ESM Support
- Update dependencies of
graphql-tools
.
Note: A breaking chnage snuk into that version, please see v4.
- Update dependencies of
graphql-tools
.
- Add support for loading the config from package.json #693 by @ionut-botizan
- Allow custom options for loadSchema #593
- TOML and TypeScript loaders #595 by @acao
- Add ability to override default loaders #583 by @danielrearden
- Fix missing types #542
- use GraphQL Toolkit v0.10.6
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
includes
andexcludes
becomesinclude
andexlude
- 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
Changes: https://github.com/kamilkisiela/graphql-config/releases