Skip to content
Source
Sign inSign up
TanStack/router

chore(pnpm): update pnpm to v12 #8612

OpenLadyBluenotes(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromchore/pnpm-12opened

Draft to show what a pnpm 12 upgrade looks like. Not ready to merge.

Changes

  • packageManager: pnpm@11.21.0 → pnpm@12.9.1
  • engines.pnpm: >=11.21.0 → >=12.9.1
  • pnpm-lock.yaml: pnpm 12 adds a packageManagerDependencies document that records the integrity of its 14 platform binaries. The dependency document is byte-identical.

Size

pnpm-lock.yamlBytesLines
Before1,728,00246,636
After1,732,56246,794
Difference+4,560+158

No change to emitted JavaScript: resolved dependency versions are unchanged.

The pnpm 12.0.0 release notes describe smaller lockfiles from the new peer resolution. This lockfile was not re-resolved, so that saving is not measured here.

Checks (local)

  • pnpm install --no-frozen-lockfile with pnpm 12.9.1 completes. The installed lockfile matches the tracked dependency document.
  • pnpm nx run @tanstack/router-core:test:unit on Node 24.12.0: 139 files, 3,627 tests pass.
  • Breaking changes in the 12.0.0 release notes: no --frozen-lockfile false usage, no SSH git URLs in the lockfile, and pnpm-workspace.yaml loads without ERR_PNPM_UNRECOGNIZED_WORKSPACE_SETTINGS.

Open risk

The workflows pin TanStack/config/.github/setup@e4b48f1, which uses pnpm/action-setup v6.0.7. The pnpm/action-setup release notes first list pnpm 12 support in v6.1.0. CI on this PR shows whether Setup pnpm works with the current pin.

    1. ⚠️ No Changeset found

      Latest commit: 72a456e33f98373a020631e5fe16efd1edd37b5d

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. Important

      Draft PR not reviewed

      Draft PRs are not automatically reviewed by default.

      • Trigger a manual review

      To automatically review draft PRs, update your CodeRabbit configuration:

      reviews:
        auto_review:
          drafts: true
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    3. View your CI Pipeline Execution ↗ for commit 72a456e33f98373a020631e5fe16efd1edd37b5d

      CommandStatusDurationResult
      nx run-many --target=build --exclude=examples/*...✅ Succeeded1m 46sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-24 18:53:58 UTC

    4. 🚀 Changeset Version Preview

      No changeset entries found. Merging this PR will not cause a version bump for any packages.

    5. More templates

      @tanstack/arktype-adapter

      npm i https://pkg.pr.new/@tanstack/arktype-adapter@8612

      @tanstack/eslint-plugin-router

      npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@8612

      @tanstack/eslint-plugin-start

      npm i https://pkg.pr.new/@tanstack/eslint-plugin-start@8612

      @tanstack/history

      npm i https://pkg.pr.new/@tanstack/history@8612

      @tanstack/react-router

      npm i https://pkg.pr.new/@tanstack/react-router@8612

      @tanstack/react-router-devtools

      npm i https://pkg.pr.new/@tanstack/react-router-devtools@8612

      @tanstack/react-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@8612

      @tanstack/react-start

      npm i https://pkg.pr.new/@tanstack/react-start@8612

      @tanstack/react-start-client

      npm i https://pkg.pr.new/@tanstack/react-start-client@8612

      @tanstack/react-start-rsc

      npm i https://pkg.pr.new/@tanstack/react-start-rsc@8612

      @tanstack/react-start-server

      npm i https://pkg.pr.new/@tanstack/react-start-server@8612

      @tanstack/router-cli

      npm i https://pkg.pr.new/@tanstack/router-cli@8612

      @tanstack/router-core

      npm i https://pkg.pr.new/@tanstack/router-core@8612

      @tanstack/router-devtools

      npm i https://pkg.pr.new/@tanstack/router-devtools@8612

      @tanstack/router-devtools-core

      npm i https://pkg.pr.new/@tanstack/router-devtools-core@8612

      @tanstack/router-generator

      npm i https://pkg.pr.new/@tanstack/router-generator@8612

      @tanstack/router-plugin

      npm i https://pkg.pr.new/@tanstack/router-plugin@8612

      @tanstack/router-ssr-query-core

      npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@8612

      @tanstack/router-utils

      npm i https://pkg.pr.new/@tanstack/router-utils@8612

      @tanstack/router-vite-plugin

      npm i https://pkg.pr.new/@tanstack/router-vite-plugin@8612

      @tanstack/solid-router

      npm i https://pkg.pr.new/@tanstack/solid-router@8612

      @tanstack/solid-router-devtools

      npm i https://pkg.pr.new/@tanstack/solid-router-devtools@8612

      @tanstack/solid-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@8612

      @tanstack/solid-start

      npm i https://pkg.pr.new/@tanstack/solid-start@8612

      @tanstack/solid-start-client

      npm i https://pkg.pr.new/@tanstack/solid-start-client@8612

      @tanstack/solid-start-server

      npm i https://pkg.pr.new/@tanstack/solid-start-server@8612

      @tanstack/start-client-core

      npm i https://pkg.pr.new/@tanstack/start-client-core@8612

      @tanstack/start-fn-stubs

      npm i https://pkg.pr.new/@tanstack/start-fn-stubs@8612

      @tanstack/start-plugin-core

      npm i https://pkg.pr.new/@tanstack/start-plugin-core@8612

      @tanstack/start-server-core

      npm i https://pkg.pr.new/@tanstack/start-server-core@8612

      @tanstack/start-static-server-functions

      npm i https://pkg.pr.new/@tanstack/start-static-server-functions@8612

      @tanstack/start-storage-context

      npm i https://pkg.pr.new/@tanstack/start-storage-context@8612

      @tanstack/valibot-adapter

      npm i https://pkg.pr.new/@tanstack/valibot-adapter@8612

      @tanstack/virtual-file-routes

      npm i https://pkg.pr.new/@tanstack/virtual-file-routes@8612

      @tanstack/vue-router

      npm i https://pkg.pr.new/@tanstack/vue-router@8612

      @tanstack/vue-router-devtools

      npm i https://pkg.pr.new/@tanstack/vue-router-devtools@8612

      @tanstack/vue-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@8612

      @tanstack/vue-start

      npm i https://pkg.pr.new/@tanstack/vue-start@8612

      @tanstack/vue-start-client

      npm i https://pkg.pr.new/@tanstack/vue-start-client@8612

      @tanstack/vue-start-server

      npm i https://pkg.pr.new/@tanstack/vue-start-server@8612

      @tanstack/zod-adapter

      npm i https://pkg.pr.new/@tanstack/zod-adapter@8612

      commit: 72a456e

Sign in to join this conversation.