cc @getsentry/team-mobile-cross-platform
SDK Changes Detected
The following PRs were merged to getsentry/sentry-react-native in the last 7 days that may affect the sentry-react-native-sdk skill:
Potential Skill Gaps
-
Breaking Change (Expo Plugin API): PR #5804 replaces the Expo config plugin's top-level environment property with a generic options object. The new API is:
{
"plugins": [["`@sentry/react-native`/expo", {
"url": "https://sentry.io/",
"project": "my-project",
"organization": "my-org",
"options": {
"dsn": "...",
"environment": "staging",
"tracesSampleRate": 1.0
}
}]]
}
The skill's Path B (Expo) Step 3 does not show the options property at all. Users who previously used environment at the top level would be using the removed API.
-
New Feature: Bare React Native builds now support SENTRY_ENVIRONMENT as a build-time environment variable. When set, it overrides the environment field in the copied sentry.options.json during iOS (sentry-xcode.sh) and Android (sentry.gradle) native builds. The skill should document this as a zero-code way to set environment in CI/CD pipelines for bare RN projects.
Skill Files to Review
skills/sentry-react-native-sdk/SKILL.md
Priority
HIGH — the Expo plugin environment top-level property was removed; the skill's Expo path needs to be updated to reflect the new options object API to avoid breaking user configurations.
Generated by SDK Skill Drift Detector · ◷
cc
@getsentry/team-mobile-cross-platformSDK Changes Detected
The following PRs were merged to
getsentry/sentry-react-nativein the last 7 days that may affect thesentry-react-native-sdkskill:Potential Skill Gaps
Breaking Change (Expo Plugin API): PR
#5804replaces the Expo config plugin's top-levelenvironmentproperty with a genericoptionsobject. The new API is:{ "plugins": [["`@sentry/react-native`/expo", { "url": "https://sentry.io/", "project": "my-project", "organization": "my-org", "options": { "dsn": "...", "environment": "staging", "tracesSampleRate": 1.0 } }]] }The skill's Path B (Expo) Step 3 does not show the
optionsproperty at all. Users who previously usedenvironmentat the top level would be using the removed API.New Feature: Bare React Native builds now support
SENTRY_ENVIRONMENTas a build-time environment variable. When set, it overrides theenvironmentfield in the copiedsentry.options.jsonduring iOS (sentry-xcode.sh) and Android (sentry.gradle) native builds. The skill should document this as a zero-code way to set environment in CI/CD pipelines for bare RN projects.Skill Files to Review
skills/sentry-react-native-sdk/SKILL.mdPriority
HIGH — the Expo plugin
environmenttop-level property was removed; the skill's Expo path needs to be updated to reflect the newoptionsobject API to avoid breaking user configurations.