Skip to content
Source
Sign inSign up
TanStack/cli

chore: migrate changesets changelog generator #456

OpenSheraff(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/456/headopened

Summary

Migrate the Changesets changelog generator from the compact community package to the official GitHub changelog package.

Changes

  • Updated .changeset/config.json to use @changesets/changelog-github.
  • Preserved the existing repo option and added disableThanks: true.
  • Replaced the root dev dependency with @changesets/changelog-github at ^0.7.0.
  • Refreshed pnpm-lock.yaml with pnpm.

Notes

Future changelog entries will use the official Changesets GitHub layout instead of the compact suffix layout.

Verification

  • git grep -n "@svitejs/changesets-changelog-github-compact" returned no matches.
  • git grep -n "@changesets/changelog-github" -- .changeset/config.json package.json pnpm-lock.yaml confirmed config, root dev dependency, and lockfile entries.
  • node -e "import('@changesets/changelog-github').then((m)=>{ if (typeof m.default?.getReleaseLine !== 'function' || typeof m.default?.getDependencyReleaseLine !== 'function') throw new Error('missing changelog functions'); console.log('ok changelog exports') })" passed.
  • pnpm changeset status --since=main passed and reported no packages to be bumped.

Summary by CodeRabbit

  • Chores
    • Switched release notes to the standard GitHub changelog format from the previously configured compact format.
    • Changelog entries no longer include repository thanks for TanStack/cli.
    • Other changelog workflow settings remain unchanged. These changes affect release documentation and do not alter any public product features or behavior.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Explain Change →

      No actionable comments were generated in the recent review.

      Walkthrough

      The PR replaces the compact GitHub changelog dependency with @changesets/changelog-github. The Changesets configuration selects the new plugin, identifies the repository, and disables thanks.

      Changes: Changesets Changelog Generator Update

      Layer / File(s)Summary
      Update changelog generator package and configuration
      package.json, .changeset/config.json
      The devDependency changes to @changesets/changelog-github@^0.7.0. The Changesets configuration selects this plugin, sets repo: "TanStack/cli", and sets disableThanks: true.

      Estimated code review effort: 1 (Trivial) | ~3 minutes

      Change: Other

      Suggested reviewers: tannerlinsley

      Merge Risk: Minimal · up to 6eee0

      No actionable merge-blocking risk is established. Hosted checks and review remain outstanding.

      Pre-merge checks: Passed 5

      Check nameStatusExplanation
      Description CheckPassedCheck skipped - CodeRabbit’s high-level summary is enabled.
      Title checkPassedThe title clearly describes the migration of the Changesets changelog generator.
      Docstring CoveragePassedNo eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Full details: Docstring Coverage

      Explanation

      No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

      Finishing Touches

      Generate unit tests (beta)

      • Create a new PR
      • 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

      Recent review info

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 8eb01ba1-5082-47f0-9e69-22d2d94a114f
      Commits

      Reviewing files that changed from the base of the PR and between 6774ffbdfa8444f76ec4c14c2c862bc9f91eeb21 and 6eee0e6290ad104d92ff9ea3b91cac5bd71c0f48.

      Files ignored due to path filters: 1

      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
      Files selected for processing: 1

      • package.json

      Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

    2. 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/​changelog-github@​0.7.01001006894100

      View full report

    3. Actionable comments posted: 1

      🤖 Prompt for all review comments with AI agents
      Verify each finding against current code. Fix only still-valid issues, skip the
      rest with a brief reason, keep changes minimal, and validate.
      
      Inline comments:
      In @.changeset/config.json:
      - Around line 4-5: The config entry for "`@changesets/changelog-github`" uses the
      unsupported option "disableThanks"; update the .changeset/config.json entry to
      remove "disableThanks" or replace it with the supported "exclude" object (keys:
      "user", "pr", "commit") so suppression of "Thanks …" works with
      `@changesets/changelog-github`@0.7.0—e.g., locate the
      "`@changesets/changelog-github`" array item and either drop the disableThanks
      property or convert it into an appropriate "exclude" object.
      🪄 Autofix (Beta)

      Fix all unresolved CodeRabbit comments on this PR:

      • Push a commit to this branch (recommended)
      • Create a new PR with the fixes

      ℹ️ Review info
      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Pro

      Run ID: 7fd2ab03-acec-4c09-bded-f83b11815866

      📥 Commits

      Reviewing files that changed from the base of the PR and between efb411e4b002c1995a368e34066511afd7dba4e8 and 6774ffbdfa8444f76ec4c14c2c862bc9f91eeb21.

      ⛔ Files ignored due to path filters (1)
      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
      📒 Files selected for processing (2)
      • .changeset/config.json
      • package.json
    4. I checked the published @changesets/changelog-github@0.7.0 tarball. Both entry points honor options.disableThanks in release notes, so I would keep that option.

      Could you refresh this branch against current main and regenerate the lockfile with the repo's pinned pnpm? The current diff also changes the Changesets Node types peer from 24.6.0 to 22.15.3 and drops jsdom and Vite's lightningcss, terser, and tsx peers from the workspace test resolution. Please keep the lockfile change scoped to the changelog generator and its dependency graph. For the refreshed diff, please also run a disposable versioning dry run against a representative changeset so we can verify the rendered changelog and version bumps. The status command alone does not exercise the generator.

    5. ⚠️ No Changeset found

      Latest commit: 6eee0e6290ad104d92ff9ea3b91cac5bd71c0f48

      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

    6. Thanks for the changelog migration. The branch is now updated to main with the dependency change kept narrow, and the rendered release notes look right.

      AI review notes: Pushed 6eee0e62 through the normal commit path. The lockfile preserves existing peer resolutions and unrelated importers, adds the new generator and its two required package versions, and removes the compact generator. A clean frozen install passed. The normal ten-project build, unit gates, and all eight blocking browser cases passed locally. A disposable two-package Changesets version run verified patch bumps for the changed package and its exact-version dependent, the dependency range update, issue links, multiline notes, and suppression of thanks. It used local fixture data and made no GitHub API requests. New hosted checks and review are still required before merge.

Sign in to join this conversation.