Skip to content
Source
Sign inSign up
TanStack/router

ci: changesets v3 & split release workflow #8051

OpenSheraff(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromchangesets-v3-split-releaseopened

split release workflow = better security https://e18e.dev/docs/publishing.html#standard-workflow

changesets v3 enables it https://changesets.dev/guide/migration

Closes https://github.com/TanStack/router/pull/7692 (a previous attempts, w/ pre-release changesets packages)

Summary by CodeRabbit

  • Release Process

    • Improved automated release handling with clearer steps for versioning, packaging, publishing, and creating release announcements.
    • Added safer, more controlled release execution across supported branches and release channels.
    • Improved build artifact handling and job-level safeguards for more reliable releases.
  • Maintenance

    • Updated release tooling and configuration to support the latest Changesets format.
    • Streamlined version updates by removing an unnecessary formatting step.
    1. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 685c4de375d9d769c836f0176dddded155be1066

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded10m 51sView ↗
      nx run-many --target=build --exclude=examples/*...✅ Succeeded1m 55sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-08-14 21:24:11 UTC

    2. github-actions[bot](GitHub profile, opens in a new tab)commented

      🚀 Changeset Version Preview

      4 package(s) bumped directly, 19 bumped as dependents.

      🟩 Patch bumps

      PackageVersionReason
      @tanstack/react-router1.170.28 → 1.170.29Changeset
      @tanstack/router-core1.171.23 → 1.171.24Changeset
      @tanstack/solid-router1.170.26 → 1.170.27Changeset
      @tanstack/vue-router1.170.25 → 1.170.26Changeset
      @tanstack/react-start1.168.45 → 1.168.46Dependent
      @tanstack/react-start-client1.168.26 → 1.168.27Dependent
      @tanstack/react-start-rsc0.1.44 → 0.1.45Dependent
      @tanstack/react-start-server1.167.33 → 1.167.34Dependent
      @tanstack/router-cli1.167.29 → 1.167.30Dependent
      @tanstack/router-generator1.167.29 → 1.167.30Dependent
      @tanstack/router-plugin1.168.31 → 1.168.32Dependent
      @tanstack/router-vite-plugin1.167.31 → 1.167.32Dependent
      @tanstack/solid-start1.168.43 → 1.168.44Dependent
      @tanstack/solid-start-client1.168.25 → 1.168.26Dependent
      @tanstack/solid-start-server1.167.32 → 1.167.33Dependent
      @tanstack/start-client-core1.170.23 → 1.170.24Dependent
      @tanstack/start-plugin-core1.171.35 → 1.171.36Dependent
      @tanstack/start-server-core1.169.27 → 1.169.28Dependent
      @tanstack/start-static-server-functions1.167.28 → 1.167.29Dependent
      @tanstack/start-storage-context1.167.25 → 1.167.26Dependent
      @tanstack/vue-start1.168.42 → 1.168.43Dependent
      @tanstack/vue-start-client1.167.28 → 1.167.29Dependent
      @tanstack/vue-start-server1.167.32 → 1.167.33Dependent
    3. socket-security[bot](GitHub profile, opens in a new tab)commented

      Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Added@​changesets/​cli@​3.0.0991007497100
      Added@​changesets/​changelog-github@​1.0.01001009596100

      View full report

    4. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Review Change Stack

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: 0651a5fc-2efe-494c-a1d4-dcb24bd46683

      📥 Commits

      Reviewing files that changed from the base of the PR and between 9df400c7262bec136d584b9e122a4c4da68339b7 and 685c4de375d9d769c836f0176dddded155be1066.

      📒 Files selected for processing (1)
      • .github/workflows/release.yml
      🚧 Files skipped from review as they are similar to previous changes (1)
      • .github/workflows/release.yml

      📝 Walkthrough

      Walkthrough

      The Changesets schema and package versions were upgraded. The release workflow now separates mode selection, versioning, packing, npm publication, and GitHub release creation with conditional jobs and scoped permissions.

      Changes

      Release pipeline modernization

      Layer / File(s)Summary
      Update Changesets tooling
      .changeset/config.json, package.json
      The Changesets schema and packages were upgraded. The changeset:version script no longer runs pnpm format.
      Select release mode and prepare packages
      .github/workflows/release.yml
      The workflow selects prerelease or latest mode, handles versioning, and packs packages through separate conditional jobs. Branch triggers and permissions were narrowed.
      Publish packages and create releases
      .github/workflows/release.yml
      The workflow publishes packed packages to npm with OIDC permissions, then creates GitHub releases in a separate dependent job.

      Estimated code review effort: 4 (Complex) | ~45 minutes

      Merge Risk: ⚪ Minimal · up to 685c4

      This PR updates the release workflow and Changesets configuration; no actionable merge-blocking risk remains based on the supplied evidence.

      Sequence Diagram(s)

      sequenceDiagram
        participant GitHubActions
        participant select-mode
        participant version
        participant pack
        participant publish
        participant npm
        participant release
        participant GitHub
        GitHubActions->>select-mode: select release mode and channel
        select-mode->>version: provide mode and channel outputs
        version->>pack: provide publish-plan artifact
        pack->>publish: provide packed-directory artifact
        publish->>npm: publish packed packages
        publish->>release: report successful publication
        release->>GitHub: create GitHub release
      🚥 Pre-merge checks | ✅ 5
      ✅ Passed checks (5 passed)
      Check nameStatusExplanation
      Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
      Title check✅ PassedThe title clearly summarizes the two main changes: upgrading to Changesets v3 and splitting the release workflow.
      Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
      Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Commit unit tests in branch `changesets-v3-split-release`

      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.
    5. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      More templates

      @tanstack/arktype-adapter

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

      @tanstack/eslint-plugin-router

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

      @tanstack/eslint-plugin-start

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

      @tanstack/history

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

      @tanstack/nitro-v2-vite-plugin

      npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@8051

      @tanstack/react-router

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

      @tanstack/react-router-devtools

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

      @tanstack/react-router-ssr-query

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

      @tanstack/react-start

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

      @tanstack/react-start-client

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

      @tanstack/react-start-rsc

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

      @tanstack/react-start-server

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

      @tanstack/router-cli

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

      @tanstack/router-core

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

      @tanstack/router-devtools

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

      @tanstack/router-devtools-core

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

      @tanstack/router-generator

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

      @tanstack/router-plugin

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

      @tanstack/router-ssr-query-core

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

      @tanstack/router-utils

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

      @tanstack/router-vite-plugin

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

      @tanstack/solid-router

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

      @tanstack/solid-router-devtools

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

      @tanstack/solid-router-ssr-query

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

      @tanstack/solid-start

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

      @tanstack/solid-start-client

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

      @tanstack/solid-start-server

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

      @tanstack/start-client-core

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

      @tanstack/start-fn-stubs

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

      @tanstack/start-plugin-core

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

      @tanstack/start-server-core

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

      @tanstack/start-static-server-functions

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

      @tanstack/start-storage-context

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

      @tanstack/valibot-adapter

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

      @tanstack/virtual-file-routes

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

      @tanstack/vue-router

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

      @tanstack/vue-router-devtools

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

      @tanstack/vue-router-ssr-query

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

      @tanstack/vue-start

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

      @tanstack/vue-start-client

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

      @tanstack/vue-start-server

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

      @tanstack/zod-adapter

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

      commit: 685c4de

    6. @@ -2,4 +2,4 @@
      22
      33 on:
      44 push:
      5- branches: [main, '*-pre', '*-maint']
      5+ # we do not support '*-maint' branches at this time

      i think it was meant for "maintenance" branches, but i'm not entirely sure

Sign in to join this conversation.