Releases: getsentry/sentry-react-native
6.21.0 (Stable)
Important Changes
- fix(browser): Ensure IP address is only inferred by Relay if
sendDefaultPiiistrue(#5092)
This release includes a fix for a behaviour change
that was originally introduced with v9 of the JavaScript SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.
However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
To avoid making a major bump, the fix was patched on the current version and not by bumping to V10.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set sendDefaultPii: true in your Sentry.init options.
We apologize for any inconvenience caused!
Fixes
- Fix Expo prebuild failed on cached builds (#5098)
- Remove the warning that used to indicate that Time To Initial Display and Time To Full Display are not supported (#5081)
Dependencies
7.0.0-rc.2
Important Changes
- Ensure IP address is only inferred by Relay if
sendDefaultPiiistrue(#5111)
This release includes a fix for a behaviour change
that was originally introduced with v9 of the JavaScript SDK included in v7.0.0-beta.0: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.
We apologize for any inconvenience caused!
Features
- Logs now contains more attributes like release, os and device information (#5032)
Dependencies
6.20.0 (Stable)
7.0.0-rc.1
See 7.0.0 beta changelogs for a complete list of changes.
6.19.0
Fixes
- Warnings when .env.sentry-build-plugin is not set on Sentry/CLI (#5029)
- Fix for
sentry-clipath discovery not working on Android (#5009) - Export
addIntegrationfrom@sentry/core(#5020)
Features
-
Adds
replaysSessionQualitySession Replay option to control replay quality and performance overhead on mobile (#5001)import * as Sentry from '@sentry/react-native'; Sentry.init({ replaysSessionSampleRate: 1.0, replaysSessionQuality: 'low', // possible values: low, medium (default), high integrations: [Sentry.mobileReplayIntegration()], });
Dependencies
6.18.1 (Stable)
Fixes
- Fixed Sentry CLI executable path resolution that was causing iOS build script failures (#5003)
6.18.0
Fixes
Dependencies
7.0.0-beta.2
Features
- Automatically detect Release name and version for Expo Web (#4967)
Changes
- Expose
featureFlagsIntegration(#4984)
Breaking changes
-
Tags formatting logic updated (#4965)
Here are the altered/unaltered types, make sure to update your UI filters and alerts.Unaltered: string, null, number, and undefined values remain unchanged.
Altered: Boolean values are now capitalized: true -> True, false -> False.
Fixes
You can use strings to filter errors or RegEx for filtering with a pattern.
example:
ignoreErrors: [
'1234', // Will filter any error message that contains 1234.
'.*1234', // Will not filter as regex, instead will filter messages that contains '.*1234"
/.*1234/, // Regex will filter any error message that ends with 1234
/.*1234.*/ // Regex will filter any error message that contains 1234.
]Dependencies
6.17.0
Features
-
Add experimental flag
enableUnhandledCPPExceptionsV2on iOS (#4975)import * as Sentry from '@sentry/react-native'; Sentry.init({ _experiments: { enableUnhandledCPPExceptionsV2: true, }, });