tag:github.com,2008:https://github.com/dotansimha/graphql-code-generator/releases Release notes from graphql-code-generator 2026-06-24T14:03:06Z tag:github.com,2008:Repository/75657790/release-1782309865227 2026-06-24T14:04:25Z June 24, 2026 <h2>@graphql-codegen/visitor-plugin-common@7.1.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10839" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10839/hovercard">#10839</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/8a65a1b403e92eedf73c9b1bce8262a4dbc7df8f"><code>8a65a1b</code></a><br> Thanks <a href="https://github.com/vkbansal-rubrik">@vkbansal-rubrik</a>! - handles conditional spread of a<br> fragment whose top-level selections are fragment spreads or contain inline fragments</li> </ul> <h2>@graphql-codegen/typescript-operations@6.0.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10839" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10839/hovercard">#10839</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/8a65a1b403e92eedf73c9b1bce8262a4dbc7df8f"><code>8a65a1b</code></a><br> Thanks <a href="https://github.com/vkbansal-rubrik">@vkbansal-rubrik</a>! - handles conditional spread of a<br> fragment whose top-level selections are fragment spreads or contain inline fragments</li> <li>Updated dependencies<br> [<a href="https://github.com/dotansimha/graphql-code-generator/commit/8a65a1b403e92eedf73c9b1bce8262a4dbc7df8f"><code>8a65a1b</code></a>]: <ul> <li>@graphql-codegen/visitor-plugin-common@7.1.2</li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/75657790/@graphql-codegen/visitor-plugin-common@7.1.2 2026-06-24T14:04:23Z @graphql-codegen/visitor-plugin-common@7.1.2 <p>@graphql-codegen/visitor-plugin-common@7.1.2</p> github-actions[bot] tag:github.com,2008:Repository/75657790/@graphql-codegen/typescript-operations@6.0.5 2026-06-24T14:04:23Z @graphql-codegen/typescript-operations@6.0.5 <p>@graphql-codegen/typescript-operations@6.0.5</p> github-actions[bot] tag:github.com,2008:Repository/75657790/release-1781791092646 2026-06-18T13:58:13Z June 18, 2026 <h2>@graphql-codegen/visitor-plugin-common@7.1.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10874" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10874/hovercard">#10874</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/6d37a7decd660fc908f0e2ac7e34df67a809e050"><code>6d37a7d</code></a><br> Thanks <a href="https://github.com/eddeee888">@eddeee888</a>! - Fix _fragments to be protected instead of<br> private</li> </ul> github-actions[bot] tag:github.com,2008:Repository/75657790/@graphql-codegen/visitor-plugin-common@7.1.1 2026-06-18T13:58:11Z @graphql-codegen/visitor-plugin-common@7.1.1 <p>@graphql-codegen/visitor-plugin-common@7.1.1</p> github-actions[bot] tag:github.com,2008:Repository/75657790/release-1781617333413 2026-06-16T13:42:14Z June 16, 2026 <h2>@graphql-codegen/cli@7.1.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/dotansimha/graphql-code-generator/pull/10335" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10335/hovercard">#10335</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/3280ace4505dcadf5398b6cbf157a8c8d7a713c2"><code>3280ace</code></a><br> Thanks <a href="https://github.com/Diluka">@Diluka</a>! - Fix graphql-config loading order to correctly<br> detect codegen projects</p> <p>Previously, a <code>graphql-config</code> file like this failed:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projects: default: schema: 'default/schema.graphql' project1: schema: 'project1/schema.graphql' extensions: codegen: generates: 'project1/__generated__/types.ts': plugins: ['typescript']"><pre><span class="pl-ent">projects</span>: <span class="pl-ent">default</span>: <span class="pl-ent">schema</span>: <span class="pl-s"><span class="pl-pds">'</span>default/schema.graphql<span class="pl-pds">'</span></span> <span class="pl-ent">project1</span>: <span class="pl-ent">schema</span>: <span class="pl-s"><span class="pl-pds">'</span>project1/schema.graphql<span class="pl-pds">'</span></span> <span class="pl-ent">extensions</span>: <span class="pl-ent">codegen</span>: <span class="pl-ent">generates</span>: <span class="pl-s"><span class="pl-pds">'</span><span class="pl-ent">project1/__generated__/types.ts</span><span class="pl-pds">'</span></span>: <span class="pl-ent">plugins</span>: <span class="pl-s">['typescript']</span></pre></div> <p>This is because the <code>default</code> project doesn't have a <code>codegen</code> extension, which caused previous<br> logic to short circuit before reading <code>project1</code>'s config.</p> <p>The fix reads every named project first, before reading the <code>default</code> project to exhaustively go<br> through every single project.</p> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/75657790/@graphql-codegen/cli@7.1.3 2026-06-16T13:42:11Z @graphql-codegen/cli@7.1.3 <p>@graphql-codegen/cli@7.1.3</p> github-actions[bot] tag:github.com,2008:Repository/75657790/release-1781533822235 2026-06-15T14:30:22Z June 15, 2026 <h2>@graphql-codegen/typescript-operations@6.0.4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10806" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10806/hovercard">#10806</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/16b95293c36046ed9328bab629c9a2baf4430f5f"><code>16b9529</code></a><br> Thanks <a href="https://github.com/vinassefranche">@vinassefranche</a>! - Fix Array used instead of<br> ReadonlyArray while immutableTypes config is true</li> </ul> github-actions[bot] tag:github.com,2008:Repository/75657790/@graphql-codegen/typescript-operations@6.0.4 2026-06-15T14:30:20Z @graphql-codegen/typescript-operations@6.0.4 <p>@graphql-codegen/typescript-operations@6.0.4</p> github-actions[bot] tag:github.com,2008:Repository/75657790/release-1780327728760 2026-06-01T15:28:49Z June 01, 2026 <h2>@graphql-codegen/visitor-plugin-common@7.1.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10863" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10863/hovercard">#10863</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/8707247857ecd77aaed6930b9eb6985323350932"><code>8707247</code></a><br> Thanks <a href="https://github.com/eddeee888">@eddeee888</a>! - Create <code>typedDocumentString</code> to support<br> <code>TypedDocumentString</code> usage (common in Client-side plugins when documentMode=string)</li> </ul> <h2>@graphql-codegen/typed-document-node@7.0.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/dotansimha/graphql-code-generator/pull/10863" data-hovercard-type="pull_request" data-hovercard-url="/dotansimha/graphql-code-generator/pull/10863/hovercard">#10863</a><br> <a href="https://github.com/dotansimha/graphql-code-generator/commit/8707247857ecd77aaed6930b9eb6985323350932"><code>8707247</code></a><br> Thanks <a href="https://github.com/eddeee888">@eddeee888</a>! - Use <code>typedDocumentString</code> from<br> @graphql-codegen/visitor-plugin-common instead of the inlined version</li> <li>Updated dependencies<br> [<a href="https://github.com/dotansimha/graphql-code-generator/commit/8707247857ecd77aaed6930b9eb6985323350932"><code>8707247</code></a>]: <ul> <li>@graphql-codegen/visitor-plugin-common@7.1.0</li> </ul> </li> </ul> github-actions[bot]