Repository navigation
chore(deps): apply the Dependabot updates of 2026-11-15 and move to GraphQL Code Generator 8 - #968
Merged
Merged
Conversation
…raphQL Code Generator 8
Apply the minor-and-patch group, Biome 2.6.6, TanStack Query 5.107.1 and MapLibre GL 6.17.0. orval 8.47 types empty request bodies as { [key: string]: never }, so the admin SDK is regenerated. The extension CLI bundles parse5 8.1.1, hence the patch Changeset.
Move the GraphQL Code Generator CLI, core, typed-document-node and typescript-operations to their new majors together: a plugin's validate now reads outputFile from an info argument, so mixing majors breaks generation. typescript-generic-sdk 6.0.1 is the OTP generator's plugin release for that interface. Generated Entur and OTP output is unchanged.
This was referenced Nov 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
This PR applies all eight Dependabot PRs from today's run (#960–#967) in one branch, so CI runs once. Four of them were red: the lockfile-only and minor bumps failed the release-information gate and the stale SDK check, and the four GraphQL Code Generator majors broke code generation because each moved only one package.
Minor and patch updates (#960, #961, #962, #963). These cover the 13-package minor-and-patch group, Biome 2.6.6, TanStack Query 5.107.1 and MapLibre GL 6.17.0, all at the versions Dependabot proposed. Two follow-ups were needed:
{ [key: string]: never }instead of{ [key: string]: unknown }. The 13 affected admin SDK files are regenerated withpnpm sdk:generate. No code outside the generated SDK uses these types, and the core and web typechecks pass.@openmapx/extension-cli. commander 15.1.0 stays an external runtime dependency.biome.jsonnow points at the 2.6.6 schema.GraphQL Code Generator 8 (#964, #965, #966, #967, major). I checked the CLI 8.0.0, core 7.0.0, typed-document-node 8.0.0 and typescript-operations 7.0.0 changelogs against both generators:
validatenow receivesoutputFileinside an info object, not as the fourth argument. Each Dependabot PR moved only one package, so the CLI and the plugins disagreed, andtyped-document-nodefailed with "Thepathargument must be of type string". All four packages now move together.@graphql-codegen/typescript-generic-sdkplugin, whose 5.xvalidatereads the old argument. It moves to 6.0.1, whose changelog names the v8 migration as its only breaking change. The 6.0.1documentMode: 'string'remap does not apply, because the generator usesdocumentNode. 6.0.1 was published two days ago, inside the repository's 7-day cooldown.graphql-codegen-typescript-validation-schemaexports novalidate, so it is unaffected.emitLegacyCommonJSImportsor an array value ingenerates, and neither loads documents from code files, so the new#graphqltemplate extraction has nothing to find.generate()now returnsFileOutput[] | void, which the plain-JavaScript Entur script already handles.Related work
Supersedes #960, #961, #962, #963, #964, #965, #966 and #967.
Verification
pnpm install --frozen-lockfilepasses. The lockfile was rebuilt from main's, so only the proposed packages and the codegen majors' new transitive dependencies change, such as graphql-tools 9 and the Babel 8 parser it brings. No existing package was re-resolved.node scripts/entur/codegen.mjs --checkpasses, andpnpm otp:generateproduces no diff.scripts/otp/codegen.test.tspasses (16/16). It failed for all five OTP profiles beforetypescript-generic-sdkmoved to 6.pnpm sdk:generatereports the API SDK families as current after regeneration.biome ci .passes on Biome 2.6.6.Release and upgrade impact
Product impact: ordinary
Dependency updates only. The extension CLI's patch release carries the bundled parse5 8.1.1.