Skip to content

chore(deps): apply the Dependabot updates of 2026-11-15 and move to GraphQL Code Generator 8 - #968

Merged
Medformatik merged 1 commit into
mainfrom
chore/dependabot-wave-2026-11-15b
Nov 15, 2026
Merged

Medformatik merged 1 commit into
mainfrom
chore/dependabot-wave-2026-11-15b

Conversation

@Medformatik

Copy link
Copy Markdown
Collaborator

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:

  • orval 8.47.0 now types a request body whose schema has no properties as { [key: string]: never } instead of { [key: string]: unknown }. The 13 affected admin SDK files are regenerated with pnpm sdk:generate. No code outside the generated SDK uses these types, and the core and web typechecks pass.
  • The extension CLI bundles parse5 through core, and parse5 moves to 8.1.1. I compared the built bundle with main's: parse5 is the only change, so this PR adds a patch Changeset for @openmapx/extension-cli. commander 15.1.0 stays an external runtime dependency.
  • biome.json now 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:

  • The breaking change that matters is that a plugin's validate now receives outputFile inside an info object, not as the fourth argument. Each Dependabot PR moved only one package, so the CLI and the plugins disagreed, and typed-document-node failed with "The path argument must be of type string". All four packages now move together.
  • The OTP generator also uses the community @graphql-codegen/typescript-generic-sdk plugin, whose 5.x validate reads the old argument. It moves to 6.0.1, whose changelog names the v8 migration as its only breaking change. The 6.0.1 documentMode: 'string' remap does not apply, because the generator uses documentNode. 6.0.1 was published two days ago, inside the repository's 7-day cooldown. graphql-codegen-typescript-validation-schema exports no validate, so it is unaffected.
  • The other breaking changes do not apply. Both generators already run on graphql 16 or 17 and Node 24. Neither uses emitLegacyCommonJSImports or an array value in generates, and neither loads documents from code files, so the new #graphql template extraction has nothing to find. generate() now returns FileOutput[] | void, which the plain-JavaScript Entur script already handles.
  • Regenerating with the new stack leaves every committed Entur and OTP file unchanged.

Related work

Supersedes #960, #961, #962, #963, #964, #965, #966 and #967.

Verification

  • pnpm install --frozen-lockfile passes. 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 --check passes, and pnpm otp:generate produces no diff.
  • scripts/otp/codegen.test.ts passes (16/16). It failed for all five OTP profiles before typescript-generic-sdk moved to 6.
  • pnpm sdk:generate reports the API SDK families as current after regeneration.
  • The packages/core and apps/web typechecks pass, apart from apps/web's generated licences JSON, which needs a build.
  • biome ci . passes on Biome 2.6.6.
  • The extension CLI bundle was compared with main's: only the bundled parse5 differs.
  • Left to CI: the full node, web and mobile test projects, the database suites and the image builds.

Release and upgrade impact

Product impact: ordinary

Dependency updates only. The extension CLI's patch release carries the bundled parse5 8.1.1.

…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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Dependency updates and dependency maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant