-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(expo): Dynamically resolve sentry-cli path in expo source maps u…
…pload script (#3507)
- Loading branch information
1 parent
dc8966b
commit 8d8a8a4
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
|
||
This release is compatible with `[email protected]` and newer. | ||
|
||
### Features | ||
|
||
- `withSentryExpoSerializers` changes to `getSentryExpoConfig` ([#3501](https://github.com/getsentry/sentry-react-native/pull/3501)) | ||
- `getSentryExpoConfig` accepts the same parameters as `getDefaultConfig` from `expo/metro-config` and returns Metro configuration | ||
- This also works for EAS Updates (and expo export). Debug ID is generated by `expo/metro-config` and used by Sentry. | ||
|
@@ -13,10 +15,24 @@ This release is compatible with `[email protected]` and newer. | |
const config = getSentryExpoConfig(config); | ||
``` | ||
|
||
- Add `scripts/expo-upload-sourcemaps.js` for simple EAS Update (expo export) source maps upload to Sentry ([#3491](https://github.com/getsentry/sentry-react-native/pull/3491)) | ||
|
||
```bash | ||
SENTRY_PROJECT=project-slug \ | ||
SENTRY_ORG=org-slug \ | ||
SENTRY_AUTH_TOKEN=super-secret-token \ | ||
node node_modules/@sentry/react-native/scripts/expo-upload-sourcemaps.js dist | ||
``` | ||
|
||
- Sentry CLI binary path in `scripts/expo-upload-sourcemaps.js` is resolved dynamically ([#3507](https://github.com/getsentry/sentry-react-native/pull/3507)) | ||
- Or can be overwritten by `SENTRY_CLI_EXECUTABLE` env | ||
|
||
- Resolve Default Integrations based on current platform ([#3465](https://github.com/getsentry/sentry-react-native/pull/3465)) | ||
- Native Integrations are only added if Native Module is available | ||
- Web Integrations only for React Native Web builds | ||
|
||
### Fixes | ||
|
||
- Includes fixes from version 5.15.2 | ||
|
||
## 5.15.2 | ||
|
This file contains 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