#10994 1d1153b
Thanks @eddeee888! - Skip documents without a document AST
instead of throwing from concatAST when the plugin is called directly with one, and don't add an
empty import when documentNodeImport has no module. Generated output from the CLI is unchanged.
The type cache used while generating selection set types was keyed by every fragment-expanded
field path, so its keys grew exponentially with fragment nesting. Keys are now built from the
selection set as written, referencing fragment spreads by name, so they stay linear in the size of
the documents. The exported getFieldNames helper from @graphql-codegen/visitor-plugin-common,
which built those expanded paths, is removed.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@graphql-codegen/typed-document-node](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typed-document-node)) | [`7.1.0` → `7.1.1`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftyped-document-node/7.1.0/7.1.1) |  |  |
| [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations)) | [`6.1.7` → `6.1.8`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript-operations/6.1.7/6.1.8) |  |  |
---
### Release Notes
<details>
<summary>dotansimha/graphql-code-generator (@​graphql-codegen/typed-document-node)</summary>
### [`v7.1.1`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typed-document-node/CHANGELOG.md#711)
[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typed-document-node@7.1.0...@graphql-codegen/typed-document-node@7.1.1)
##### Patch Changes
- [#​10994](https://github.com/dotansimha/graphql-code-generator/pull/10994)
[`1d1153b`](https://github.com/dotansimha/graphql-code-generator/commit/1d1153b3b161fa82057d586bb5fe524e1e17efe3)
Thanks [@​eddeee888](https://github.com/eddeee888)! - Skip documents without a `document` AST
instead of throwing from `concatAST` when the plugin is called directly with one, and don't add an
empty import when `documentNodeImport` has no module. Generated output from the CLI is unchanged.
- Updated dependencies
\[[`e5361bc`](https://github.com/dotansimha/graphql-code-generator/commit/e5361bcb7ba0c21d94ead07d7b7dfc3d2b11e98c),
[`1d1153b`](https://github.com/dotansimha/graphql-code-generator/commit/1d1153b3b161fa82057d586bb5fe524e1e17efe3),
[`be69e9d`](https://github.com/dotansimha/graphql-code-generator/commit/be69e9d1a9c234061754a1922b8b961ec80a2fcb)]:
- [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@7.2.6
- [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@7.4.0
</details>
<details>
<summary>dotansimha/graphql-code-generator (@​graphql-codegen/typescript-operations)</summary>
### [`v6.1.8`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/operations/CHANGELOG.md#618)
[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript-operations@6.1.7...@graphql-codegen/typescript-operations@6.1.8)
##### Patch Changes
- [#​10982](https://github.com/dotansimha/graphql-code-generator/pull/10982)
[`e5361bc`](https://github.com/dotansimha/graphql-code-generator/commit/e5361bcb7ba0c21d94ead07d7b7dfc3d2b11e98c)
Thanks [@​eddeee888](https://github.com/eddeee888)! - Fix out-of-memory errors with deeply nested,
widely reused fragments
([#​10940](https://github.com/dotansimha/graphql-code-generator/issues/10940)).
The type cache used while generating selection set types was keyed by every fragment-expanded
field path, so its keys grew exponentially with fragment nesting. Keys are now built from the
selection set as written, referencing fragment spreads by name, so they stay linear in the size of
the documents. The exported `getFieldNames` helper from `@graphql-codegen/visitor-plugin-common`,
which built those expanded paths, is removed.
- Updated dependencies
\[[`e5361bc`](https://github.com/dotansimha/graphql-code-generator/commit/e5361bcb7ba0c21d94ead07d7b7dfc3d2b11e98c),
[`1d1153b`](https://github.com/dotansimha/graphql-code-generator/commit/1d1153b3b161fa82057d586bb5fe524e1e17efe3),
[`be69e9d`](https://github.com/dotansimha/graphql-code-generator/commit/be69e9d1a9c234061754a1922b8b961ec80a2fcb)]:
- [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@7.2.6
- [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@7.4.0
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTUuMTMiLCJ1cGRhdGVkSW5WZXIiOiI0NC4xMTUuMTMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
7.1.0→7.1.16.1.7→6.1.8Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/typed-document-node)
v7.1.1Compare Source
Patch Changes
#10994
1d1153bThanks @eddeee888! - Skip documents without a
documentASTinstead of throwing from
concatASTwhen the plugin is called directly with one, and don't add anempty import when
documentNodeImporthas no module. Generated output from the CLI is unchanged.Updated dependencies
[
e5361bc,1d1153b,be69e9d]:dotansimha/graphql-code-generator (@graphql-codegen/typescript-operations)
v6.1.8Compare Source
Patch Changes
#10982
e5361bcThanks @eddeee888! - Fix out-of-memory errors with deeply nested,
widely reused fragments
(#10940).
The type cache used while generating selection set types was keyed by every fragment-expanded
field path, so its keys grew exponentially with fragment nesting. Keys are now built from the
selection set as written, referencing fragment spreads by name, so they stay linear in the size of
the documents. The exported
getFieldNameshelper from@graphql-codegen/visitor-plugin-common,which built those expanded paths, is removed.
Updated dependencies
[
e5361bc,1d1153b,be69e9d]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.