Repository navigation
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
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
…ctive bug in the v3 guide Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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--autofails 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 thatauto: truein the library behaves the same.releases new/releases propose-version: the guide's v4 example usedrelease newand only mentionedpropose-versionin passing. The group table now mapsreleases new→release createandreleases propose-version→release propose-version, and the text says the plural forms fail (sentry releases new 1.0.0exits 252,sentry releases propose-versionexits 21)."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.sentry-cli: the "Where v3 was published" note now says the install script also writes asentry-clithat 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.0After:
# v4 sentry release create 1.0.0 sentry release propose-versionThe telemetry paragraph is left alone; another PR changes it.
via @BYK.
--
View Session [Sentry]