feat(deps): bump @sentry/cli from 2.58.4 to 3.1.0#18790
feat(deps): bump @sentry/cli from 2.58.4 to 3.1.0#18790dependabot[bot] wants to merge 1 commit intodevelopfrom
Conversation
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 2.58.4 to 3.1.0. - [Release notes](https://github.com/getsentry/sentry-cli/releases) - [Changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md) - [Commits](getsentry/sentry-cli@2.58.4...3.1.0) --- updated-dependencies: - dependency-name: "@sentry/cli" dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| "@opentelemetry/semantic-conventions": "^1.37.0", | ||
| "@sentry/browser": "10.33.0", | ||
| "@sentry/cli": "^2.58.4", | ||
| "@sentry/cli": "^3.1.0", |
There was a problem hiding this comment.
Bug: The uploadSourceMaps calls in react-router and remix use live and useArtifactBundle options that were removed in @sentry/cli v3.0.0, which will cause build-time errors.
Severity: CRITICAL
🔍 Detailed Analysis
The upgrade to @sentry/cli v3.1.0 introduces breaking changes to the uploadSourceMaps API. The code in packages/react-router and packages/remix continues to pass the live: 'rejectOnError' option, which is no longer supported. Additionally, the Remix package passes useArtifactBundle, another option removed in v3.0.0. According to the library's release notes, these options were removed. Passing unsupported options to the new API will likely cause runtime errors during production builds when source maps are uploaded, preventing successful source map processing.
💡 Suggested Fix
Remove the live and useArtifactBundle properties from the options object passed to sentry.releases.uploadSourceMaps in packages/react-router/src/vite/buildEnd/handleOnBuildEnd.ts and packages/remix/scripts/createRelease.js. The new API version handles this logic internally.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: packages/react-router/package.json#L53
Potential issue: The upgrade to `@sentry/cli` v3.1.0 introduces breaking changes to the
`uploadSourceMaps` API. The code in `packages/react-router` and `packages/remix`
continues to pass the `live: 'rejectOnError'` option, which is no longer supported.
Additionally, the Remix package passes `useArtifactBundle`, another option removed in
v3.0.0. According to the library's release notes, these options were removed. Passing
unsupported options to the new API will likely cause runtime errors during production
builds when source maps are uploaded, preventing successful source map processing.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8495759
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps @sentry/cli from 2.58.4 to 3.1.0.
Release notes
Sourced from
@sentry/cli's releases.... (truncated)
Changelog
Sourced from
@sentry/cli's changelog.... (truncated)
Commits
34c9ee4release: 3.1.0372ae11fix(releases): Allow filtering by a project when listing (#3048)7570215docs(self-hosted): Expand support to ≥24.11.1 (#3070)a9b2019feat: Support missing calls with multi-project options (#3001)c9e87cfref: Assume chunk uploading support (#3064)f316566fix(releases): Serialize project IDs as integers (#3068)1662f2fbuild(npm): 🤖 Bump optional dependencies to 3.0.38fd406eMerge branch 'release/3.0.3'007ebd0release: 3.0.3dd5c711fix: Support self-signed SSL certs in macOS keychain (x86_64) (#3059)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)