Requested by: @antonis
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
- Add new
@sentry/expo-upload-sourcemaps package for uploading JavaScript bundles and source maps from Expo builds to Sentry (#6027)
- 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
- Expose scope-level attributes API (
setAttribute, setAttributes, removeAttribute) bridging to native SDKs (#6009)
- Expose screenshot masking options (
screenshot.maskAllText, screenshot.maskAllImages, screenshot.maskedViewClasses, screenshot.unmaskedViewClasses) for error screenshots (#6007)
- Warn Expo users at Metro startup when prebuilt native projects are missing Sentry configuration (#5984)
- Re-export AI SDK manual instrumentation helpers (
instrumentOpenAiClient, instrumentAnthropicAiClient, instrumentGoogleGenAIClient, createLangChainCallbackHandler, instrumentLangGraph, instrumentStateGraphCompile) for use in React Native apps (#6028)
- Add
Sentry.GlobalErrorBoundary component (and withGlobalErrorBoundary HOC) that renders a fallback UI for fatal non-rendering JS errors routed through ErrorUtils in addition to the render-phase errors caught by Sentry.ErrorBoundary. Opt-in flags includeNonFatalGlobalErrors and includeUnhandledRejections extend the fallback to non-fatal errors and unhandled promise rejections respectively. (#6023)
Fixes
- Fix
@sentry/expo-upload-sourcemaps publishing issue (#6037)
- Fix iOS UI profiling options being silently ignored (#6012)
- Fix
_experiments.enableUnhandledCPPExceptionsV2 being silently ignored on iOS (#6014)
- Check
captureReplay return value in iOS bridge to avoid linking error events to uncaptured replays (#6008)
- Report the expected properties file path and any missing keys when using
flavorAware on Android, instead of failing with an opaque Illegal null value provided in this collection error (#6031)
Dependencies
- Bump JavaScript SDK from v10.48.0 to v10.49.0 (#6011)
- Bump Android SDK from v8.38.0 to v8.40.0 (#6010, #6034)
- Bump CLI from v3.3.5 to v3.4.0 (#6026)
- Bump Cocoa SDK from v9.10.0 to v9.11.0 (#6033)
Requested by: @antonis
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
@sentry/expo-upload-sourcemapspackage for uploading JavaScript bundles and source maps from Expo builds to Sentry (#6027)sentry-expo-upload-sourcemapsbin bundled with@sentry/react-nativeis superseded by the new package; it continues to work unchanged for nowsetAttribute,setAttributes,removeAttribute) bridging to native SDKs (#6009)screenshot.maskAllText,screenshot.maskAllImages,screenshot.maskedViewClasses,screenshot.unmaskedViewClasses) for error screenshots (#6007)instrumentOpenAiClient,instrumentAnthropicAiClient,instrumentGoogleGenAIClient,createLangChainCallbackHandler,instrumentLangGraph,instrumentStateGraphCompile) for use in React Native apps (#6028)Sentry.GlobalErrorBoundarycomponent (andwithGlobalErrorBoundaryHOC) that renders a fallback UI for fatal non-rendering JS errors routed throughErrorUtilsin addition to the render-phase errors caught bySentry.ErrorBoundary. Opt-in flagsincludeNonFatalGlobalErrorsandincludeUnhandledRejectionsextend the fallback to non-fatal errors and unhandled promise rejections respectively. (#6023)Fixes
@sentry/expo-upload-sourcemapspublishing issue (#6037)_experiments.enableUnhandledCPPExceptionsV2being silently ignored on iOS (#6014)captureReplayreturn value in iOS bridge to avoid linking error events to uncaptured replays (#6008)flavorAwareon Android, instead of failing with an opaqueIllegal null value provided in this collectionerror (#6031)Dependencies