Skip to content

docs(cli): Cover set-commits --auto, releases new, and the 4.0.x directive bug in the v3 guide - #2931

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
docs/migrating-v3-gaps
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
docs/migrating-v3-gaps

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

The v3 migration guide misses four things that v3 users hit:

  • release set-commits --auto: v3 fell back to local git history when the org had no repositories or none matched. v4's explicit --auto fails instead; only the no-flag default falls back. The "Command-specific flags" caution now says so, with the workarounds (drop --auto, --local, or --commit owner/repo@sha) and a note that auto: true in the library behaves the same.
  • releases new / releases propose-version: the guide's v4 example used release new and only mentioned propose-version in passing. The group table now maps releases new → release create and releases propose-version → release propose-version, and the text says the plural forms fail (sentry releases new 1.0.0 exits 252, sentry releases propose-version exits 21).
  • 4.0.x directive bug: 4.0.0 and 4.0.1 put the debug ID snippet above "use strict"/"use client"/"use server" (fixed in 4.1.0 by fix(cli): keep directives first during sourcemap injection #2904). The Sourcemaps section now tells 4.0.x users to upgrade, rebuild, and inject again.
  • get-cli sentry-cli: the "Where v3 was published" note now says the install script also writes a sentry-cli that prints the rename message and exits 1, from 4.3.0 (feat(cli): Add a sentry-cli that says it is now sentry to the installer #2930).

Before:

# v4
sentry release new 1.0.0

After:

# v4
sentry release create 1.0.0
sentry release propose-version

The telemetry paragraph is left alone; another PR changes it.

via @BYK.

--

View Session [Sentry]

…ctive bug in the v3 guide

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from BYK December 5, 2026 08:13
@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Dec 5, 2026 8:13am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Dec 5, 2026 8:13am UTC

Request Review

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — 55f09fb8 Deployed Dec 5, 2026 by vercel[bot]
Preview – sentry-local — 55f09fb8 Deployed Dec 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant