Releases: getsentry/sentry-react-native
Releases Β· getsentry/sentry-react-native
5.4.0
Features
- Add TS 4.1 typings (#2995)
- TS 3.8 are present and work automatically with older projects
- Add CPU Info to Device Context (#2984)
Fixes
- Allow disabling native on RNNA (#2978)
- iOS Autolinking for RN 0.68 and older (#2980)
- Clean up
modules.json
when building bundles (#3008) - Only include Screenshots and View Hierarchy for iOS and Mac Catalyst builds (#3007)
- Breadcrumbs from Native SDKs are created with timestamps in seconds (#2997)
addBreadcrumb
converts converts non object data to{ value: data }
(#2997)
Dependencies
5.3.1
5.3.0
Features
- Add
enableTracing
option (#2933) - Add Tabs auto instrumentation for React Native Navigation (#2932)
- This is enabled by default, if you want to disable tabs instrumentation see the example below.
const routingInstrumentation = new Sentry.ReactNativeNavigationInstrumentation(Navigation, { enableTabsInstrumentation: false })
Fixes
- Disable HTTP Client Errors by default on all platform (#2931)
- See HttpClient for configuration details.
- Use
enableCaptureFailedRequests
to enable the feature.
Sentry.init({ enableCaptureFailedRequests: true })
Dependencies
5.2.0
5.1.1
5.1.0
5.0.0
The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and New Architecture (from RN 0.69 and above) as well as the new React Native Gradle Plugin (introduced in RN 0.71). For detailed migration guide visit our docs.
Features
- Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module (#2522)
- Add View Hierarchy to the crashed/errored events (#2708)
- Send react native js engine, turbo module, fabric flags and component stack in Event contexts (#2552)
- Sync
tags
,extra
,fingerprint
,level
,environment
andbreadcrumbs
fromsentry-cocoa
during event processing. (#2713)breadcrumb.level
valuelog
is transformed todebug
when syncing with native layers.- Remove
breadcrumb.level
valuecritical
transformation tofatal
. - Default
breadcrumb.level
isinfo
Breaking changes
- Option
enableAutoPerformanceTracking
renamed toenableAutoPerformanceTracing
- Option
enableOutOfMemoryTracking
renamed toenableWatchdogTerminationTracking
- Remove link hooks (RN 0.68 and older) (#2332)
- iOS min target 11, Android API min 21, min React Native version 0.65 (#2522, #2687)
- New ReactNativeTracingOptions (#2481)
idleTimeout
renamed toidleTimeoutMs
maxTransactionDuration
renamed tofinalTimeoutMs
touchEventBoundaryProps.labelName
property instead of defaultaccessibilityLabel
fallback (#2712)- Message event current stack trace moved from
exception
tothreads
(#2694)
Fixes
- Unreachable fallback to fetch transport if native is not available (#2695)
Dependencies
4.15.0
5.0.0-rc.1
Fixes
- React Native Error Handlers Integration doesn't crash if ErrorUtils are not available (#2808)