Releases: getsentry/sentry-react-native
Releases · getsentry/sentry-react-native
5.8.0
Features
-
Alpha support for Hermes JavaScript Profiling (#3057)
Profiling is disabled by default. To enable it, configure both
tracesSampleRate
andprofilesSampleRate
when initializing the SDK:Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0, _experiments: { // The sampling rate for profiling is relative to TracesSampleRate. // In this case, we'll capture profiles for 100% of transactions. profilesSampleRate: 1.0, }, });
More documentation on profiling and current limitations can be found here.
Fixes
- Warn users about multiple versions of
promise
package which can cause unexpected behavior like undefinedPromise.allSettled
(#3162) - Event is enriched with all the Android context on the JS layer and you can filter/modify all the data in the
beforeSend
callback similarly to iOS. (#3170)
Dependencies
5.7.1
5.7.0
5.6.0
Features
- Overwrite Expo bundle names in stack frames (#3115)
- This enables source maps to resolve correctly without using
sentry-expo
package
- This enables source maps to resolve correctly without using
Fixes
- Disable
enableNative
if Native SDK is not available (#3099) - Dynamically resolve
collectModulesScript
path to support monorepos (#3092) - Native wrapper methods don't throw disabled error after re-initializing (#3093)
Dependencies
5.5.0
5.4.2
4.15.2
5.4.1
4.15.1
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)