You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(core): Introduce @sentry/expo-upload-sourcemaps package
Moves the Expo sourcemap upload script into a new scoped workspace
package @sentry/expo-upload-sourcemaps and replaces the original
scripts/expo-upload-sourcemaps.js in @sentry/react-native with a shim
that forwards to it.
The existing sentry-expo-upload-sourcemaps bin in @sentry/react-native
keeps working unchanged, so projects with the bin referenced in
package.json scripts or invoked via npx are not affected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(core): Add CHANGELOG entry for @sentry/expo-upload-sourcemaps package
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Update changelog
* docs(core): Soften CHANGELOG wording for superseded sentry-expo-upload-sourcemaps bin
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(core): Address Warden review findings in expo-upload-sourcemaps CLI
- Drop the callback passed to fs.writeFileSync. writeFileSync is
synchronous and silently discards the callback argument; the error
branch never fired and the success log never printed.
- Preserve a non-zero exit code when sentry-cli is terminated by a
signal. spawnSync returns result.status === null in that case, and
process.exit(null) coerces to 0, previously reporting success after
an aborted upload.
Both issues were inherited verbatim from the script's prior location
inside @sentry/react-native. Fixed now that the script has moved to
its own package.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(core): Use bash script for @sentry/expo-upload-sourcemaps build:tarball
Yarn 3's built-in shell errors on unmatched globs, so the inlined
"rm -f *.tgz && npm pack" fails in CI where no prior tarball exists.
Match packages/core's pattern and run through real bash via a script
file.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(core): Include @sentry/expo-upload-sourcemaps in TypeScript 3.8 type check
Yalc rewrites the workspace:* dep to 8.8.0 when publishing @sentry/react-native,
so ts3.8-test's yarn install tries to fetch @sentry/expo-upload-sourcemaps@8.8.0
from the npm registry before the package is published and fails with 404.
Publish and yalc-add the new package alongside @sentry/react-native, and pin
the transitive dep to the same local file reference via resolutions so yarn
doesn't try to resolve it from the registry.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(core): Include @sentry/expo-upload-sourcemaps in e2e sample app setup
The e2e CLI (dev-packages/e2e-tests/cli.mjs) yalc-publishes @sentry/react-native
and yalc-adds it into each matrix RN app. Yalc rewrites the workspace:* dep to
a concrete 8.8.0, so yarn install in the sample app tries to fetch
@sentry/expo-upload-sourcemaps@8.8.0 from the npm registry and 404s.
Mirror the fix applied to the TypeScript 3.8 type check: also yalc-publish the
new package, yalc-add it in the sample, and pin the transitive dep to the file
reference via resolutions so yarn does not touch the registry.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Correct copyright date
* Make rm command stricter
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@
10
10
11
11
### Features
12
12
13
+
- Add new `@sentry/expo-upload-sourcemaps` package for uploading JavaScript bundles and source maps from Expo builds to Sentry ([#6027](https://github.com/getsentry/sentry-react-native/pull/6027))
14
+
- The existing `sentry-expo-upload-sourcemaps` bin bundled with `@sentry/react-native` is superseded by the new package; it continues to work unchanged for now
13
15
- Expose scope-level attributes API (`setAttribute`, `setAttributes`, `removeAttribute`) bridging to native SDKs ([#6009](https://github.com/getsentry/sentry-react-native/pull/6009))
- Warn Expo users at Metro startup when prebuilt native projects are missing Sentry configuration ([#5984](https://github.com/getsentry/sentry-react-native/pull/5984))
0 commit comments