graphql-typed-document-node
graphql-typed-document-node copied to clipboard
Update graphqlcodegenerator monorepo
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @graphql-codegen/cli | 2.3.0 -> 2.9.1 |
||||
| @graphql-codegen/typed-document-node | 2.2.0 -> 2.3.2 |
||||
| @graphql-codegen/typescript | 2.4.0 -> 2.7.2 |
||||
| @graphql-codegen/typescript-operations | 2.2.0 -> 2.5.2 |
Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
v2.9.1
Patch Changes
e2cfc5c: fix(cli): prevent duplicated error messages on fail (without watcher)
v2.9.0
Minor Changes
-
2cbcbb3: Add new flag to emit legacy common js imports. Default it will betruethis way it ensure that generated code works with non-compliant bundlers.You can use the option in your config:
schema: 'schema.graphql' documents: - 'src/**/*.graphql' emitLegacyCommonJSImports: trueAlternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --emit-legacy-common-js-imports
Patch Changes
-
32c1560: getPluginByName fails unexpectedly when plugin is not prefixed with @graphq-codegen in ESM contextMODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist. ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.
-
Updated dependencies [
2cbcbb3]
v2.8.1
Patch Changes
147e801: Addtslibas a dependency. See https://github.com/dotansimha/graphql-code-generator/issues/8075
v2.8.0
Minor Changes
-
d84afec: Add bin CLI command for runninggraphql-code-generatorin ESM mode. You can now usegraphql-codegen-esminstead ofgraphql-codegen.GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.
-
d84afec: Support TypeScript ESM modules ("module": "node16"and"moduleResolution": "node16"). -
8e44df5: Add new config option to not exit with non-zero exit code when there are no documents.You can use this option in your config:
schema: 'schema.graphql' documents: - 'src/**/*.graphql' ignoreNoDocuments: trueAlternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --ignore-no-documents
Patch Changes
-
e7870ac: Fix security vulnerability by removinglatest-versiondependency. -
dce40ed: Allow to disable watch mode from CLI to overwrite the config. Now you can do:$ graphql-codegen --watch=false -
2e86ecb: ### Summary- Migrate to
listr2 - Remove custom renderer for
listr - Remove unused dependencies
- Migrate to
Why
listr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.
Dev notes
Big change for us is how errors were collected. In listr errors were thrown and were caught in the end function of our custom listr Renderer but with listr2 we don't really get Error in end function always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished.
v2.7.0
Minor Changes
e050230: Remove unnecessary browser check
Patch Changes
dfd9f07: Fix/multi project2fb1d8b: Remove unusedtryToBuildSchemafunction4dce442: Bumps@graphql-tools/url-loaderto the latestcross-undici-fetchversion that has pinnedundicito~5.5.0in order to fix a bug/breaking-change introduced with[email protected]that causes aGET/HEAD requests cannot have 'body'error. https://github.com/ardatan/graphql-tools/pull/4559#issue-12929158445844 for more details.
v2.6.4
Patch Changes
92f7142: Revert "Upgrade latest version"
v2.6.3
Patch Changes
v2.6.2
Patch Changes
1e3d37a: resolve local presets
v2.6.1
Patch Changes
v2.6.0
Minor Changes
35566a0: Use os.cpus to calculate concurrency limitacc62e5: fix(deps): remove unnecessarydotenvmain dependency35566a0: Async File System
v2.5.0
Minor Changes
754a337: Performance Profiler --profile
Patch Changes
f13d355: #5064 Display detailed errors from CLIbe7cb3a: Performance work: resolvers plugins, documents loading- Updated dependencies [
754a337]
v2.4.0
Minor Changes
4c42e2a: Performance optimizations in schema and documents loading (shared promises)
v2.3.1
Patch Changes
dotansimha/graphql-code-generator (@graphql-codegen/typed-document-node)
v2.3.2
Patch Changes
23862e7: fix(naming-convention): revert and pin change-case-all dependency for workaround #3256- Updated dependencies [
23862e7]
v2.3.1
Patch Changes
29b75b1: enhance(namingConvention): use change-case-all instead of individual packages for naming convention- Updated dependencies [
e947f8e] - Updated dependencies [
29b75b1] - Updated dependencies [
d4942d0] - Updated dependencies [
1f6f3db] - Updated dependencies [
29b75b1]
v2.3.0
Minor Changes
b029240: Add additionalDI config for add custom dependency injections
Patch Changes
- Updated dependencies [
63be0f4] - Updated dependencies [
190482a] - Updated dependencies [
4444348] - Updated dependencies [
142b32b] - Updated dependencies [
42213fa]
v2.2.14
Patch Changes
v2.2.13
Patch Changes
- Updated dependencies [
d16beba]
v2.2.12
Patch Changes
- Updated dependencies [
c3d7b72]
v2.2.11
Patch Changes
- Updated dependencies [
f1fb77b]
v2.2.10
Patch Changes
- Updated dependencies [
9a5f31c]
v2.2.9
Patch Changes
- Updated dependencies [
2966686]
v2.2.8
Patch Changes
- Updated dependencies [
337fd4f]
v2.2.7
Patch Changes
- Updated dependencies [
54718c0]
v2.2.6
Patch Changes
- Updated dependencies [
11d05e3]
v2.2.5
Patch Changes
- Updated dependencies [
fd55e20]
v2.2.4
Patch Changes
- Updated dependencies [
1479233]
v2.2.3
Patch Changes
- Updated dependencies [
c8ef37a] - Updated dependencies [
754a337] - Updated dependencies [
bef4376] - Updated dependencies [
be7cb3a]
v2.2.2
Patch Changes
v2.2.1
Patch Changes
dotansimha/graphql-code-generator (@graphql-codegen/typescript)
v2.7.2
Patch Changes
- Updated dependencies [
2cbcbb3]
v2.7.1
Patch Changes
- Updated dependencies [
525ad58]
v2.7.0
Minor Changes
-
d84afec: Support TypeScript ESM modules ("module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [
68bb30e] - Updated dependencies [
d84afec] - Updated dependencies [
a4fe500] - Updated dependencies [
8e44df5]
v2.6.0
Minor Changes
aa1e6ea: Add @Deprecated support for input
Patch Changes
8b10f22: Ensure falsy enum values are still mapped- Updated dependencies [
aa1e6ea] - Updated dependencies [
a42fcbf] - Updated dependencies [
8b10f22]
v2.5.1
Patch Changes
- Updated dependencies [
d16beba]
v2.5.0
Minor Changes
c3d7b72: support the@oneOfdirective on input types.
Patch Changes
- Updated dependencies [
c3d7b72]
v2.4.11
Patch Changes
- Updated dependencies [
f1fb77b]
v2.4.10
Patch Changes
v2.4.9
Patch Changes
- Updated dependencies [
2966686]
v2.4.8
Patch Changes
- Updated dependencies [
337fd4f]
v2.4.7
Patch Changes
54718c0: Improve @Deprecated Enum Type developer experience- Updated dependencies [
54718c0]
v2.4.6
Patch Changes
- Updated dependencies [
11d05e3]
v2.4.5
Patch Changes
- Updated dependencies [
fd55e20]
v2.4.4
Patch Changes
- Updated dependencies [
1479233]
v2.4.3
Patch Changes
- Updated dependencies [
c8ef37a] - Updated dependencies [
754a337] - Updated dependencies [
bef4376] - Updated dependencies [
be7cb3a]
v2.4.2
Patch Changes
v2.4.1
Patch Changes
- Updated dependencies [
f1fb77b]
dotansimha/graphql-code-generator (@graphql-codegen/typescript-operations)
v2.5.2
Patch Changes
- Updated dependencies [
2cbcbb3]
v2.5.1
Patch Changes
- Updated dependencies [
525ad58]
v2.5.0
Minor Changes
-
d84afec: Support TypeScript ESM modules ("module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [
68bb30e] - Updated dependencies [
d84afec] - Updated dependencies [
a4fe500] - Updated dependencies [
8e44df5]
v2.4.3
Patch Changes
v2.4.2
Patch Changes
- Updated dependencies [
d16beba]
v2.4.1
Patch Changes
- Updated dependencies [
c3d7b72]
v2.4.0
Minor Changes
f1fb77b: feat: Add option to squash exactly similar fragment types
Patch Changes
- Updated dependencies [
f1fb77b]
v2.3.7
Patch Changes
- Updated dependencies [
9a5f31c]
v2.3.6
Patch Changes
9312920: Import type definitions of dependent fragments wheninlineFragmentTypeismask2966686: Generate $fragmentName for fragment subtypes for fragment masking- Updated dependencies [
2966686]
v2.3.5
Patch Changes
- Updated dependencies [
337fd4f]
v2.3.4
Patch Changes
- Updated dependencies [
54718c0]
v2.3.3
Patch Changes
- Updated dependencies [
11d05e3]
v2.3.2
Patch Changes
fd55e20: fix incorrect type generation when using the inlineFragmentTypes 'combine' option that resulted in generating masked fragment output.- Updated dependencies [
fd55e20]
v2.3.1
Patch Changes
- Updated dependencies [
1479233]
v2.3.0
Minor Changes
4d413b1: feat: Support including fragments when using flattenGeneratedTypes in typescript-operations
v2.2.4
Patch Changes
- Updated dependencies [
c8ef37a] - Updated dependencies [
754a337] - Updated dependencies [
bef4376] - Updated dependencies [
be7cb3a]
v2.2.3
Patch Changes
7649201: Remove redundant mandatory 'undefined' on avoidOptionals=true
v2.2.2
Patch Changes
v2.2.1
[Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/[email protected]...@graphql-codegen/[email protected]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.