docs(react-native): Recommend @sentry/expo-upload-sourcemaps for Expo source maps#17415
Open
docs(react-native): Recommend @sentry/expo-upload-sourcemaps for Expo source maps#17415
Conversation
… source maps Prefer the new scoped CLI package as the primary invocation form, with a version-gated note for users on @sentry/react-native older than 8.9.0 who should continue to use the bin bundled with the SDK. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Open
10 tasks
cleptric
approved these changes
Apr 21, 2026
Closed
11 tasks
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.
DESCRIBE YOUR PR
Updates the Expo source-maps upload guide to recommend the new scoped CLI package:
This is the long-term form of the mitigation we started in #17391. That PR routed the command through
--package=@sentry/react-nativeto take the unscoped registry name off the documented happy path; this PR switches to the dedicated scoped package@sentry/expo-upload-sourcemaps, which is shorter to type, cannot be squatted (scope-protected), and is published and owned by Sentry.An
<Alert>block retains the previousnpx --package=@sentry/react-native sentry-expo-upload-sourcemaps distform for users on@sentry/react-nativeversions older than 8.9.0, where the new package is not yet available. Both forms produce identical results.IS YOUR CHANGE URGENT?
This PR should only merge after
@sentry/expo-upload-sourcemapsis published to npm. The first release is scheduled to ship with@sentry/react-native8.9.0 via getsentry/sentry-react-native#6027. If this doc lands before the package exists on the registry, users copy-pasting the command will getnpm error 404 Not Found.PRE-MERGE CHECKLIST
@sentry/expo-upload-sourcemapsis live on npm (verify withnpm view @sentry/expo-upload-sourcemaps version)<Alert>(8.9.0) matches the actual release version of@sentry/react-nativethat introduces the package; update if the number shifts