This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli)) | [`7.4.6` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fcli/7.4.6/8.0.0) |  |  | | [@graphql-codegen/fragment-matcher](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/fragment-matcher)) | [`7.1.1` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ffragment-matcher/7.1.1/8.0.0) |  |  | | [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript)) | [`6.1.2` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript/6.1.2/7.0.0) |  |  | | [@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.2.0` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript-operations/6.2.0/7.0.0) |  |  | --- ### Release Notes <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/cli)</summary> ### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/graphql-codegen-cli/CHANGELOG.md#800) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/cli@7.4.6...@graphql-codegen/cli@8.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - `generate()` now returns `Promise<FileOutput[] | void>` instead of `Promise<FileOutput[] | any>`. The result is no longer `any`, so consumers using the result as an array must narrow it first. Refs [#​11071](https://github.com/dotansimha/graphql-code-generator/issues/11071) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports. When `importExtension` is not set, no extension is appended. `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use `importExtension ?? ''` instead. Migration: ```diff const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', }; ``` - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: `@graphql-tools/*` dependencies are updated to their latest majors, which require Node.js 22.18.0 or later and GraphQL 16 or 17. If you import `@graphql-tools/*` packages in your own code, update them to the same majors to avoid duplicate installs. `@graphql-tools/code-file-loader@9` now extracts `#graphql`-marked template literals by default, so code files that contain such templates can produce newly found documents; check your generated output after upgrading. To keep the previous behavior, set `pluckConfig: { gqlHashComment: '' }`. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE - `config.generates` no longer takes `ConfiguredPlugin[]`, takes `ConfiguredOutput[]` instead `config.generates`'s previous typing allowed a value to be an array e.g. ``` generates: { "src/gql/generated.ts": [{ typescript: {} }] } ``` However, this never worked because this config is eventually passed into `normalizeOutputParam` which previously had this bug in the implementation: ```ts export function normalizeOutputParam(config) { // 0. When config is an array... if (isOutputConfigArray(config)) { // 1. `isOutputConfigArray(config)` was `Array.isArray(config)` -> returns true return { documents: [], schema: [], plugins: isConfiguredOutput(config) ? config.plugins : config // 2. ‼️ `isConfiguredOutput(config)` was `typeof config === 'object'` -> returns true. This is a bug because we are accessing `plugins` property of an array, which will ALWAYS be `undefined` -> the output is always rejected as "Invalid Codegen Configuration" } } if (isConfiguredOutput(config)) { return config } throw new Error(`Invalid "generates" config!`) } ``` Now, an array is still accepted, but as `ConfiguredOutput[]` instead. For this major version release, only the first array element is used, and `@graphql-codegen/cli` logs a warning when there is more than one element. `normalizeOutputParam` now returns `ConfiguredOutput[]` instead of a single `ConfiguredOutput`. `@graphql-codegen/cli` also throws its "Invalid Codegen Configuration" error when a `generates` array is empty or its first element is not a config object. This error is now a single generic message, no longer naming the output file, and it shows a TypeScript `CodegenConfig` example with the `ConfiguredOutput` shape instead of the old YAML plugin-list example. ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2) (from `^8.0.38`, in `dependencies`) - Updated dependency [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3) (from `^8.1.41`, in `dependencies`) - Updated dependency [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3) (from `^8.0.44`, in `dependencies`) - Updated dependency [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3) (from `^9.1.11`, in `dependencies`) - Updated dependency [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2) (from `^8.1.22`, in `dependencies`) - Updated dependency [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2) (from `^8.0.36`, in `dependencies`) - Updated dependency [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2) (from `^8.1.19`, in `dependencies`) - Updated dependency [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2) (from `^9.2.6`, in `dependencies`) - Updated dependency [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2) (from `^9.1.12`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2) (from `^12.0.3`, in `dependencies`) - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2) (from `^8.0.38`, in `dependencies`) - Updated dependency [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3) (from `^8.1.41`, in `dependencies`) - Updated dependency [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3) (from `^8.0.44`, in `dependencies`) - Updated dependency [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3) (from `^9.1.11`, in `dependencies`) - Updated dependency [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2) (from `^8.1.22`, in `dependencies`) - Updated dependency [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2) (from `^8.0.36`, in `dependencies`) - Updated dependency [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2) (from `^8.1.19`, in `dependencies`) - Updated dependency [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2) (from `^9.2.6`, in `dependencies`) - Updated dependency [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2) (from `^9.1.12`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2) (from `^12.0.3`, in `dependencies`) - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from `^5.1.8`, in `dependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`7366c63`](https://github.com/dotansimha/graphql-code-generator/commit/7366c63b4fca59951f15d017bb939c5460ba2451), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/client-preset](https://github.com/graphql-codegen/client-preset)@7.0.0 - [@​graphql-codegen/core](https://github.com/graphql-codegen/core)@7.0.0 - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 </details> <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/fragment-matcher)</summary> ### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/other/fragment-matcher/CHANGELOG.md#800) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: A plugin's `validate` function now receives an info object as its fourth argument, matching the `plugin` function: `validate(schema, documents, config, { outputFile, allPlugins, pluginContext })`. Custom plugins that export `validate` and read `outputFile`, `allPlugins` or `pluginContext` as positional arguments must destructure them from the fourth argument instead. Refs [#​11071](https://github.com/dotansimha/graphql-code-generator/issues/11071) ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 </details> <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/typescript)</summary> ### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typescript/CHANGELOG.md#700) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript@6.1.2...@graphql-codegen/typescript@7.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 - [@​graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0 - [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0 </details> <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/typescript-operations)</summary> ### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/operations/CHANGELOG.md#700) [Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript-operations@6.2.0...@graphql-codegen/typescript-operations@7.0.0) ##### Major Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql` to version 16 or 17 before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below 22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this version. - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports. When `importExtension` is not set, no extension is appended. `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use `importExtension ?? ''` instead. Migration: ```diff const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', }; ``` ##### Minor Changes - [#​11103](https://github.com/dotansimha/graphql-code-generator/pull/11103) [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264) Thanks [@​jerelmiller](https://github.com/jerelmiller)! - Add support for graphql v17 fragment arguments (`experimentalFragmentArguments`). To use fragment arguments, set the parser option in the root `config`: ```ts const config: CodegenConfig = { config: { experimentalFragmentArguments: true } // ... } ``` ##### Patch Changes - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - [#​11075](https://github.com/dotansimha/graphql-code-generator/pull/11075) [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d) Thanks [@​eddeee888](https://github.com/eddeee888)! - dependencies updates: - Updated dependency [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from `^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`) - Updated dependencies \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d), [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]: - [@​graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0 - [@​graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0 - [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0 </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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](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:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjEuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: Joakim Olsson <joakim@unbound.se> Reviewed-on: https://gitea.unbound.se/dancefinder/dancefinder-app/pulls/3144 Co-authored-by: Renovate Bot <renovate@unbound.se>
37 lines
655 B
Vue
37 lines
655 B
Vue
<template>
|
|
<div>
|
|
<v-row v-for="event in events" :key="event.id">
|
|
<v-col cols="12">
|
|
<event-card
|
|
:event="event"
|
|
:has-user="hasUser"
|
|
:toggle-ignore="toggleIgnore"
|
|
/>
|
|
</v-col>
|
|
</v-row>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang='ts'>
|
|
import type { PropType } from 'vue'
|
|
|
|
import type { Event } from '~~/graphql/generated/schema'
|
|
|
|
import EventCard from './event-card.vue'
|
|
|
|
defineProps({
|
|
hasUser: {
|
|
type: Boolean,
|
|
required: true,
|
|
},
|
|
toggleIgnore: {
|
|
type: Function,
|
|
required: true,
|
|
},
|
|
events: {
|
|
type: Array as PropType<Event[]>,
|
|
required: true,
|
|
},
|
|
})
|
|
</script>
|