@sentry/react-native 6.0.0-alpha.0 → 6.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/RNSentry.podspec +22 -15
  2. package/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java +4 -0
  3. package/android/src/newarch/java/io/sentry/react/RNSentryModule.java +5 -0
  4. package/android/src/oldarch/java/io/sentry/react/RNSentryModule.java +5 -0
  5. package/dist/js/NativeRNSentry.d.ts +1 -0
  6. package/dist/js/NativeRNSentry.d.ts.map +1 -1
  7. package/dist/js/NativeRNSentry.js.map +1 -1
  8. package/dist/js/index.d.ts +1 -1
  9. package/dist/js/index.d.ts.map +1 -1
  10. package/dist/js/index.js +1 -1
  11. package/dist/js/index.js.map +1 -1
  12. package/dist/js/integrations/default.d.ts.map +1 -1
  13. package/dist/js/integrations/default.js +4 -4
  14. package/dist/js/integrations/default.js.map +1 -1
  15. package/dist/js/integrations/exports.d.ts +2 -1
  16. package/dist/js/integrations/exports.d.ts.map +1 -1
  17. package/dist/js/integrations/exports.js +2 -1
  18. package/dist/js/integrations/exports.js.map +1 -1
  19. package/dist/js/options.d.ts +6 -2
  20. package/dist/js/options.d.ts.map +1 -1
  21. package/dist/js/options.js.map +1 -1
  22. package/dist/js/profiling/integration.js.map +1 -1
  23. package/dist/js/replay/networkUtils.d.ts +0 -1
  24. package/dist/js/replay/networkUtils.d.ts.map +1 -1
  25. package/dist/js/sdk.d.ts +4 -0
  26. package/dist/js/sdk.d.ts.map +1 -1
  27. package/dist/js/sdk.js +8 -0
  28. package/dist/js/sdk.js.map +1 -1
  29. package/dist/js/tools/metroconfig.d.ts +1 -1
  30. package/dist/js/tools/metroconfig.d.ts.map +1 -1
  31. package/dist/js/tools/metroconfig.js.map +1 -1
  32. package/dist/js/tools/sentryMetroSerializer.d.ts.map +1 -1
  33. package/dist/js/tools/sentryMetroSerializer.js +1 -0
  34. package/dist/js/tools/sentryMetroSerializer.js.map +1 -1
  35. package/dist/js/tools/utils.d.ts.map +1 -1
  36. package/dist/js/tools/utils.js +1 -1
  37. package/dist/js/tools/utils.js.map +1 -1
  38. package/dist/js/tools/vendor/metro/utils.d.ts.map +1 -1
  39. package/dist/js/tools/vendor/metro/utils.js +3 -0
  40. package/dist/js/tools/vendor/metro/utils.js.map +1 -1
  41. package/dist/js/tracing/integrations/nativeFrames.d.ts +1 -0
  42. package/dist/js/tracing/integrations/nativeFrames.d.ts.map +1 -1
  43. package/dist/js/tracing/integrations/nativeFrames.js +132 -193
  44. package/dist/js/tracing/integrations/nativeFrames.js.map +1 -1
  45. package/dist/js/tracing/reactnativetracing.js +1 -1
  46. package/dist/js/tracing/reactnativetracing.js.map +1 -1
  47. package/dist/js/tracing/reactnavigation.d.ts.map +1 -1
  48. package/dist/js/tracing/reactnavigation.js.map +1 -1
  49. package/dist/js/tracing/timetodisplaynative.types.d.ts +0 -1
  50. package/dist/js/tracing/timetodisplaynative.types.d.ts.map +1 -1
  51. package/dist/js/utils/AsyncExpiringMap.d.ts +56 -0
  52. package/dist/js/utils/AsyncExpiringMap.d.ts.map +1 -0
  53. package/dist/js/utils/AsyncExpiringMap.js +130 -0
  54. package/dist/js/utils/AsyncExpiringMap.js.map +1 -0
  55. package/dist/js/vendor/react-native/index.d.ts +0 -1
  56. package/dist/js/vendor/react-native/index.d.ts.map +1 -1
  57. package/dist/js/vendor/react-native/index.js.map +1 -1
  58. package/dist/js/version.d.ts +1 -1
  59. package/dist/js/version.js +1 -1
  60. package/dist/js/version.js.map +1 -1
  61. package/dist/js/wrapper.d.ts +1 -0
  62. package/dist/js/wrapper.d.ts.map +1 -1
  63. package/dist/js/wrapper.js +12 -0
  64. package/dist/js/wrapper.js.map +1 -1
  65. package/ios/RNSentry.mm +6 -4
  66. package/ios/RNSentryReplay.m +4 -0
  67. package/package.json +24 -26
  68. package/plugin/build/utils.js +6 -6
  69. package/plugin/build/withSentry.js +2 -2
  70. package/plugin/build/withSentryAndroid.js +2 -2
  71. package/plugin/build/withSentryIOS.js +3 -3
  72. package/src/js/NativeRNSentry.ts +1 -0
  73. package/ts3.8/dist/js/NativeRNSentry.d.ts +1 -0
  74. package/ts3.8/dist/js/index.d.ts +1 -1
  75. package/ts3.8/dist/js/integrations/exports.d.ts +2 -1
  76. package/ts3.8/dist/js/options.d.ts +6 -2
  77. package/ts3.8/dist/js/replay/networkUtils.d.ts +0 -1
  78. package/ts3.8/dist/js/sdk.d.ts +4 -0
  79. package/ts3.8/dist/js/tracing/integrations/nativeFrames.d.ts +1 -0
  80. package/ts3.8/dist/js/tracing/timetodisplaynative.types.d.ts +0 -1
  81. package/ts3.8/dist/js/utils/AsyncExpiringMap.d.ts +56 -0
  82. package/ts3.8/dist/js/vendor/react-native/index.d.ts +0 -1
  83. package/ts3.8/dist/js/version.d.ts +1 -1
  84. package/ts3.8/dist/js/wrapper.d.ts +1 -0
  85. package/CHANGELOG.md +0 -3332
  86. package/android/.gitignore +0 -302
  87. package/samples/react-native/react-native.config.js +0 -17
package/CHANGELOG.md DELETED
@@ -1,3332 +0,0 @@
1
- # Changelog
2
-
3
- ## 6.0.0-alpha.0
4
-
5
- This is an alpha version of the next major version of the Sentry React Native SDK 6.0.0.
6
- Please read the changes listed below as well as the changes made in the underlying
7
- Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascript/guides/react/migration/v7-to-v8/)).
8
-
9
- ### Changes
10
-
11
- - Removed deprecated ReactNativeTracing option `idleTimeout` use `idleTimeoutMs` instead ([#3998](https://github.com/getsentry/sentry-react-native/pull/3998))
12
- - Removed deprecated ReactNativeTracing option `maxTransactionDuration` use `finalTimeoutMs` instead ([#3998](https://github.com/getsentry/sentry-react-native/pull/3998))
13
- - Removed `beforeNavigate` use `beforeStartSpan` instead ([#3998](https://github.com/getsentry/sentry-react-native/pull/3998))
14
- - `beforeStartSpan` is executed before the span start, compared to `beforeNavigate` which was executed before the navigation ended (after the span was created)
15
- - New Native Frames Integration ([#3996](https://github.com/getsentry/sentry-react-native/pull/3996))
16
- - New Stall Tracking Integration ([#3997](https://github.com/getsentry/sentry-react-native/pull/3997))
17
- - New User Interaction Tracing Integration ([#3999](https://github.com/getsentry/sentry-react-native/pull/3999))
18
- - New App Start Integration ([#3852](https://github.com/getsentry/sentry-react-native/pull/3852))
19
-
20
- By default app start spans are attached to the first created transaction.
21
- Standalone mode creates single root span (transaction) including only app start data.
22
-
23
- ```js
24
- import Sentry from '@sentry/react-native';
25
-
26
- Sentry.init({
27
- tracesSampleRate: 1.0,
28
- enableAppStartTracking: true, // default true
29
- enableNativeFramesTracking: true, // default true
30
- enableStallTracking: true, // default true
31
- enableUserInteractionTracing: true, // default false
32
- integrations: [
33
- Sentry.reactNativeTracingIntegration({
34
- beforeStartSpan: (startSpanOptions) => {
35
- startSpanOptions.name = 'New Name';
36
- return startSpanOptions;
37
- },
38
- }),
39
- Sentry.appStartIntegration({
40
- standalone: false, // default false
41
- }),
42
- ],
43
- });
44
- ```
45
-
46
- - New React Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
47
-
48
- ```js
49
- import Sentry from '@sentry/react-native';
50
- import { NavigationContainer } from '@react-navigation/native';
51
-
52
- const reactNavigationIntegration = Sentry.reactNavigationIntegration();
53
-
54
- Sentry.init({
55
- tracesSampleRate: 1.0,
56
- integrations: [reactNavigationIntegration],
57
- });
58
-
59
- function RootComponent() {
60
- const navigation = React.useRef(null);
61
-
62
- return <NavigationContainer ref={navigation}
63
- onReady={() => {
64
- reactNavigationIntegration.registerNavigationContainer(navigation);
65
- }}>
66
- </NavigationContainer>;
67
- }
68
- ```
69
-
70
- - New React Native Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
71
-
72
- ```js
73
- import Sentry from '@sentry/react-native';
74
- import { Navigation } from 'react-native-navigation';
75
-
76
- Sentry.init({
77
- tracesSampleRate: 1.0,
78
- integrations: [
79
- Sentry.reactNativeNavigationIntegration({ navigation: Navigation })
80
- ],
81
- });
82
- ```
83
-
84
- - Add `spotlight` option ([#4023](https://github.com/getsentry/sentry-react-native/pull/4023))
85
- - Deprecating `enableSpotlight` and `spotlightSidecarUrl`
86
-
87
- ### Dependencies
88
-
89
- - Bump JavaScript SDK from v7.118.0 to v8.11.0 ([#3910](https://github.com/getsentry/sentry-react-native/pull/3910))
90
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#8110)
91
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.118.0...8.11.0)
92
-
93
- ## 5.29.0
94
-
95
- ### Features
96
-
97
- - `TimeToInitialDisplay` and `TimeToFullDisplay` start the time to display spans on mount ([#4020](https://github.com/getsentry/sentry-react-native/pull/4020))
98
-
99
- ### Fixed
100
-
101
- - fix(ttid): End and measure TTID regardless current active span ([#4019](https://github.com/getsentry/sentry-react-native/pull/4019))
102
- - Fixes possible missing TTID measurements and spans
103
- - Fix crash when passing array as data to `Sentry.addBreadcrumb({ data: [] })` ([#4021](https://github.com/getsentry/sentry-react-native/pull/4021))
104
- - The expected `data` type is plain JS object, otherwise the data might be lost.
105
- - Fix `requireNativeComponent` missing in `react-native-web` ([#3958](https://github.com/getsentry/sentry-react-native/pull/3958))
106
-
107
- ### Dependencies
108
-
109
- - Bump JavaScript SDK from v7.117.0 to v7.118.0 ([#4018](https://github.com/getsentry/sentry-react-native/pull/4018))
110
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/v7/CHANGELOG.md#71180)
111
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.117.0...7.118.0)
112
- - Bump Android SDK from v7.13.0 to v7.14.0 ([#4022](https://github.com/getsentry/sentry-react-native/pull/4022))
113
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7140)
114
- - [diff](https://github.com/getsentry/sentry-java/compare/7.13.0...7.14.0)
115
-
116
- ## 5.28.0
117
-
118
- ### Fixes
119
-
120
- - Support `metro@0.80.10` new `sourceMapString` export ([#4004](https://github.com/getsentry/sentry-react-native/pull/4004))
121
- - `Sentry.captureMessage` stack trace is in `event.exception` (moved from `event.threads`) ([#3635](https://github.com/getsentry/sentry-react-native/pull/3635), [#3988](https://github.com/getsentry/sentry-react-native/pull/3988))
122
- - To revert to the old behavior (causing the stack to be unsymbolicated) use `useThreadsForMessageStack` option
123
-
124
- ### Dependencies
125
-
126
- - Bump Cocoa SDK from v8.32.0 to v8.33.0 ([#4007](https://github.com/getsentry/sentry-react-native/pull/4007))
127
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8330)
128
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.32.0...8.33.0)
129
-
130
- ## 5.27.0
131
-
132
- ### Fixes
133
-
134
- - Pass `sampleRate` option to the Android SDK ([#3979](https://github.com/getsentry/sentry-react-native/pull/3979))
135
- - Drop app start data older than one minute ([#3974](https://github.com/getsentry/sentry-react-native/pull/3974))
136
- - Use `Platform.constants.reactNativeVersion` instead of `react-native` internal export ([#3949](https://github.com/getsentry/sentry-react-native/pull/3949))
137
-
138
- ### Dependencies
139
-
140
- - Bump Android SDK from v7.12.0 to v7.13.0 ([#3970](https://github.com/getsentry/sentry-react-native/pull/3970), [#3984](https://github.com/getsentry/sentry-react-native/pull/3984))
141
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7130)
142
- - [diff](https://github.com/getsentry/sentry-java/compare/7.12.0...7.13.0)
143
- - Bump Cocoa SDK from v8.31.1 to v8.32.0 ([#3969](https://github.com/getsentry/sentry-react-native/pull/3969))
144
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8320)
145
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.31.1...8.32.0)
146
-
147
- ## 5.26.0
148
-
149
- ### Features
150
-
151
- - Session Replay Public Beta ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830))
152
-
153
- To enable Replay use the `replaysSessionSampleRate` or `replaysOnErrorSampleRate` options.
154
-
155
- ```js
156
- import * as Sentry from '@sentry/react-native';
157
-
158
- Sentry.init({
159
- _experiments: {
160
- replaysSessionSampleRate: 1.0,
161
- replaysOnErrorSampleRate: 1.0,
162
- },
163
- });
164
- ```
165
-
166
- To add React Component Names use `annotateReactComponents` in `metro.config.js`.
167
-
168
- ```js
169
- // For Expo
170
- const { getSentryExpoConfig } = require("@sentry/react-native/metro");
171
- const config = getSentryExpoConfig(__dirname, { annotateReactComponents: true });
172
-
173
- // For RN
174
- const { getDefaultConfig } = require('@react-native/metro-config');
175
- const { withSentryConfig } = require('@sentry/react-native/metro');
176
- module.exports = withSentryConfig(getDefaultConfig(__dirname), { annotateReactComponents: true });
177
- ```
178
-
179
- To change default redaction behavior add the `mobileReplayIntegration`.
180
-
181
- ```js
182
- import * as Sentry from '@sentry/react-native';
183
-
184
- Sentry.init({
185
- _experiments: {
186
- replaysSessionSampleRate: 1.0,
187
- replaysOnErrorSampleRate: 1.0,
188
- },
189
- integrations: [
190
- Sentry.mobileReplayIntegration({
191
- maskAllImages: true,
192
- maskAllVectors: true,
193
- maskAllText: true,
194
- }),
195
- ],
196
- });
197
- ```
198
-
199
- To learn more visit [Sentry's Mobile Session Replay](https://docs.sentry.io/product/explore/session-replay/mobile/) documentation page.
200
-
201
- ### Dependencies
202
-
203
- - Bump Cocoa SDK from v8.30.0 to v8.31.1 ([#3954](https://github.com/getsentry/sentry-react-native/pull/3954))
204
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8311)
205
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.0...8.31.1)
206
- - Bump Android SDK from v7.11.0 to v7.12.0 ([#3950](https://github.com/getsentry/sentry-react-native/pull/3949))
207
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7120)
208
- - [diff](https://github.com/getsentry/sentry-java/compare/7.11.0...7.12.0)
209
-
210
- ## 5.25.0
211
-
212
- ### Features
213
-
214
- - Improved Touch Event Breadcrumb components structure ([#3899](https://github.com/getsentry/sentry-react-native/pull/3899))
215
- - Set `currentScreen` on native scope ([#3927](https://github.com/getsentry/sentry-react-native/pull/3927))
216
-
217
- ### Fixes
218
-
219
- - `error.cause` chain is locally symbolicated in development builds ([#3920](https://github.com/getsentry/sentry-react-native/pull/3920))
220
- - `sentry-expo-upload-sourcemaps` no longer requires Sentry url when uploading sourcemaps to `sentry.io` ([#3915](https://github.com/getsentry/sentry-react-native/pull/3915))
221
- - Flavor aware Android builds use `SENTRY_AUTH_TOKEN` env as fallback when token not found in `sentry-flavor-type.properties`. ([#3917](https://github.com/getsentry/sentry-react-native/pull/3917))
222
- - `mechanism.handled:false` should crash current session ([#3900](https://github.com/getsentry/sentry-react-native/pull/3900))
223
-
224
- ### Dependencies
225
-
226
- - Bump Cocoa SDK from v8.29.1 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914))
227
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8300)
228
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.29.1...8.30.0)
229
- - Bump Android SDK from v7.10.0 to v7.11.0 ([#3926](https://github.com/getsentry/sentry-react-native/pull/3926))
230
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7110)
231
- - [diff](https://github.com/getsentry/sentry-java/compare/7.10.0...7.11.0)
232
-
233
- ## 5.25.0-alpha.2
234
-
235
- ### Features
236
-
237
- - Improve touch event component info if annotated with [`@sentry/babel-plugin-component-annotate`](https://www.npmjs.com/package/@sentry/babel-plugin-component-annotate) ([#3899](https://github.com/getsentry/sentry-react-native/pull/3899))
238
- - Add replay breadcrumbs for touch & navigation events ([#3846](https://github.com/getsentry/sentry-react-native/pull/3846))
239
- - Add network data to Session Replays ([#3912](https://github.com/getsentry/sentry-react-native/pull/3912))
240
- - Filter Sentry Event Breadcrumbs from Mobile Replays ([#3925](https://github.com/getsentry/sentry-react-native/pull/3925))
241
-
242
- ### Fixes
243
-
244
- - `sentry-expo-upload-sourcemaps` no longer requires Sentry url when uploading sourcemaps to `sentry.io` ([#3915](https://github.com/getsentry/sentry-react-native/pull/3915))
245
-
246
- ### Dependencies
247
-
248
- - Bump Cocoa SDK from v8.25.0-alpha.0 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914))
249
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8300)
250
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.25.0-alpha.0...8.30.0)
251
- - Bump Android SDK from v7.9.0-alpha.1 to v7.11.0-alpha.2 ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830))
252
- - [changelog](https://github.com/getsentry/sentry-java/blob/7.11.0-alpha.2/CHANGELOG.md#7110-alpha2)
253
- - [diff](https://github.com/getsentry/sentry-java/compare/7.9.0-alpha.1...7.11.0-alpha.2)
254
-
255
- Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/)
256
-
257
- ## 5.24.1
258
-
259
- ### Fixes
260
-
261
- - App Start Native Frames can start with zeroed values ([#3881](https://github.com/getsentry/sentry-react-native/pull/3881))
262
-
263
- ### Dependencies
264
-
265
- - Bump Cocoa SDK from v8.28.0 to v8.29.1 ([#3890](https://github.com/getsentry/sentry-react-native/pull/3890))
266
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8291)
267
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.28.0...8.29.1)
268
-
269
- ## 5.24.0
270
-
271
- ### Features
272
-
273
- - Add native application start spans ([#3855](https://github.com/getsentry/sentry-react-native/pull/3855), [#3884](https://github.com/getsentry/sentry-react-native/pull/3884))
274
- - This doesn't change the app start measurement length, but add child spans (more detail) into the existing app start span
275
- - Added JS Bundle Execution start information to the application start measurements ([#3857](https://github.com/getsentry/sentry-react-native/pull/3857))
276
-
277
- ### Fixes
278
-
279
- - Add more expressive debug logs to Native Frames Integration ([#3880](https://github.com/getsentry/sentry-react-native/pull/3880))
280
- - Add missing tracing integrations when using `client.init()` ([#3882](https://github.com/getsentry/sentry-react-native/pull/3882))
281
- - Ensure `sentry-cli` doesn't trigger Xcode `error:` prefix ([#3887](https://github.com/getsentry/sentry-react-native/pull/3887))
282
- - Fixes `--allow-failure` failing Xcode builds
283
-
284
- ### Dependencies
285
-
286
- - Bump Cocoa SDK from v8.27.0 to v8.28.0 ([#3866](https://github.com/getsentry/sentry-react-native/pull/3866))
287
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8280)
288
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.27.0...8.28.0)
289
- - Bump Android SDK from v7.8.0 to v7.10.0 ([#3805](https://github.com/getsentry/sentry-react-native/pull/3805))
290
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7100)
291
- - [diff](https://github.com/getsentry/sentry-java/compare/7.8.0...7.10.0)
292
- - Bump JavaScript SDK from v7.113.0 to v7.117.0 ([#3806](https://github.com/getsentry/sentry-react-native/pull/3806))
293
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/v7/CHANGELOG.md#71170)
294
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.117.0)
295
-
296
- ## 5.23.1
297
-
298
- ### Fixes
299
-
300
- - Fix failing iOS builds due to missing SentryLevel ([#3854](https://github.com/getsentry/sentry-react-native/pull/3854))
301
- - Add missing logs to dropped App Start spans ([#3861](https://github.com/getsentry/sentry-react-native/pull/3861))
302
- - Make all options of `startTimeToInitialDisplaySpan` optional ([#3867](https://github.com/getsentry/sentry-react-native/pull/3867))
303
- - Add Span IDs to Time to Display debug logs ([#3868](https://github.com/getsentry/sentry-react-native/pull/3868))
304
- - Use TTID end timestamp when TTFD should be updated with an earlier timestamp ([#3869](https://github.com/getsentry/sentry-react-native/pull/3869))
305
-
306
- ## 5.23.0
307
-
308
- This release does *not* build on iOS. Please use `5.23.1` or newer.
309
-
310
- ### Features
311
-
312
- - Functional integrations ([#3814](https://github.com/getsentry/sentry-react-native/pull/3814))
313
-
314
- Instead of installing `@sentry/integrations` and creating integrations using the `new` keyword, you can use direct imports of the functional integrations.
315
-
316
- ```js
317
- // Before
318
- import * as Sentry from '@sentry/react-native';
319
- import { HttpClient } from '@sentry/integrations';
320
-
321
- Sentry.init({
322
- integrations: [
323
- new Sentry.BrowserIntegrations.Dedupe(),
324
- new Sentry.Integration.Screenshot(),
325
- new HttpClient(),
326
- ],
327
- });
328
-
329
- // After
330
- import * as Sentry from '@sentry/react-native';
331
-
332
- Sentry.init({
333
- integrations: [
334
- Sentry.dedupeIntegration(),
335
- Sentry.screenshotIntegration(),
336
- Sentry.httpClientIntegration(),
337
- ],
338
- });
339
- ```
340
-
341
- Note that the `Sentry.BrowserIntegrations`, `Sentry.Integration` and the Class style integrations will be removed in the next major version of the SDK.
342
-
343
- ### Fixes
344
-
345
- - Remove unused `rnpm` config ([#3811](https://github.com/getsentry/sentry-react-native/pull/3811))
346
-
347
- ### Dependencies
348
-
349
- - Bump CLI from v2.30.4 to v2.31.2 ([#3719](https://github.com/getsentry/sentry-react-native/pull/3719))
350
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2312)
351
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.30.4...2.31.2)
352
- - Bump Cocoa SDK from v8.26.0 to v8.27.0 ([#3858](https://github.com/getsentry/sentry-react-native/pull/3858))
353
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8270)
354
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.26.0...8.27.0)
355
-
356
- ## 5.23.0-alpha.1
357
-
358
- ### Fixes
359
-
360
- - Pass `replaysSessionSampleRate` option to Android ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714))
361
-
362
- Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/)
363
-
364
- ## 5.22.3
365
-
366
- ### Fixes
367
-
368
- - Missing `RNSentryOnDrawReporterView` on iOS ([#3832](https://github.com/getsentry/sentry-react-native/pull/3832))
369
-
370
- ### Dependencies
371
-
372
- - Bump Cocoa SDK from v8.25.0 to v8.26.0 ([#3802](https://github.com/getsentry/sentry-react-native/pull/3802), [#3815](https://github.com/getsentry/sentry-react-native/pull/3815))
373
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8260)
374
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.25.0...8.26.0)
375
-
376
- ## 5.22.2
377
-
378
- ### Fixes
379
-
380
- - Remove `tunnel` from SDK Options ([#3787](https://github.com/getsentry/sentry-react-native/pull/3787))
381
- - Fix Apple non UIKit builds ([#3784](https://github.com/getsentry/sentry-react-native/pull/3784))
382
-
383
- ### Dependencies
384
-
385
- - Bump JavaScript SDK from v7.110.1 to v7.113.0 ([#3768](https://github.com/getsentry/sentry-react-native/pull/3768))
386
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#71130)
387
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.110.1...7.113.0)
388
-
389
- ## 5.22.1
390
-
391
- ### Dependencies
392
-
393
- - Bump Cocoa SDK from v8.24.0 to v8.25.0 ([#3790](https://github.com/getsentry/sentry-react-native/pull/3790))
394
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8250)
395
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.24.0...8.25.0)
396
-
397
- ## 5.23.0-alpha.0
398
-
399
- ### Features
400
-
401
- - Mobile Session Replay Alpha ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714))
402
-
403
- To enable Replay for React Native on mobile and web add the following options.
404
-
405
- ```js
406
- Sentry.init({
407
- _experiments: {
408
- replaysSessionSampleRate: 1.0,
409
- replaysOnErrorSampleRate: 1.0,
410
- },
411
- });
412
- ```
413
-
414
- To change the default Mobile Replay options add the `mobileReplayIntegration`.
415
-
416
- ```js
417
- Sentry.init({
418
- _experiments: {
419
- replaysSessionSampleRate: 1.0,
420
- replaysOnErrorSampleRate: 1.0,
421
- },
422
- integrations: [
423
- Sentry.mobileReplayIntegration({
424
- maskAllText: true,
425
- maskAllImages: true,
426
- }),
427
- ],
428
- });
429
- ```
430
-
431
- Access is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/)
432
-
433
- ### Dependencies
434
-
435
- - Bump Cocoa SDK to [8.25.0-alpha.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.25.0-alpha.0)
436
- - Bump Android SDK to [7.9.0-alpha.1](https://github.com/getsentry/sentry-java/releases/tag/7.9.0-alpha.1)
437
-
438
- ## 5.22.0
439
-
440
- ### Features
441
-
442
- - Updated metric normalization from `@sentry/core` ([#11519](https://github.com/getsentry/sentry-javascript/pull/11519))
443
- - Metric rate limiting from `sentry-cocoa` and `sentry-android`
444
-
445
- ### Dependencies
446
-
447
- - Bump Cocoa SDK from v8.21.0 to v8.24.0 ([#3686](https://github.com/getsentry/sentry-react-native/pull/3694), [#3696](https://github.com/getsentry/sentry-react-native/pull/3696))
448
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8240)
449
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.21.0...8.24.0)
450
- - Bump Android SDK from v7.6.0 to v7.8.0 ([#3750](https://github.com/getsentry/sentry-react-native/pull/3750))
451
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#780)
452
- - [diff](https://github.com/getsentry/sentry-java/compare/7.6.0...7.8.0)
453
- - Bump JavaScript SDK from v7.100.1 to v7.110.1 ([#3601](https://github.com/getsentry/sentry-react-native/pull/3601), [#3758](https://github.com/getsentry/sentry-react-native/pull/3758))
454
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/v7/CHANGELOG.md#71101)
455
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.100.1...7.110.1)
456
-
457
- ## 5.21.0
458
-
459
- ### Features
460
-
461
- - Add `getDefaultConfig` option to `getSentryExpoConfig` ([#3690](https://github.com/getsentry/sentry-react-native/pull/3690))
462
- - Add `beforeScreenshot` option to `ReactNativeOptions` ([#3715](https://github.com/getsentry/sentry-react-native/pull/3715))
463
-
464
- ### Fixes
465
-
466
- - Do not enable NativeFramesTracking when native is not available ([#3705](https://github.com/getsentry/sentry-react-native/pull/3705))
467
- - Do not initialize the SDK during `expo-router` static routes generation ([#3730](https://github.com/getsentry/sentry-react-native/pull/3730))
468
- - Cancel spans in background doesn't crash in environments without AppState ([#3727](https://github.com/getsentry/sentry-react-native/pull/3727))
469
- - Fix missing Stall measurements when using new `.end()` span API ([#3737](https://github.com/getsentry/sentry-react-native/pull/3737))
470
- - Change TimeToDisplay unsupported log from error to warning level. ([#3699](https://github.com/getsentry/sentry-react-native/pull/3699))
471
-
472
- ### Dependencies
473
-
474
- - Bump CLI from v2.30.0 to v2.30.4 ([#3678](https://github.com/getsentry/sentry-react-native/pull/3678), [#3704](https://github.com/getsentry/sentry-react-native/pull/3704))
475
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2304)
476
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.30.0...2.30.4)
477
- - Bump Android SDK from v7.5.0 to v7.6.0 ([#3675](https://github.com/getsentry/sentry-react-native/pull/3675))
478
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#760)
479
- - [diff](https://github.com/getsentry/sentry-java/compare/7.5.0...7.6.0)
480
-
481
- ## 5.20.0
482
-
483
- ### Features
484
-
485
- - Automatic tracing of time to initial display for `react-navigation` ([#3588](https://github.com/getsentry/sentry-react-native/pull/3588))
486
-
487
- When enabled the instrumentation will create TTID spans and measurements.
488
- The TTID timestamp represent moment when the `react-navigation` screen
489
- was rendered by the native code.
490
-
491
- ```javascript
492
- const routingInstrumentation = new Sentry.ReactNavigationInstrumentation({
493
- enableTimeToInitialDisplay: true,
494
- });
495
-
496
- Sentry.init({
497
- integrations: [new Sentry.ReactNativeTracing({routingInstrumentation})],
498
- });
499
- ```
500
-
501
- - Tracing of full display using manual API ([#3654](https://github.com/getsentry/sentry-react-native/pull/3654))
502
-
503
- In combination with the `react-navigation` automatic instrumentation you can record when
504
- the application screen is fully rendered.
505
-
506
- For more examples and manual time to initial display see [the documentation](https://docs.sentry.io/platforms/react-native/performance/instrumentation/time-to-display).
507
-
508
- ```javascript
509
- function Example() {
510
- const [loaded] = React.useState(false);
511
-
512
- return <View>
513
- <Sentry.TimeToFullDisplay record={loaded}>
514
- <Text>Example content</Text>
515
- </Sentry.TimeToFullDisplay>
516
- </View>;
517
- }
518
- ```
519
-
520
- ### Fixes
521
-
522
- - Allow custom `sentryUrl` for Expo updates source maps uploads ([#3664](https://github.com/getsentry/sentry-react-native/pull/3664))
523
- - Missing Mobile Vitals (slow, frozen frames) when ActiveSpan (Transaction) is trimmed at the end ([#3684](https://github.com/getsentry/sentry-react-native/pull/3684))
524
-
525
- ## 5.19.3
526
-
527
- ### Fixes
528
-
529
- - Multiple Debug IDs can be loaded into the global polyfill ([#3660](https://github.com/getsentry/sentry-react-native/pull/3660))
530
- - This fixes a symbolication issue with Expo on the web with enabled bundle splitting.
531
-
532
- ### Dependencies
533
-
534
- - Bump CLI from v2.25.2 to v2.30.0 ([#3534](https://github.com/getsentry/sentry-react-native/pull/3534), [#3666](https://github.com/getsentry/sentry-react-native/pull/3666))
535
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2300)
536
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.25.2...2.30.0)
537
- - Bump Cocoa SDK from v8.20.0 to v8.21.0 ([#3651](https://github.com/getsentry/sentry-react-native/pull/3651))
538
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8210)
539
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.20.0...8.21.0)
540
- - Bump Android SDK from v7.3.0 to v7.5.0 ([#3615](https://github.com/getsentry/sentry-react-native/pull/3615))
541
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#750)
542
- - [diff](https://github.com/getsentry/sentry-java/compare/7.3.0...7.5.0)
543
-
544
- ## 5.19.2
545
-
546
- ### Fixes
547
-
548
- - expo-upload-sourcemaps now works on Windows ([#3643](https://github.com/getsentry/sentry-react-native/pull/3643))
549
- - Option `enabled: false` ensures no events are sent ([#3606](https://github.com/getsentry/sentry-react-native/pull/3606))
550
- - Ignore JSON response when retrieving source context from local Expo Dev Server ([#3611](https://github.com/getsentry/sentry-react-native/pull/3611))
551
- - Upload native debug files only for non-debug builds ([#3649](https://github.com/getsentry/sentry-react-native/pull/3649))
552
- - `TurboModuleRegistry` should not be imported in web applications ([#3610](https://github.com/getsentry/sentry-react-native/pull/3610))
553
-
554
- ### Dependencies
555
-
556
- - Bump Cocoa SDK from v8.17.1 to v8.20.0 ([#3476](https://github.com/getsentry/sentry-react-native/pull/3476))
557
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8200)
558
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.17.1...8.20.0)
559
-
560
- ## 5.19.1
561
-
562
- ### Fixes
563
-
564
- - Don't add Expo Plugin option `authToken` to application bundle ([#3630](https://github.com/getsentry/sentry-react-native/pull/3630))
565
- - Expo plugin configurations are generelly stored in plain text, and are also automatically added to built app bundles, and are therefore considered insecure.
566
- - You should not set the auth token in the plugin config except for local testing. Instead, use the `SENTRY_AUTH_TOKEN` env variable, as pointed out in our [docs](https://docs.sentry.io/platforms/react-native/manual-setup/expo/).
567
- - In addition to showing a warning, we are now actively removing an `authToken` from the plugin config if it was set.
568
- - If you had set the auth token in the plugin config previously, **and** built and published an app with that config, you should [rotate your token](https://docs.sentry.io/product/accounts/auth-tokens/).
569
- - Reduce waning messages spam when a property in Expo plugin configuration is missing ([#3631](https://github.com/getsentry/sentry-react-native/pull/3631))
570
- - Add concrete error messages for RN bundle build phase patch ([#3626](https://github.com/getsentry/sentry-react-native/pull/3626))
571
-
572
- ## 5.19.0
573
-
574
- This release contains upgrade of `sentry-android` dependency to major version 7. There are no breaking changes in the JS API. If you are using the Android API please check [the migration guide](https://docs.sentry.io/platforms/android/migration/#migrating-from-iosentrysentry-android-6x-to-iosentrysentry-android-700).
575
-
576
- ### Features
577
-
578
- - Add Android profiles to React Native Profiling ([#3397](https://github.com/getsentry/sentry-react-native/pull/3397))
579
- - Add `Sentry.metrics` ([#3590](https://github.com/getsentry/sentry-react-native/pull/3590))
580
-
581
- To learn more, see the [Set Up Metrics](https://docs.sentry.io/platforms/react-native/metrics/) guide.
582
-
583
- ```javascript
584
- import * as Sentry from '@sentry/react-native';
585
-
586
- Sentry.init({
587
- dsn: '___DSN___',
588
- integrations: [
589
- Sentry.metrics.metricsAggregatorIntegration(),
590
- ],
591
- });
592
-
593
- Sentry.metrics.increment("button_click", 1, {
594
- tags: { system: "iOS", app_version: "1.0.0" },
595
- });
596
- ```
597
-
598
- ### Fixes
599
-
600
- - Upload Debug Symbols Build Phase continues when `node` not found in `WITH_ENVIRONMENT` ([#3573](https://github.com/getsentry/sentry-react-native/pull/3573))
601
- - Fix `proguardUuid` loading on Android ([#3591](https://github.com/getsentry/sentry-react-native/pull/3591))
602
-
603
- ### Dependencies
604
-
605
- - Bump Android SDK from v6.34.0 to v7.3.0 ([#3434](https://github.com/getsentry/sentry-react-native/pull/3434))
606
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#730)
607
- - [diff](https://github.com/getsentry/sentry-java/compare/6.34.0...7.3.0)
608
- - Bump JavaScript SDK from v7.81.1 to v7.100.1 ([#3426](https://github.com/getsentry/sentry-react-native/pull/3426), [#3589](https://github.com/getsentry/sentry-react-native/pull/3589))
609
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7990)
610
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.81.1...7.100.1)
611
-
612
- ## 5.18.0
613
-
614
- ### Features
615
-
616
- - Add [`@spotlightjs/spotlight`](https://spotlightjs.com/) support ([#3550](https://github.com/getsentry/sentry-react-native/pull/3550))
617
-
618
- Download the `Spotlight` desktop application and add the integration to your `Sentry.init`.
619
-
620
- ```javascript
621
- import * as Sentry from '@sentry/react-native';
622
-
623
- Sentry.init({
624
- dsn: '___DSN___',
625
- enableSpotlight: __DEV__,
626
- });
627
- ```
628
-
629
- - Only upload Expo artifact if source map exists ([#3568](https://github.com/getsentry/sentry-react-native/pull/3568))
630
- - Read `.env` file in `sentry-expo-upload-sourcemaps` ([#3571](https://github.com/getsentry/sentry-react-native/pull/3571))
631
-
632
- ### Fixes
633
-
634
- - Prevent pod install crash when visionos is not present ([#3548](https://github.com/getsentry/sentry-react-native/pull/3548))
635
- - Fetch Organization slug from `@sentry/react-native/expo` config when uploading artifacts ([#3557](https://github.com/getsentry/sentry-react-native/pull/3557))
636
- - Remove 404 Http Client Errors reports for Metro Dev Server Requests ([#3553](https://github.com/getsentry/sentry-react-native/pull/3553))
637
- - Stop tracing Spotlight Sidecar network request in JS ([#3559](https://github.com/getsentry/sentry-react-native/pull/3559))
638
-
639
- ## 5.17.0
640
-
641
- ### Features
642
-
643
- - New Sentry Metro configuration function `withSentryConfig` ([#3478](https://github.com/getsentry/sentry-react-native/pull/3478))
644
- - Ensures all Sentry configuration is added to your Metro config
645
- - Includes `createSentryMetroSerializer`
646
- - Collapses Sentry internal frames from the stack trace view in LogBox
647
-
648
- ```javascript
649
- const { getDefaultConfig } = require('@react-native/metro-config');
650
- const { withSentryConfig } = require('@sentry/react-native/metro');
651
-
652
- const config = getDefaultConfig(__dirname);
653
- module.exports = withSentryConfig(config);
654
- ```
655
-
656
- - Add experimental visionOS support ([#3467](https://github.com/getsentry/sentry-react-native/pull/3467))
657
- - To set up [`react-native-visionos`](https://github.com/callstack/react-native-visionos) with the Sentry React Native SDK follow [the standard `iOS` guides](https://docs.sentry.io/platforms/react-native/manual-setup/manual-setup/#ios).
658
- - Xcode project is located in `visionos` folder instead of `ios`.
659
-
660
- ### Fixes
661
-
662
- - Fix `WITH_ENVIRONMENT` overwrite in `sentry-xcode-debug-files.sh` ([#3525](https://github.com/getsentry/sentry-react-native/pull/3525))
663
- - Sentry CLI 2.25.1 fixes background debug files uploads during Xcode builds ([#3486](https://github.com/getsentry/sentry-react-native/pull/3486))
664
- - Performance Tracing should be disabled by default ([#3533](https://github.com/getsentry/sentry-react-native/pull/3533))
665
- - Use `$NODE_BINARY` to execute Sentry CLI in Xcode scripts ([#3493](https://github.com/getsentry/sentry-react-native/pull/3493))
666
- - Return auto Release and Dist to source maps auto upload ([#3540](https://github.com/getsentry/sentry-react-native/pull/3540))
667
- - Linked errors processed before other integrations ([#3535](https://github.com/getsentry/sentry-react-native/pull/3535))
668
- - This ensure their frames are correctly symbolicated
669
-
670
- ### Dependencies
671
-
672
- - Bump CLI from v2.23.0 to v2.25.2 ([#3486](https://github.com/getsentry/sentry-react-native/pull/3486))
673
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2252)
674
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.23.0...2.25.2)
675
-
676
- ## 5.16.0
677
-
678
- This release ships with a beta version of our new built-in Expo SDK 50 support,
679
- which replaces the deprecated `sentry-expo` package. To learn more,
680
- see [the Expo guide](https://docs.sentry.io/platforms/react-native/manual-setup/expo/).
681
-
682
- ### Features
683
-
684
- - New `@sentry/react-native/expo` Expo config plugin ([#3429](https://github.com/getsentry/sentry-react-native/pull/3429))
685
-
686
- ```js
687
- const { withSentry } = require('@sentry/react-native/expo');
688
-
689
- const config = {...};
690
-
691
- module.exports = withSentry(config, {
692
- url: 'https://www.sentry.io/',
693
- project: 'project-slug', // Or use SENTRY_PROJECT env
694
- organization: 'org-slug', // Or use SENTRY_ORG env
695
- });
696
- ```
697
-
698
- - And `Sentry.init` in `App.js`
699
-
700
- ```js
701
- import * as Sentry from '@sentry/react-native';
702
-
703
- Sentry.init({
704
- dsn: '__DSN__',
705
- });
706
- ```
707
-
708
- - New `getSentryExpoConfig` for simple Metro configuration ([#3454](https://github.com/getsentry/sentry-react-native/pull/3454), [#3501](https://github.com/getsentry/sentry-react-native/pull/3501), [#3514](https://github.com/getsentry/sentry-react-native/pull/3514))
709
- - This function is a drop in replacement for `getDefaultConfig` from `expo/metro-config`
710
-
711
- ```js
712
- // const { getDefaultConfig } = require("expo/metro-config");
713
- const { getSentryExpoConfig } = require("@sentry/react-native/metro");
714
-
715
- // const config = getDefaultConfig(__dirname);
716
- const config = getSentryExpoConfig(__dirname);
717
- ```
718
-
719
- - New `npx sentry-expo-upload-sourcemaps` for simple EAS Update (`npx expo export`) source maps upload ([#3491](https://github.com/getsentry/sentry-react-native/pull/3491), [#3510](https://github.com/getsentry/sentry-react-native/pull/3510), [#3515](https://github.com/getsentry/sentry-react-native/pull/3515), [#3507](https://github.com/getsentry/sentry-react-native/pull/3507))
720
-
721
- ```bash
722
- SENTRY_PROJECT=project-slug \
723
- SENTRY_ORG=org-slug \
724
- SENTRY_AUTH_TOKEN=super-secret-token \
725
- npx sentry-expo-upload-sourcemaps dist
726
- ```
727
-
728
- ### Others
729
-
730
- - Update `sentry-xcode.sh` scripts with Node modules resolution ([#3450](https://github.com/getsentry/sentry-react-native/pull/3450))
731
- - RN SDK and Sentry CLI are dynamically resolved if override is not supplied
732
- - Resolve Default Integrations based on current platform ([#3465](https://github.com/getsentry/sentry-react-native/pull/3465))
733
- - Native Integrations are only added if Native Module is available
734
- - Web Integrations only for React Native Web builds
735
- - Remove Native Modules warning from platform where the absence is expected ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
736
- - Add Expo Context information using Expo Native Modules ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
737
- - Errors from InternalBytecode.js are no longer marked as in_app ([#3518](https://github.com/getsentry/sentry-react-native/pull/3518))
738
- - Fix system node can't be overwritten in `sentry-xcode-debug-files.sh` ([#3523](https://github.com/getsentry/sentry-react-native/pull/3523))
739
-
740
- ## 5.16.0-alpha.4
741
-
742
- ### Fixes
743
-
744
- - Make `getSentryExpoConfig` options parameter optional ([#3514](https://github.com/getsentry/sentry-react-native/pull/3514))
745
- - Use `@sentry/react-native/expo` as plugin name in `expo-upload-sourcemaps.js` ([#3515](https://github.com/getsentry/sentry-react-native/pull/3515))
746
-
747
- ## 5.16.0-alpha.3
748
-
749
- This release is compatible with `expo@50.0.0-preview.6` and newer.
750
-
751
- ### Features
752
-
753
- - `withSentryExpoSerializers` changes to `getSentryExpoConfig` ([#3501](https://github.com/getsentry/sentry-react-native/pull/3501))
754
- - `getSentryExpoConfig` accepts the same parameters as `getDefaultConfig` from `expo/metro-config` and returns Metro configuration
755
- - This also works for EAS Updates (and expo export). Debug ID is generated by `expo/metro-config` and used by Sentry.
756
-
757
- ```js
758
- const { getSentryExpoConfig } = require("@sentry/react-native/metro");
759
- const config = getSentryExpoConfig(config, {});
760
- ```
761
-
762
- - Add `npx sentry-expo-upload-sourcemaps` for simple EAS Update (expo export) source maps upload to Sentry ([#3491](https://github.com/getsentry/sentry-react-native/pull/3491), [#3510](https://github.com/getsentry/sentry-react-native/pull/3510))
763
-
764
- ```bash
765
- SENTRY_PROJECT=project-slug \
766
- SENTRY_ORG=org-slug \
767
- SENTRY_AUTH_TOKEN=super-secret-token \
768
- npx sentry-expo-upload-sourcemaps dist
769
- ```
770
-
771
- - Sentry CLI binary path in `scripts/expo-upload-sourcemaps.js` is resolved dynamically ([#3507](https://github.com/getsentry/sentry-react-native/pull/3507))
772
- - Or can be overwritten by `SENTRY_CLI_EXECUTABLE` env
773
-
774
- - Resolve Default Integrations based on current platform ([#3465](https://github.com/getsentry/sentry-react-native/pull/3465))
775
- - Native Integrations are only added if Native Module is available
776
- - Web Integrations only for React Native Web builds
777
- - Remove Native Modules warning from platform where the absence is expected ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
778
- - Add Expo Context information using Expo Native Modules ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
779
-
780
- ### Fixes
781
-
782
- - Includes fixes from version 5.15.2
783
-
784
- ## 5.15.2
785
-
786
- ### Fixes
787
-
788
- - Stop sending navigation route params for auto-generated transactions, as they may contain PII or other sensitive data ([#3487](https://github.com/getsentry/sentry-react-native/pull/3487))
789
- - Further details and other strategies to mitigate this issue can be found on our [trouble shooting guide page](https://docs.sentry.io/platforms/react-native/troubleshooting/#routing-transaction-data-contains-sensitive-information)
790
-
791
- ## 5.16.0-alpha.2
792
-
793
- ### Features
794
-
795
- - Add `withSentryExpoSerializers` for easy configurable `metro.config.js` ([#3454](https://github.com/getsentry/sentry-react-native/pull/3454))
796
-
797
- This Serializer doesn't support EAS Updates (and expo export) commands yet. Debug IDs needed for source maps resolution in Sentry
798
- are generated only during native builds.
799
-
800
- ```js
801
- const { getDefaultConfig } = require('expo/metro-config');
802
- const { withSentryExpoSerializers } = require("@sentry/react-native/metro");
803
-
804
- const config = getDefaultConfig(__dirname);
805
- module.exports = withSentryExpoSerializers(config);
806
- ```
807
-
808
- Note that this will remove any existing `customSerializer`. Guide for advanced setups [can be found here](https://docs.sentry.io/platforms/react-native/manual-setup/metro).
809
-
810
- ### Fixes
811
-
812
- - Expo SDK minimum version is 49 ([#3453](https://github.com/getsentry/sentry-react-native/pull/3453))
813
- - Remove RN Internal imports for RN Web builds ([#3462](https://github.com/getsentry/sentry-react-native/pull/3462))
814
- - Remove circular dependencies inside of the SDK ([#3464](https://github.com/getsentry/sentry-react-native/pull/3464))
815
- - Includes fixes from version 5.15.1
816
-
817
- ## 5.15.1
818
-
819
- ### Fixes
820
-
821
- - Sentry CLI upgrade resolves Xcode Could timeout during source maps upload [#3390](https://github.com/getsentry/sentry-react-native/pull/3390)
822
-
823
- ### Dependencies
824
-
825
- - Bump CLI from v2.21.3 to v2.23.0 ([#3390](https://github.com/getsentry/sentry-react-native/pull/3390))
826
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2230)
827
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.21.3...2.23.0)
828
-
829
- ## 5.16.0-alpha.1
830
-
831
- ### Features
832
-
833
- - Add `@sentry/react-native/expo` Expo config plugin ([#3429](https://github.com/getsentry/sentry-react-native/pull/3429))
834
-
835
- This Release introduces the first alpha version of our new SDK for Expo.
836
- At this time, the SDK is considered experimental and things might break and change in future versions.
837
-
838
- The core of the SDK is Expo plugin which you can easily add to your App config:
839
-
840
- ```js
841
- const { withSentry } = require('@sentry/react-native/expo');
842
-
843
- const config = {...};
844
-
845
- module.exports = withSentry(config, {
846
- url: 'https://www.sentry.io/',
847
- authToken: 'example-token', // Or use SENTRY_AUTH_TOKEN env
848
- project: 'project-slug', // Or use SENTRY_PROJECT env
849
- organization: 'org-slug', // Or use SENTRY_ORG env
850
- });
851
- ```
852
-
853
- - And `Sentry.init` in `App.js`
854
-
855
- ```js
856
- import * as Sentry from '@sentry/react-native';
857
-
858
- Sentry.init({
859
- dsn: '__DSN__',
860
- });
861
- ```
862
-
863
- - Update `sentry-xcode.sh` scripts with Node modules resolution ([#3450](https://github.com/getsentry/sentry-react-native/pull/3450))
864
- - RN SDK and Sentry CLI are dynamically resolved if override is not supplied
865
-
866
- ### Fixes
867
-
868
- - Transform shipped JSX for both react-native and web ([#3428](https://github.com/getsentry/sentry-react-native/pull/3428))
869
- - Removes builds errors when using react-native-web with Webpack
870
-
871
- ## 5.15.0
872
-
873
- ### Features
874
-
875
- - New simplified Sentry Metro Serializer export ([#3450](https://github.com/getsentry/sentry-react-native/pull/3450))
876
-
877
- ```js
878
- const { createSentryMetroSerializer } = require('@sentry/react-native/metro');
879
- ```
880
-
881
- ### Fixes
882
-
883
- - Encode envelopes using Base64, fix array length limit when transferring over Bridge. ([#2852](https://github.com/getsentry/sentry-react-native/pull/2852))
884
- - This fix requires a rebuild of the native app
885
- - Symbolicate message and non-Error stacktraces locally in debug mode ([#3420](https://github.com/getsentry/sentry-react-native/pull/3420))
886
- - Remove Sentry SDK frames from rejected promise SyntheticError stack ([#3423](https://github.com/getsentry/sentry-react-native/pull/3423))
887
- - Fix path from Xcode scripts to Collect Modules ([#3451](https://github.com/getsentry/sentry-react-native/pull/3451))
888
-
889
- ### Dependencies
890
-
891
- - Bump Cocoa SDK from v8.15.2 to v8.17.1 ([#3412](https://github.com/getsentry/sentry-react-native/pull/3412))
892
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8171)
893
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.15.2...8.17.1)
894
-
895
- ## 5.14.1
896
-
897
- ### Fixes
898
-
899
- - Add hermes to Pod dependencies to fix profiling with `use_frameworks` ([#3416](https://github.com/getsentry/sentry-react-native/pull/3416))
900
- - Define SentryCurrentDateProvider in RNSentry ([#3418](https://github.com/getsentry/sentry-react-native/pull/3418))
901
-
902
- ## 5.14.0
903
-
904
- ### Features
905
-
906
- - Add iOS profiles to React Native Profiling ([#3349](https://github.com/getsentry/sentry-react-native/pull/3349))
907
-
908
- ### Fixes
909
-
910
- - Conditionally use Set or CountingSet in Sentry Metro plugin ([#3409](https://github.com/getsentry/sentry-react-native/pull/3409))
911
- - This makes sentryMetroSerializer compatible with Metro 0.66.2 and newer
912
- - Fix SIGSEV, SIGABRT and SIGBUS crashes happening after/around the August Google Play System update, see [#2955](https://github.com/getsentry/sentry-java/issues/2955) for more details
913
-
914
- ### Dependencies
915
-
916
- - Bump Android SDK from v6.33.1 to v6.34.0 ([#3408](https://github.com/getsentry/sentry-react-native/pull/3408))
917
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6340)
918
- - [diff](https://github.com/getsentry/sentry-java/compare/6.33.1...6.34.0)
919
- - Bump JavaScript SDK from v7.80.0 to v7.81.1 ([#3396](https://github.com/getsentry/sentry-react-native/pull/3396))
920
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7811)
921
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.80.0...7.81.1)
922
-
923
- ## 5.13.1-beta.1
924
-
925
- ### Fixes
926
-
927
- - Fix SIGSEV, SIGABRT and SIGBUS crashes happening after/around the August Google Play System update, see [#2955](https://github.com/getsentry/sentry-java/issues/2955) for more details
928
-
929
- ### Dependencies
930
-
931
- - Bump Android SDK from v6.33.1 to v6.33.2-beta.1 ([#3385](https://github.com/getsentry/sentry-react-native/pull/3385))
932
- - [changelog](https://github.com/getsentry/sentry-java/blob/6.33.2-beta.1/CHANGELOG.md#6332-beta1)
933
- - [diff](https://github.com/getsentry/sentry-java/compare/6.33.1...6.33.2-beta.1)
934
-
935
- ## 5.13.0
936
-
937
- ### Features
938
-
939
- - Export New JS Performance API ([#3371](https://github.com/getsentry/sentry-react-native/pull/3371))
940
-
941
- ```js
942
- // Start a span that tracks the duration of expensiveFunction
943
- const result = Sentry.startSpan({ name: 'important function' }, () => {
944
- return expensiveFunction();
945
- });
946
- ```
947
-
948
- Read more at <https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690>
949
-
950
- - Report current screen in `contexts.app.view_names` ([#3339](https://github.com/getsentry/sentry-react-native/pull/3339))
951
-
952
- ### Fixes
953
-
954
- - Remove `platform: node` from Debug Builds Events ([#3377](https://github.com/getsentry/sentry-react-native/pull/3377))
955
-
956
- ### Dependencies
957
-
958
- - Bump Android SDK from v6.32.0 to v6.33.1 ([#3374](https://github.com/getsentry/sentry-react-native/pull/3374))
959
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6331)
960
- - [diff](https://github.com/getsentry/sentry-java/compare/6.32.0...6.33.1)
961
- - Bump Cocoa SDK from v8.14.2 to v8.15.2 ([#3376](https://github.com/getsentry/sentry-react-native/pull/3376))
962
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8152)
963
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.14.2...8.15.2)
964
- - Bump CLI from v2.21.2 to v2.21.3 ([#3381](https://github.com/getsentry/sentry-react-native/pull/3381))
965
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2213)
966
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.21.2...2.21.3)
967
- - Bump JavaScript SDK from v7.76.0 to v7.80.0 ([#3372](https://github.com/getsentry/sentry-react-native/pull/3372))
968
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7800)
969
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.76.0...7.80.0)
970
-
971
- ## 5.12.0
972
-
973
- ### Features
974
-
975
- - Automatically detect environment if not set ([#3362](https://github.com/getsentry/sentry-react-native/pull/3362))
976
- - Send Source Maps Debug ID for symbolicated Profiles ([#3343](https://github.com/getsentry/sentry-react-native/pull/3343))
977
-
978
- ### Fixes
979
-
980
- - Add actual `activeThreadId` to Profiles ([#3338](https://github.com/getsentry/sentry-react-native/pull/3338))
981
- - Parse Hermes Profiling Bytecode Frames ([#3342](https://github.com/getsentry/sentry-react-native/pull/3342))
982
-
983
- ### Dependencies
984
-
985
- - Bump JavaScript SDK from v7.73.0 to v7.76.0 ([#3344](https://github.com/getsentry/sentry-react-native/pull/3344), [#3365](https://github.com/getsentry/sentry-react-native/pull/3365))
986
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7760)
987
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.76.0)
988
- - Bump Cocoa SDK from v8.13.0 to v8.14.2 ([#3340](https://github.com/getsentry/sentry-react-native/pull/3340))
989
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8142)
990
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.13.0...8.14.2)
991
- - Bump Android SDK from v6.30.0 to v6.32.0 ([#3341](https://github.com/getsentry/sentry-react-native/pull/3341))
992
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6320)
993
- - [diff](https://github.com/getsentry/sentry-java/compare/6.30.0...6.32.0)
994
-
995
- ## 5.11.1
996
-
997
- ### Fixes
998
-
999
- - Waif for `has-sourcemap-debugid` process to exit ([#3336](https://github.com/getsentry/sentry-react-native/pull/3336))
1000
-
1001
- ## 5.11.0
1002
-
1003
- ### Features
1004
-
1005
- - Add `buildFeatures.buildConfig=true` to support AGP 8 ([#3298](https://github.com/getsentry/sentry-react-native/pull/3298))
1006
- - Add Debug ID support ([#3164](https://github.com/getsentry/sentry-react-native/pull/3164))
1007
-
1008
- This is optional to use Debug IDs. Your current setup will keep working as is.
1009
-
1010
- Add Sentry Metro Serializer to `metro.config.js` to generate Debug ID for the application bundle and source map.
1011
-
1012
- ```javascript
1013
- const {createSentryMetroSerializer} = require('@sentry/react-native/dist/js/tools/sentryMetroSerializer');
1014
- const config = {serializer: createSentryMetroSerializer()};
1015
- ```
1016
-
1017
- On iOS update `Bundle React Native Code and Images` and `Upload Debug Symbols to Sentry` build phases.
1018
-
1019
- ```bash
1020
- set -e
1021
- WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
1022
- REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
1023
-
1024
- /bin/sh -c "$WITH_ENVIRONMENT \"/bin/sh ../scripts/sentry-xcode.sh $REACT_NATIVE_XCODE\""
1025
- ```
1026
-
1027
- ```bash
1028
- /bin/sh ../../scripts/sentry-xcode-debug-files.sh
1029
- ```
1030
-
1031
- More information about the new setup [can be found here](https://docs.sentry.io/platforms/react-native/manual-setup/manual-setup/).
1032
- - Add `SENTRY_DISABLE_AUTO_UPLOAD` flag ([#3323](https://github.com/getsentry/sentry-react-native/pull/3323))
1033
-
1034
- How to use in Android project? It works by default, just set `export SENTRY_DISABLE_AUTO_UPLOAD=true` in your build environment. For Sentry Android Gradle Plugin add the following to your `android/app/build.gradle`.
1035
-
1036
- ```gradle
1037
- apply from: "../../../sentry.gradle"
1038
-
1039
- sentry {
1040
- autoUploadProguardMapping = shouldSentryAutoUpload()
1041
- uploadNativeSymbols = shouldSentryAutoUpload()
1042
- }
1043
- ```
1044
-
1045
- How to use in Xcode? Make sure you are using `scripts/sentry-xcode.sh` and `scripts/sentry-xcode-debug-files.sh` in your
1046
- build phases. And add the following to your `ios/.xcode.env.local` file.
1047
-
1048
- ```bash
1049
- export SENTRY_DISABLE_AUTO_UPLOAD=true
1050
- ```
1051
-
1052
- ### Fixes
1053
-
1054
- - App start time span no longer created if too long ([#3299](https://github.com/getsentry/sentry-react-native/pull/3299))
1055
- - Change log output to show what paths are considered when collecting modules ([#3316](https://github.com/getsentry/sentry-react-native/pull/3316))
1056
- - `Sentry.wrap` doesn't enforce any keys on the wrapped component props ([#3332](https://github.com/getsentry/sentry-react-native/pull/3332))
1057
- - Ignore defaults when warning about duplicate definition of trace propagation targets ([#3327](https://github.com/getsentry/sentry-react-native/pull/3327))
1058
- - Screenshots are not taken when the SDK is disabled ([#3333](https://github.com/getsentry/sentry-react-native/pull/3333))
1059
- - Use deprecated `ReactNativeTracingOptions.tracingOrigins` if set in the options ([#3331](https://github.com/getsentry/sentry-react-native/pull/3331))
1060
- - Cancel auto instrumentation transaction when app goes to background ([#3307](https://github.com/getsentry/sentry-react-native/pull/3307))
1061
-
1062
- ### Dependencies
1063
-
1064
- - Bump CLI from v2.20.7 to v2.21.2 ([#3301](https://github.com/getsentry/sentry-react-native/pull/3301))
1065
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2212)
1066
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.20.7...2.21.2)
1067
- - Bump Android SDK from v6.29.0 to v6.30.0 ([#3309](https://github.com/getsentry/sentry-react-native/pull/3309))
1068
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6300)
1069
- - [diff](https://github.com/getsentry/sentry-java/compare/6.29.0...6.30.0)
1070
- - Bump JavaScript SDK from v7.69.0 to v7.73.0 ([#3297](https://github.com/getsentry/sentry-react-native/pull/3297))
1071
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7730)
1072
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.69.0...7.73.0)
1073
- - Bump Cocoa SDK from v8.11.0 to v8.13.0 ([#3292](https://github.com/getsentry/sentry-react-native/pull/3292))
1074
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8130)
1075
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.11.0...8.13.0)
1076
-
1077
- ## 5.10.0
1078
-
1079
- ### Features
1080
-
1081
- - Add Hermes Debug Info flag to React Native Context ([#3290](https://github.com/getsentry/sentry-react-native/pull/3290))
1082
- - This flag equals `true` when Hermes Bundle contains Debug Info (Hermes Source Map was not emitted)
1083
- - Add `enableNdk` property to ReactNativeOptions for Android. ([#3304](https://github.com/getsentry/sentry-react-native/pull/3304))
1084
-
1085
- ## 5.9.2
1086
-
1087
- ### Fixes
1088
-
1089
- - Create profiles for start up transactions ([#3281](https://github.com/getsentry/sentry-react-native/pull/3281))
1090
- - Fix Hermes Bytecode Symbolication one line off ([#3283](https://github.com/getsentry/sentry-react-native/pull/3283))
1091
-
1092
- ### Dependencies
1093
-
1094
- - Bump CLI from v2.20.5 to v2.20.7 ([#3265](https://github.com/getsentry/sentry-react-native/pull/3265), [#3273](https://github.com/getsentry/sentry-react-native/pull/3273))
1095
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2207)
1096
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.20.5...2.20.7)
1097
- - Bump Cocoa SDK from v8.10.0 to v8.11.0 ([#3245](https://github.com/getsentry/sentry-react-native/pull/3245))
1098
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8110)
1099
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.10.0...8.11.0)
1100
- - Bump JavaScript SDK from v7.63.0 to v7.69.0 ([#3277](https://github.com/getsentry/sentry-react-native/pull/3277), [#3247](https://github.com/getsentry/sentry-react-native/pull/3247))
1101
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690)
1102
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.63.0...7.69.0)
1103
- - Bump Android SDK from v6.28.0 to v6.29.0 ([#3271](https://github.com/getsentry/sentry-react-native/pull/3271))
1104
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6290)
1105
- - [diff](https://github.com/getsentry/sentry-java/compare/6.28.0...6.29.0)
1106
-
1107
- ## 5.9.1
1108
-
1109
- - Bump Cocoa SDK from v8.9.4 to v8.10.0 ([#3250](https://github.com/getsentry/sentry-react-native/pull/3250))
1110
- - This fixes a compile error for projects that use CocoaPods with `use_frameworks!` option.
1111
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8100)
1112
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.9.4...8.10.0)
1113
-
1114
- ## 5.9.0
1115
-
1116
- ## Important Note
1117
-
1118
- **Do not use this version** if you use CocoaPods with `use_frameworks!` option. It introduces a bug where the project won't compile.
1119
- This has been fixed in [version `5.9.1`](https://github.com/getsentry/sentry-react-native/releases/tag/5.9.1).
1120
-
1121
- ### Features
1122
-
1123
- - Add support for React Native mixed stacktraces ([#3201](https://github.com/getsentry/sentry-react-native/pull/3201))
1124
-
1125
- In the current `react-native@nightly` (`0.73.0-nightly-20230809-cb60e5c67`) JS errors from native modules can
1126
- contain native JVM or Objective-C exception stack trace. Both JS and native stack trace
1127
- are processed by default no configuration needed.
1128
-
1129
- - Add `tracePropagationTargets` option ([#3230](https://github.com/getsentry/sentry-react-native/pull/3230))
1130
-
1131
- This release adds support for [distributed tracing](https://docs.sentry.io/platforms/react-native/usage/distributed-tracing/)
1132
- without requiring performance monitoring to be active on the React Native SDK.
1133
- This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services.
1134
- Distributed Tracing can be configured with the `tracePropagationTargets` option,
1135
- which controls what requests to attach the `sentry-trace` and `baggage` HTTP headers to (which is what propagates tracing information).
1136
-
1137
- ```javascript
1138
- Sentry.init({
1139
- tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
1140
- });
1141
- ```
1142
-
1143
- ### Fixes
1144
-
1145
- - `Sentry.init` must be called before `Sentry.wrap`([#3227](https://github.com/getsentry/sentry-react-native/pull/3227))
1146
- - The SDK now shows warning if incorrect order is detected
1147
- - Stall Time is no longer counted when App is in Background. ([#3211](https://github.com/getsentry/sentry-react-native/pull/3211))
1148
- - Use application variant instead of variant output to hook to correct package task for modules cleanup ([#3161](https://github.com/getsentry/sentry-react-native/pull/3161))
1149
- - Fix `isNativeAvailable` after SDK reinitialization ([#3200](https://github.com/getsentry/sentry-react-native/pull/3200))
1150
-
1151
- ### Dependencies
1152
-
1153
- - Bump Android SDK from v6.27.0 to v6.28.0 ([#3192](https://github.com/getsentry/sentry-react-native/pull/3192))
1154
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6280)
1155
- - [diff](https://github.com/getsentry/sentry-java/compare/6.27.0...6.28.0)
1156
- - Bump Cocoa SDK from v8.9.3 to v8.9.4 ([#3225](https://github.com/getsentry/sentry-react-native/pull/3225))
1157
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#894)
1158
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.9.3...8.9.4)
1159
- - Bump JavaScript SDK from v7.61.0 to v7.63.0 ([#3226](https://github.com/getsentry/sentry-react-native/pull/3226), [#3235](https://github.com/getsentry/sentry-react-native/pull/3235))
1160
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7630)
1161
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.61.0...7.63.0)
1162
- - Bump CLI from v2.19.4 to v2.20.5 ([#3212](https://github.com/getsentry/sentry-react-native/pull/3212), [#3233](https://github.com/getsentry/sentry-react-native/pull/3233))
1163
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2205)
1164
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.19.4...2.20.5)
1165
-
1166
- ## 5.8.1
1167
-
1168
- ### Dependencies
1169
-
1170
- - Bump JavaScript SDK from v7.60.1 to v7.61.0 ([#3222](https://github.com/getsentry/sentry-react-native/pull/3222))
1171
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7610)
1172
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.60.1...7.61.0)
1173
-
1174
- ## 5.8.0
1175
-
1176
- ### Features
1177
-
1178
- - Alpha support for Hermes JavaScript Profiling ([#3057](https://github.com/getsentry/sentry-react-native/pull/3057))
1179
-
1180
- Profiling is disabled by default. To enable it, configure both
1181
- `tracesSampleRate` and `profilesSampleRate` when initializing the SDK:
1182
-
1183
- ```javascript
1184
- Sentry.init({
1185
- dsn: '__DSN__',
1186
- tracesSampleRate: 1.0,
1187
- _experiments: {
1188
- // The sampling rate for profiling is relative to TracesSampleRate.
1189
- // In this case, we'll capture profiles for 100% of transactions.
1190
- profilesSampleRate: 1.0,
1191
- },
1192
- });
1193
- ```
1194
-
1195
- More documentation on profiling and current limitations [can be found here](https://docs.sentry.io/platforms/react-native/profiling/).
1196
-
1197
- ### Fixes
1198
-
1199
- - Warn users about multiple versions of `promise` package which can cause unexpected behavior like undefined `Promise.allSettled` ([#3162](https://github.com/getsentry/sentry-react-native/pull/3162))
1200
- - 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](https://github.com/getsentry/sentry-react-native/pull/3170))
1201
-
1202
- ### Dependencies
1203
-
1204
- - Bump JavaScript SDK from v7.57.0 to v7.60.1 ([#3184](https://github.com/getsentry/sentry-react-native/pull/3184), [#3199](https://github.com/getsentry/sentry-react-native/pull/3199))
1205
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7601)
1206
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.57.0...7.60.1)
1207
- - Bump Cocoa SDK from v8.8.0 to v8.9.3 ([#3188](https://github.com/getsentry/sentry-react-native/pull/3188), [#3206](https://github.com/getsentry/sentry-react-native/pull/3206))
1208
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#893)
1209
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.8.0...8.9.3)
1210
- - Bump Android SDK from v6.25.1 to v6.27.0 ([#3170](https://github.com/getsentry/sentry-react-native/pull/3170))
1211
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6270)
1212
- - [diff](https://github.com/getsentry/sentry-java/compare/6.25.1...6.27.0)
1213
-
1214
- ## 5.7.1
1215
-
1216
- ### Dependencies
1217
-
1218
- - Bump Android SDK from v6.25.0 to v6.25.1 ([#3179](https://github.com/getsentry/sentry-react-native/pull/3179))
1219
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6251)
1220
- - [diff](https://github.com/getsentry/sentry-java/compare/6.25.0...6.25.1)
1221
-
1222
- ## 5.7.0
1223
-
1224
- ### Fixes
1225
-
1226
- - Filter beforeSendTransaction from the Native SDK ([#3140](https://github.com/getsentry/sentry-react-native/pull/3140))
1227
-
1228
- ### Features
1229
-
1230
- - Use `android.namespace` for AGP 8 and RN 0.73 ([#3133](https://github.com/getsentry/sentry-react-native/pull/3133))
1231
-
1232
- ### Dependencies
1233
-
1234
- - Bump JavaScript SDK from v7.54.0 to v7.57.0 ([#3119](https://github.com/getsentry/sentry-react-native/pull/3119), [#3153](https://github.com/getsentry/sentry-react-native/pull/3153))
1235
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7570)
1236
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.54.0...7.57.0)
1237
- - Bump CLI from v2.18.1 to v2.19.4 ([#3124](https://github.com/getsentry/sentry-react-native/pull/3124), [#3151](https://github.com/getsentry/sentry-react-native/pull/3151))
1238
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2194)
1239
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.18.1...2.19.4)
1240
- - Bump Android SDK from v6.22.0 to v6.25.0 ([#3127](https://github.com/getsentry/sentry-react-native/pull/3127), [#3163](https://github.com/getsentry/sentry-react-native/pull/3163))
1241
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6250)
1242
- - [diff](https://github.com/getsentry/sentry-java/compare/6.22.0...6.25.0)
1243
- - Bump Cocoa SDK from v8.7.3 to v8.8.0 ([#3123](https://github.com/getsentry/sentry-react-native/pull/3123))
1244
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#880)
1245
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.7.3...8.8.0)
1246
-
1247
- ## 5.6.0
1248
-
1249
- ### Features
1250
-
1251
- - Overwrite Expo bundle names in stack frames ([#3115](https://github.com/getsentry/sentry-react-native/pull/3115))
1252
- - This enables source maps to resolve correctly without using `sentry-expo` package
1253
-
1254
- ### Fixes
1255
-
1256
- - Disable `enableNative` if Native SDK is not available ([#3099](https://github.com/getsentry/sentry-react-native/pull/3099))
1257
- - Dynamically resolve `collectModulesScript` path to support monorepos ([#3092](https://github.com/getsentry/sentry-react-native/pull/3092))
1258
- - Native wrapper methods don't throw disabled error after re-initializing ([#3093](https://github.com/getsentry/sentry-react-native/pull/3093))
1259
-
1260
- ### Dependencies
1261
-
1262
- - Bump JavaScript SDK from v7.52.0 to v7.54.0 ([#3071](https://github.com/getsentry/sentry-react-native/pull/3071), [#3088](https://github.com/getsentry/sentry-react-native/pull/3088), [#3094](https://github.com/getsentry/sentry-react-native/pull/3094))
1263
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7540)
1264
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.52.0...7.54.0)
1265
- - Bump Android SDK from v6.18.1 to v6.22.0 ([#3086](https://github.com/getsentry/sentry-react-native/pull/3086), [#3075](https://github.com/getsentry/sentry-react-native/pull/3075))
1266
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6220)
1267
- - [diff](https://github.com/getsentry/sentry-java/compare/6.18.1...6.22.0)
1268
- - Bump Cocoa SDK from v8.7.1 to v8.7.3 ([#3076](https://github.com/getsentry/sentry-react-native/pull/3076))
1269
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#873)
1270
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.7.1...8.7.3)
1271
- - Bump CLI from v2.17.5 to v2.18.1 ([#3082](https://github.com/getsentry/sentry-react-native/pull/3082))
1272
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2181)
1273
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.17.5...2.18.1)
1274
-
1275
- ## 5.5.0
1276
-
1277
- ### Features
1278
-
1279
- - Add `expo`, `react_native_version` and `hermes_version` to React Native Context ([#3050](https://github.com/getsentry/sentry-react-native/pull/3050))
1280
-
1281
- ### Dependencies
1282
-
1283
- - Bump JavaScript SDK from v7.51.1 to v7.52.0 ([#3054](https://github.com/getsentry/sentry-react-native/pull/3054), [#3068](https://github.com/getsentry/sentry-react-native/pull/3068))
1284
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7520)
1285
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.51.1...7.52.0)
1286
- - Bump Cocoa SDK from v8.6.0 to v8.7.1 ([#3056](https://github.com/getsentry/sentry-react-native/pull/3056), [#3067](https://github.com/getsentry/sentry-react-native/pull/3067))
1287
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#871)
1288
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.6.0...8.7.1)
1289
-
1290
- ## 5.4.2
1291
-
1292
- ### Fixes
1293
-
1294
- - Fix `event.origin` and `event.environment` on unhandled exception ([#3041](https://github.com/getsentry/sentry-react-native/pull/3041))
1295
- - Don't pass `enableTracing` from RN to `sentry-cocoa` options ([#3042](https://github.com/getsentry/sentry-react-native/pull/3042))
1296
- - Only store envelopes of fatal crashes on iOS ([#3051](https://github.com/getsentry/sentry-react-native/pull/3051))
1297
-
1298
- ### Dependencies
1299
-
1300
- - Bump JavaScript SDK from v7.50.0 to v7.51.1 ([#3043](https://github.com/getsentry/sentry-react-native/pull/3043), [#3053](https://github.com/getsentry/sentry-react-native/pull/3053))
1301
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7511)
1302
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.50.0...7.51.1)
1303
-
1304
- ## 4.15.2
1305
-
1306
- - Only store envelopes of fatal crashes on iOS ([#3051](https://github.com/getsentry/sentry-react-native/pull/3051))
1307
-
1308
- ## 5.4.1
1309
-
1310
- ### Fixes
1311
-
1312
- - Store envelopes immediately during a fatal crash on iOS ([#3031](https://github.com/getsentry/sentry-react-native/pull/3031))
1313
- - Do not overwrite `_metadata` option by default `sdkInfo` ([#3036](https://github.com/getsentry/sentry-react-native/pull/3036))
1314
-
1315
- ### Dependencies
1316
-
1317
- - Bump JavaScript SDK from v7.49.0 to v7.50.0 ([#3035](https://github.com/getsentry/sentry-react-native/pull/3035))
1318
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7500)
1319
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.49.0...7.50.0)
1320
- - Bump Cocoa SDK from v8.5.0 to v8.6.0 ([#3023](https://github.com/getsentry/sentry-react-native/pull/3023))
1321
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#860)
1322
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.5.0...8.6.0)
1323
- - Bump Android SDK from v6.17.0 to v6.18.1 ([#3017](https://github.com/getsentry/sentry-react-native/pull/3017))
1324
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6181)
1325
- - [diff](https://github.com/getsentry/sentry-java/compare/6.17.0...6.18.1)
1326
- - Bump CLI from v2.17.4 to v2.17.5 ([#3024](https://github.com/getsentry/sentry-react-native/pull/3024))
1327
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2175)
1328
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.17.4...2.17.5)
1329
-
1330
- ## 4.15.1
1331
-
1332
- ### Fixes
1333
-
1334
- - Store envelopes immediately during a fatal crash on iOS ([#3030](https://github.com/getsentry/sentry-react-native/pull/3030))
1335
-
1336
- ## 5.4.0
1337
-
1338
- ### Features
1339
-
1340
- - Add TS 4.1 typings ([#2995](https://github.com/getsentry/sentry-react-native/pull/2995))
1341
- - TS 3.8 are present and work automatically with older projects
1342
- - Add CPU Info to Device Context ([#2984](https://github.com/getsentry/sentry-react-native/pull/2984))
1343
-
1344
- ### Fixes
1345
-
1346
- - Allow disabling native on RNNA ([#2978](https://github.com/getsentry/sentry-react-native/pull/2978))
1347
- - iOS Autolinking for RN 0.68 and older ([#2980](https://github.com/getsentry/sentry-react-native/pull/2980))
1348
- - Clean up `modules.json` when building bundles ([#3008](https://github.com/getsentry/sentry-react-native/pull/3008))
1349
- - Only include Screenshots and View Hierarchy for iOS and Mac Catalyst builds ([#3007](https://github.com/getsentry/sentry-react-native/pull/3007))
1350
- - Breadcrumbs from Native SDKs are created with timestamps in seconds ([#2997](https://github.com/getsentry/sentry-react-native/pull/2997))
1351
- - `addBreadcrumb` converts converts non object data to `{ value: data }` ([#2997](https://github.com/getsentry/sentry-react-native/pull/2997))
1352
-
1353
- ### Dependencies
1354
-
1355
- - Bump JavaScript SDK from v7.47.0 to v7.49.0 ([#2975](https://github.com/getsentry/sentry-react-native/pull/2975), [#2988](https://github.com/getsentry/sentry-react-native/pull/2988))
1356
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7490)
1357
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.47.0...7.49.0)
1358
- - Bump Cocoa SDK from v8.4.0 to v8.5.0 ([#2977](https://github.com/getsentry/sentry-react-native/pull/2977))
1359
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#850)
1360
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.4.0...8.5.0)
1361
- - Bump CLI from v2.17.1 to v2.17.4 ([#2966](https://github.com/getsentry/sentry-react-native/pull/2966), [#2982](https://github.com/getsentry/sentry-react-native/pull/2982), [#2987](https://github.com/getsentry/sentry-react-native/pull/2987))
1362
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2174)
1363
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.17.1...2.17.4)
1364
-
1365
- ## 5.3.1
1366
-
1367
- ### Fixes
1368
-
1369
- - Disable `enableNativeCrashHandling` and `enableAutoPerformanceTracing` on Apple ([#2936](https://github.com/getsentry/sentry-react-native/pull/))
1370
- - Mac Catalyst builds successfully
1371
- - `sentry.gradle` Gracefully skip modules collecting if the script doesn't exist ([#2952](https://github.com/getsentry/sentry-react-native/pull/2952))
1372
-
1373
- ### Dependencies
1374
-
1375
- - Bump JavaScript SDK from v7.45.0 to v7.47.0 ([#2946](https://github.com/getsentry/sentry-react-native/pull/2946), [#2958](https://github.com/getsentry/sentry-react-native/pull/2958))
1376
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7470)
1377
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.45.0...7.47.0)
1378
- - Bump Android SDK from v6.16.0 to v6.17.0 ([#2948](https://github.com/getsentry/sentry-react-native/pull/2948))
1379
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6170)
1380
- - [diff](https://github.com/getsentry/sentry-java/compare/6.16.0...6.17.0)
1381
- - Bump Cocoa SDK from v8.3.3 to v8.4.0 ([#2954](https://github.com/getsentry/sentry-react-native/pull/2954))
1382
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#840)
1383
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.3.3...8.4.0)
1384
- - Bump CLI from v2.16.1 to v2.17.1 ([#2957](https://github.com/getsentry/sentry-react-native/pull/2957), [#2964](https://github.com/getsentry/sentry-react-native/pull/2964))
1385
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2171)
1386
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.16.1...2.17.1)
1387
-
1388
- ## 5.3.0
1389
-
1390
- ### Features
1391
-
1392
- - Add `enableTracing` option ([#2933](https://github.com/getsentry/sentry-react-native/pull/2933))
1393
- - Add Tabs auto instrumentation for React Native Navigation ([#2932](https://github.com/getsentry/sentry-react-native/pull/2932))
1394
- - This is enabled by default, if you want to disable tabs instrumentation see the example below.
1395
-
1396
- ```js
1397
- const routingInstrumentation = new Sentry.ReactNativeNavigationInstrumentation(Navigation, { enableTabsInstrumentation: false })
1398
- ```
1399
-
1400
- ### Fixes
1401
-
1402
- - Disable HTTP Client Errors by default on all platform ([#2931](https://github.com/getsentry/sentry-react-native/pull/2931))
1403
- - See [HttpClient](https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#httpclient) for configuration details.
1404
- - Use `enableCaptureFailedRequests` to enable the feature.
1405
-
1406
- ```js
1407
- Sentry.init({ enableCaptureFailedRequests: true })
1408
- ```
1409
-
1410
- ### Dependencies
1411
-
1412
- - Bump JavaScript SDK from v7.44.2 to v7.45.0 ([#2927](https://github.com/getsentry/sentry-react-native/pull/2927))
1413
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7450)
1414
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.44.2...7.45.0)
1415
- - Bump CLI from v2.15.2 to v2.16.1 ([#2926](https://github.com/getsentry/sentry-react-native/pull/2926))
1416
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2161)
1417
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.15.2...2.16.1)
1418
- - Bump Cocoa SDK from v8.3.2 to v8.3.3 ([#2925](https://github.com/getsentry/sentry-react-native/pull/2925))
1419
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#833)
1420
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.3.2...8.3.3)
1421
-
1422
- ## 5.2.0
1423
-
1424
- ### Features
1425
-
1426
- - Add User Interaction Tracing for Touch events ([#2835](https://github.com/getsentry/sentry-react-native/pull/2835))
1427
- - Add Gesture Tracing for React Native Gesture Handler API v2 ([#2865](https://github.com/getsentry/sentry-react-native/pull/2865))
1428
-
1429
- ### Fixes
1430
-
1431
- - Fix use Fetch transport when option `enableNative` is `false` ([#2897](https://github.com/getsentry/sentry-react-native/pull/2897))
1432
- - Improve logs when `enableNative` is `false` ([#2897](https://github.com/getsentry/sentry-react-native/pull/2897))
1433
-
1434
- ### Dependencies
1435
-
1436
- - Bump JavaScript SDK from v7.40.0 to v7.44.2 ([#2874](https://github.com/getsentry/sentry-react-native/pull/2874), [#2908](https://github.com/getsentry/sentry-react-native/pull/2908), [#2909](https://github.com/getsentry/sentry-react-native/pull/2909))
1437
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7442)
1438
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.40.0...7.44.2)
1439
- - Bump Android SDK from v6.15.0 to v6.16.0 ([#2903](https://github.com/getsentry/sentry-react-native/pull/2903))
1440
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6160)
1441
- - [diff](https://github.com/getsentry/sentry-java/compare/6.15.0...6.16.0)
1442
- - Bump Cocoa SDK from v8.3.0 to v8.3.2 ([#2895](https://github.com/getsentry/sentry-react-native/pull/2895))
1443
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#832)
1444
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.3.0...8.3.2)
1445
- - Bump CLI from v2.14.4 to v2.15.2 ([#2898](https://github.com/getsentry/sentry-react-native/pull/2898))
1446
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2152)
1447
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.14.4...2.15.2)
1448
-
1449
- ## 5.1.1
1450
-
1451
- ### Fixes
1452
-
1453
- - Remove non URL `frame.abs_path` which was causing source maps to fail ([#2891](https://github.com/getsentry/sentry-react-native/pull/2891))
1454
-
1455
- ### Dependencies
1456
-
1457
- - Bump Cocoa SDK from v8.2.0 to v8.3.0 ([#2876](https://github.com/getsentry/sentry-react-native/pull/2876))
1458
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#830)
1459
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.2.0...8.3.0)
1460
- - Bump CLI from v2.14.3 to v2.14.4 ([#2873](https://github.com/getsentry/sentry-react-native/pull/2873))
1461
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2144)
1462
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.14.3...2.14.4)
1463
-
1464
- ## 5.1.0
1465
-
1466
- ### Features
1467
-
1468
- - Add App Context `in_foreground` ([#2826](https://github.com/getsentry/sentry-react-native/pull/2826))
1469
-
1470
- ### Fixes
1471
-
1472
- - Match app start measurements naming with other SDKs ([#2855](https://github.com/getsentry/sentry-react-native/pull/2855))
1473
- - `app.start.cold` to `app_start_cold`
1474
- - `app.start.warm` to `app_start_warm`
1475
-
1476
- ### Dependencies
1477
-
1478
- - Bump Cocoa SDK from v8.0.0 to v8.2.0 ([#2776](https://github.com/getsentry/sentry-react-native/pull/2776))
1479
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#820)
1480
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.0.0...8.2.0)
1481
- - Bump JavaScript SDK from v7.37.2 to v7.40.0 ([#2836](https://github.com/getsentry/sentry-react-native/pull/2836), [#2864](https://github.com/getsentry/sentry-react-native/pull/2864))
1482
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7400)
1483
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.37.2...7.40.0)
1484
- - Bump CLI from v2.10.0 to v2.14.3 ([#2848](https://github.com/getsentry/sentry-react-native/pull/2848), [#2869](https://github.com/getsentry/sentry-react-native/pull/2869))
1485
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2143)
1486
- - [diff](https://github.com/getsentry/sentry-cli/compare/2.10.0...2.14.3)
1487
- - Bump Android SDK from v6.14.0 to v6.15.0 ([#2868](https://github.com/getsentry/sentry-react-native/pull/2868))
1488
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6150)
1489
- - [diff](https://github.com/getsentry/sentry-java/compare/6.14.0...6.15.0)
1490
-
1491
- ## 5.0.0
1492
-
1493
- 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](https://docs.sentry.io/platforms/react-native/migration/#from-4x-to-5x).
1494
-
1495
- ### Features
1496
-
1497
- - Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522))
1498
- - Add View Hierarchy to the crashed/errored events ([#2708](https://github.com/getsentry/sentry-react-native/pull/2708))
1499
- - Send react native js engine, turbo module, fabric flags and component stack in Event contexts ([#2552](https://github.com/getsentry/sentry-react-native/pull/2552))
1500
- - Sync `tags`, `extra`, `fingerprint`, `level`, `environment` and `breadcrumbs` from `sentry-cocoa` during event processing. ([#2713](https://github.com/getsentry/sentry-react-native/pull/2713))
1501
- - `breadcrumb.level` value `log` is transformed to `debug` when syncing with native layers.
1502
- - Remove `breadcrumb.level` value `critical` transformation to `fatal`.
1503
- - Default `breadcrumb.level` is `info`
1504
-
1505
- ### Breaking changes
1506
-
1507
- - Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing`
1508
- - Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking`
1509
- - Remove link hooks (RN 0.68 and older) ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332))
1510
- - iOS min target 11, Android API min 21, min React Native version 0.65 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522), [#2687](https://github.com/getsentry/sentry-react-native/pull/2687))
1511
- - New ReactNativeTracingOptions ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481))
1512
- - `idleTimeout` renamed to `idleTimeoutMs`
1513
- - `maxTransactionDuration` renamed to `finalTimeoutMs`
1514
- - `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712))
1515
- - Message event current stack trace moved from `exception` to `threads` ([#2694](https://github.com/getsentry/sentry-react-native/pull/2694))
1516
-
1517
- ### Fixes
1518
-
1519
- - Unreachable fallback to fetch transport if native is not available ([#2695](https://github.com/getsentry/sentry-react-native/pull/2695))
1520
-
1521
- ### Dependencies
1522
-
1523
- - Bump Cocoa SDK from v7.31.5 to v8.0.0 ([#2756](https://github.com/getsentry/sentry-react-native/pull/2756))
1524
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#800)
1525
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.5...8.0.0)
1526
- - Bump CLI from v1.74.4 to v2.10.0 ([#2669](https://github.com/getsentry/sentry-react-native/pull/2669))
1527
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2100)
1528
- - [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.10.0)
1529
-
1530
- ## 4.15.0
1531
-
1532
- ### Features
1533
-
1534
- - Collect modules script for XCode builds supports NODE_BINARY to set path to node executable ([#2805](https://github.com/getsentry/sentry-react-native/pull/2805))
1535
-
1536
- ### Fixes
1537
-
1538
- - React Native Error Handlers Integration doesn't crash if ErrorUtils are not available ([#2808](https://github.com/getsentry/sentry-react-native/pull/2808))
1539
-
1540
- ### Dependencies
1541
-
1542
- - Bump Android SDK from v6.12.1 to v6.14.0 ([#2790](https://github.com/getsentry/sentry-react-native/pull/2790), [#2809](https://github.com/getsentry/sentry-react-native/pull/2809), [#2828](https://github.com/getsentry/sentry-react-native/pull/2828))
1543
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6140)
1544
- - [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.14.0)
1545
- - Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767))
1546
- - [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711)
1547
- - [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1)
1548
- - Bump JavaScript SDK from v7.32.1 to v7.37.2 ([#2785](https://github.com/getsentry/sentry-react-native/pull/2785), [#2799](https://github.com/getsentry/sentry-react-native/pull/2799), [#2818](https://github.com/getsentry/sentry-react-native/pull/2818))
1549
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7372)
1550
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.37.2)
1551
-
1552
- ## 5.0.0-rc.1
1553
-
1554
- ### Fixes
1555
-
1556
- - React Native Error Handlers Integration doesn't crash if ErrorUtils are not available ([#2808](https://github.com/getsentry/sentry-react-native/pull/2808))
1557
-
1558
- ## 5.0.0-beta.2
1559
-
1560
- ### Features
1561
-
1562
- - Add View Hierarchy to the crashed/errored events ([#2708](https://github.com/getsentry/sentry-react-native/pull/2708))
1563
- - Collect modules script for XCode builds supports NODE_BINARY to set path to node executable ([#2805](https://github.com/getsentry/sentry-react-native/pull/2805))
1564
-
1565
- ### Dependencies
1566
-
1567
- - Bump Android SDK from v6.12.1 to v6.14.0 ([#2790](https://github.com/getsentry/sentry-react-native/pull/2790), [#2809](https://github.com/getsentry/sentry-react-native/pull/2809), [#2828](https://github.com/getsentry/sentry-react-native/pull/2828))
1568
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6140)
1569
- - [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.14.0)
1570
- - Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767))
1571
- - [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711)
1572
- - [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1)
1573
- - Bump JavaScript SDK from v7.32.1 to v7.37.2 ([#2785](https://github.com/getsentry/sentry-react-native/pull/2785), [#2799](https://github.com/getsentry/sentry-react-native/pull/2799), [#2818](https://github.com/getsentry/sentry-react-native/pull/2818))
1574
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7372)
1575
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.37.2)
1576
-
1577
- ## 5.0.0-beta.1
1578
-
1579
- - Latest changes from 4.14.0
1580
-
1581
- ### Breaking changes
1582
-
1583
- - Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing`
1584
- - Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking`
1585
-
1586
- ### Features
1587
-
1588
- - Sync `tags`, `extra`, `fingerprint`, `level`, `environment` and `breadcrumbs` from `sentry-cocoa` during event processing. ([#2713](https://github.com/getsentry/sentry-react-native/pull/2713))
1589
- - `breadcrumb.level` value `log` is transformed to `debug` when syncing with native layers.
1590
- - Remove `breadcrumb.level` value `critical` transformation to `fatal`.
1591
- - Default `breadcrumb.level` is `info`
1592
-
1593
- ### Dependencies
1594
-
1595
- - Bump Cocoa SDK from v7.31.5 to v8.0.0 ([#2756](https://github.com/getsentry/sentry-react-native/pull/2756))
1596
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#800)
1597
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.5...8.0.0)
1598
- - Bump Android SDK from v6.12.1 to v6.13.0 ([#2790](https://github.com/getsentry/sentry-react-native/pull/2790))
1599
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6130)
1600
- - [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.13.0)
1601
-
1602
- ## 4.14.0
1603
-
1604
- ### Features
1605
-
1606
- - Add support for RNGP introduced in React Native 0.71.0 ([#2759](https://github.com/getsentry/sentry-react-native/pull/2759))
1607
-
1608
- ### Fixes
1609
-
1610
- - Take screenshot runs on UI thread on Android ([#2743](https://github.com/getsentry/sentry-react-native/pull/2743))
1611
-
1612
- ### Dependencies
1613
-
1614
- - Bump Android SDK from v6.11.0 to v6.12.1 ([#2755](https://github.com/getsentry/sentry-react-native/pull/2755))
1615
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6121)
1616
- - [diff](https://github.com/getsentry/sentry-java/compare/6.11.0...6.12.1)
1617
- - Bump JavaScript SDK from v7.29.0 to v7.32.1 ([#2738](https://github.com/getsentry/sentry-react-native/pull/2738), [#2777](https://github.com/getsentry/sentry-react-native/pull/2777))
1618
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7321)
1619
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.29.0...7.32.1)
1620
-
1621
- ## 5.0.0-alpha.11
1622
-
1623
- - Latest changes from 4.13.0
1624
-
1625
- ### Breaking changes
1626
-
1627
- - Message event current stack trace moved from exception to threads ([#2694](https://github.com/getsentry/sentry-react-native/pull/2694))
1628
- - `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712))
1629
-
1630
- ### Fixes
1631
-
1632
- - Unreachable fallback to fetch transport if native is not available ([#2695](https://github.com/getsentry/sentry-react-native/pull/2695))
1633
-
1634
- ## 4.13.0
1635
-
1636
- ### Fixes
1637
-
1638
- - Missing `originalException` in `beforeSend` for events from react native error handler ([#2706](https://github.com/getsentry/sentry-react-native/pull/2706))
1639
- - ModulesLoader integration returns original event if native is not available and event modules overwrite native modules ([#2730](https://github.com/getsentry/sentry-react-native/pull/2730))
1640
-
1641
- ### Dependencies
1642
-
1643
- - Bump Cocoa SDK from v7.31.3 to v7.31.5 ([#2699](https://github.com/getsentry/sentry-react-native/pull/2699), [#2714](https://github.com/getsentry/sentry-react-native/pull/2714))
1644
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/8.0.0/CHANGELOG.md#7315)
1645
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.3...7.31.5)
1646
- - Bump JavaScript SDK from v7.26.0 to v7.29.0 ([#2705](https://github.com/getsentry/sentry-react-native/pull/2705), [#2709](https://github.com/getsentry/sentry-react-native/pull/2709), [#2715](https://github.com/getsentry/sentry-react-native/pull/2715), [#2736](https://github.com/getsentry/sentry-react-native/pull/2736))
1647
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7290)
1648
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.26.0...7.29.0)
1649
- - Bump Android SDK from v6.9.2 to v6.11.0 ([#2704](https://github.com/getsentry/sentry-react-native/pull/2704), [#2724](https://github.com/getsentry/sentry-react-native/pull/2724))
1650
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6110)
1651
- - [diff](https://github.com/getsentry/sentry-java/compare/6.9.2...6.11.0)
1652
-
1653
- ## 4.12.0
1654
-
1655
- ### Features
1656
-
1657
- - Add `lastEventId` method to the API ([#2675](https://github.com/getsentry/sentry-react-native/pull/2675))
1658
-
1659
- ### Fix
1660
-
1661
- - `Sentry.startTransaction` doesn't require `op` ([#2691](https://github.com/getsentry/sentry-react-native/pull/2691))
1662
-
1663
- ### Dependencies
1664
-
1665
- - Bump Cocoa SDK from v7.31.2 to v7.31.3 ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647))
1666
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/8.0.0/CHANGELOG.md#7313)
1667
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.2...7.31.3)
1668
- - Bump JavaScript SDK from v7.21.1 to v7.26.0 ([#2672](https://github.com/getsentry/sentry-react-native/pull/2672), [#2648](https://github.com/getsentry/sentry-react-native/pull/2648), [#2692](https://github.com/getsentry/sentry-react-native/pull/2692))
1669
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7260)
1670
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.21.1...7.26.0)
1671
- - Bump Android SDK from v6.9.1 to v6.9.2 ([#2677](https://github.com/getsentry/sentry-react-native/pull/2677))
1672
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#692)
1673
- - [diff](https://github.com/getsentry/sentry-java/compare/6.9.1...6.9.2)
1674
-
1675
- ## 5.0.0-alpha.10
1676
-
1677
- - Latest changes from 4.11.0
1678
-
1679
- ### Dependencies
1680
-
1681
- - Bump CLI from v1.74.4 to v2.10.0 ([#2669](https://github.com/getsentry/sentry-react-native/pull/2669))
1682
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2100)
1683
- - [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.10.0)
1684
-
1685
- ## 4.11.0
1686
-
1687
- ### Features
1688
-
1689
- - Screenshots ([#2610](https://github.com/getsentry/sentry-react-native/pull/2610))
1690
-
1691
- ## 4.10.1
1692
-
1693
- ### Fixes
1694
-
1695
- - Bump Wizard from v1.2.17 to v1.4.0 ([#2645](https://github.com/getsentry/sentry-react-native/pull/2645))
1696
- - [changelog](https://github.com/getsentry/sentry-wizard/blob/master/CHANGELOG.md#140)
1697
- - [diff](https://github.com/getsentry/sentry-wizard/compare/v1.2.17...v1.4.0)
1698
- - Android builds without ext config, auto create assets dir for modules ([#2652](https://github.com/getsentry/sentry-react-native/pull/2652))
1699
- - Exit gracefully if source map file for collecting modules doesn't exist ([#2655](https://github.com/getsentry/sentry-react-native/pull/2655))
1700
- - Create only one clean-up tasks for modules collection ([#2657](https://github.com/getsentry/sentry-react-native/pull/2657))
1701
-
1702
- ### Dependencies
1703
-
1704
- - Bump Android SDK from v6.8.0 to v6.9.1 ([#2653](https://github.com/getsentry/sentry-react-native/pull/2653))
1705
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#691)
1706
- - [diff](https://github.com/getsentry/sentry-java/compare/6.8.0...6.9.1)
1707
-
1708
- ## 5.0.0-alpha.9
1709
-
1710
- - Latest changes from 4.10.0
1711
-
1712
- ### Fixes
1713
-
1714
- - Add missing source Spec for RNSentry Codegen. ([#2639](https://github.com/getsentry/sentry-react-native/pull/2639))
1715
-
1716
- ## 4.10.0
1717
-
1718
- ### Features
1719
-
1720
- - JS Runtime dependencies are sent in Events ([#2606](https://github.com/getsentry/sentry-react-native/pull/2606))
1721
- - To collect JS dependencies on iOS add `../node_modules/@sentry/react-native/scripts/collect-modules.sh` at the end of the `Bundle React Native code and images` build phase. The collection only works on Release builds. Android builds have a new step in `sentry.gradle` plugin. More in [the migration documentation](https://docs.sentry.io/platforms/react-native/migration#from-48x-to-49x).
1722
-
1723
- ### Dependencies
1724
-
1725
- - Bump JavaScript SDK from v7.20.1 to v7.21.1 ([#2636](https://github.com/getsentry/sentry-react-native/pull/2636))
1726
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7211)
1727
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.20.1...7.21.1)
1728
-
1729
- ## 5.0.0-alpha.8
1730
-
1731
- - Latest changes from 4.9.0
1732
-
1733
- ## 4.9.0
1734
-
1735
- ### Features
1736
-
1737
- - Add `maxQueueSize` option ([#2578](https://github.com/getsentry/sentry-react-native/pull/2578))
1738
-
1739
- ### Fixes
1740
-
1741
- - Use `Scope` class rather than `Scope` type for top-level functions ([#2627](https://github.com/getsentry/sentry-react-native/pull/2627))
1742
-
1743
- ### Dependencies
1744
-
1745
- - Bump JavaScript SDK from v7.16.0 to v7.20.1 ([#2582](https://github.com/getsentry/sentry-react-native/pull/2582), [#2598](https://github.com/getsentry/sentry-react-native/pull/2598), [#2632](https://github.com/getsentry/sentry-react-native/pull/2632), [#2607](https://github.com/getsentry/sentry-react-native/pull/2607))
1746
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7201)
1747
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.16.0...7.20.1)
1748
- - Bump Cocoa SDK from v7.29.0 to v7.31.2 ([#2592](https://github.com/getsentry/sentry-react-native/pull/2592), [#2601](https://github.com/getsentry/sentry-react-native/pull/2601), [#2629](https://github.com/getsentry/sentry-react-native/pull/2629))
1749
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7312)
1750
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.29.0...7.31.2)
1751
- - Bump Android SDK from v6.6.0 to v6.8.0 ([#2600](https://github.com/getsentry/sentry-react-native/pull/2600), [#2628](https://github.com/getsentry/sentry-react-native/pull/2628))
1752
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#680)
1753
- - [diff](https://github.com/getsentry/sentry-java/compare/6.6.0...6.8.0)
1754
-
1755
- ## 4.8.0
1756
-
1757
- ### Fixes
1758
-
1759
- - Message event can have attached stacktrace ([#2577](https://github.com/getsentry/sentry-react-native/pull/2577))
1760
- - Fixed maximum call stack exceeded error resulting from large payloads ([#2579](https://github.com/getsentry/sentry-react-native/pull/2579))
1761
-
1762
- ### Dependencies
1763
-
1764
- - Bump Android SDK from v6.5.0 to v6.6.0 ([#2572](https://github.com/getsentry/sentry-react-native/pull/2572))
1765
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#660)
1766
- - [diff](https://github.com/getsentry/sentry-java/compare/6.5.0...6.6.0)
1767
- - Bump Cocoa SDK from v7.28.0 to v7.29.0 ([#2571](https://github.com/getsentry/sentry-react-native/pull/2571))
1768
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7290)
1769
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.28.0...7.29.0)
1770
-
1771
- ## 5.0.0-alpha.7
1772
-
1773
- - Latest changes from 4.7.1
1774
-
1775
- ### Fixes
1776
-
1777
- - Remove hardcoded Folly version ([#2558](https://github.com/getsentry/sentry-react-native/pull/2558))
1778
-
1779
- ### Features
1780
-
1781
- - Send react native js engine, turbo module, fabric flags and component stack in Event contexts ([#2552](https://github.com/getsentry/sentry-react-native/pull/2552))
1782
-
1783
- ### Dependencies
1784
-
1785
- - Bump CLI from v1.74.4 to v2.7.0 ([#2457](https://github.com/getsentry/sentry-react-native/pull/2457))
1786
- - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#270)
1787
- - [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.7.0)
1788
- - Bump Android SDK from v6.5.0 to v6.6.0 ([#2572](https://github.com/getsentry/sentry-react-native/pull/2572))
1789
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#660)
1790
- - [diff](https://github.com/getsentry/sentry-java/compare/6.5.0...6.6.0)
1791
- - Bump Cocoa SDK from v7.28.0 to v7.29.0 ([#2571](https://github.com/getsentry/sentry-react-native/pull/2571))
1792
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7290)
1793
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.28.0...7.29.0)
1794
-
1795
- ## 4.7.1
1796
-
1797
- ### Fixes
1798
-
1799
- - Remove duplicate sdk package record from envelope ([#2570](https://github.com/getsentry/sentry-react-native/pull/2570))
1800
- - Fix `appHangsTimeoutInterval` -> `appHangTimeoutInterval` option name ([#2574](https://github.com/getsentry/sentry-react-native/pull/2574))
1801
-
1802
- ## 4.7.0
1803
-
1804
- ### Dependencies
1805
-
1806
- - Bump Android SDK from v6.4.3 to v6.5.0 ([#2535](https://github.com/getsentry/sentry-react-native/pull/2535))
1807
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#650)
1808
- - [diff](https://github.com/getsentry/sentry-java/compare/6.4.3...6.5.0)
1809
- - Bump JavaScript SDK from v7.14.2 to v7.16.0 ([#2536](https://github.com/getsentry/sentry-react-native/pull/2536), [#2561](https://github.com/getsentry/sentry-react-native/pull/2561))
1810
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7160)
1811
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.14.2...7.16.0)
1812
- - Bump Cocoa SDK from v7.27.1 to v7.28.0 ([#2548](https://github.com/getsentry/sentry-react-native/pull/2548))
1813
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7280)
1814
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.27.1...7.28.0)
1815
-
1816
- ## 5.0.0-alpha.6
1817
-
1818
- - Latest changes from 4.6.1
1819
-
1820
- ### Features
1821
-
1822
- - Add initial support for the RN New Architecture, backwards compatible RNSentry Turbo Module ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522))
1823
-
1824
- ### Breaking changes
1825
-
1826
- - New ReactNativeTracingOptions idleTimeoutMs and finalTimeoutMs replacing idleTimeout and maxTransactionDuration respectively ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481))
1827
- - iOS min target 12.4, Android API min 21, min React Native version 0.70 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522))
1828
-
1829
- ### Dependencies
1830
-
1831
- - Bump Android SDK from v6.4.3 to v6.5.0 ([#2535](https://github.com/getsentry/sentry-react-native/pull/2535))
1832
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#650)
1833
- - [diff](https://github.com/getsentry/sentry-java/compare/6.4.3...6.5.0)
1834
- - Bump JavaScript SDK from v7.14.2 to v7.15.0 ([#2536](https://github.com/getsentry/sentry-react-native/pull/2536))
1835
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7150)
1836
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.14.2...7.15.0)
1837
-
1838
- ## 4.6.1
1839
-
1840
- ### Fixes
1841
-
1842
- - Make `configureScope` callback safe [#2510](https://github.com/getsentry/sentry-react-native/pull/2510)
1843
- - Allows collecting app start and slow/frozen frames if Native SDK is inited manually [#2517](https://github.com/getsentry/sentry-react-native/pull/2517)
1844
- - Nested breadcrumb data on android was not treated correctly [#2519](https://github.com/getsentry/sentry-react-native/pull/2519)
1845
-
1846
- ### Dependencies
1847
-
1848
- - Bump JavaScript SDK from v7.14.0 to v7.14.2 ([#2511](https://github.com/getsentry/sentry-react-native/pull/2511), [#2526](https://github.com/getsentry/sentry-react-native/pull/2526))
1849
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7142)
1850
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.14.0...7.14.2)
1851
- - Bump Cocoa SDK from v7.27.0 to v7.27.1 ([#2521](https://github.com/getsentry/sentry-react-native/pull/2521))
1852
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7271)
1853
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.27.0...7.27.1)
1854
- - Bump Android SDK from v6.4.2 to v6.4.3 ([#2520](https://github.com/getsentry/sentry-react-native/pull/2520))
1855
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#643)
1856
- - [diff](https://github.com/getsentry/sentry-java/compare/6.4.2...6.4.3)
1857
-
1858
- ## 5.0.0-alpha.5
1859
-
1860
- ### Fixes
1861
-
1862
- - Make `configureScope` callback safe [#2510](https://github.com/getsentry/sentry-react-native/pull/2510)
1863
-
1864
- ### Dependencies
1865
-
1866
- - Bump JavaScript SDK from v7.14.0 to v7.14.1 ([#2511](https://github.com/getsentry/sentry-react-native/pull/2511))
1867
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7141)
1868
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.14.0...7.14.1)
1869
- - Bump Cocoa SDK from v7.27.0 to v7.27.1 ([#2521](https://github.com/getsentry/sentry-react-native/pull/2521))
1870
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7271)
1871
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.27.0...7.27.1)
1872
- - Bump Android SDK from v6.4.2 to v6.4.3 ([#2520](https://github.com/getsentry/sentry-react-native/pull/2520))
1873
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#643)
1874
- - [diff](https://github.com/getsentry/sentry-java/compare/6.4.2...6.4.3)
1875
-
1876
- ## 4.6.0
1877
-
1878
- ### Fixes
1879
-
1880
- - SDK Gracefully downgrades when callback throws an error ([#2502](https://github.com/getsentry/sentry-react-native/pull/2502))
1881
- - React Navigation v5 ignores when current route is undefined after state changed. ([#2484](https://github.com/getsentry/sentry-react-native/pull/2484))
1882
-
1883
- ### Features
1884
-
1885
- - Add ClientReports ([#2496](https://github.com/getsentry/sentry-react-native/pull/2496))
1886
-
1887
- ### Sentry Self-hosted Compatibility
1888
-
1889
- - Starting with version `4.6.0` of the `@sentry/react-native` package, [Sentry's self hosted version >= v21.9.0](https://github.com/getsentry/self-hosted/releases) is required or you have to manually disable sending client reports via the `sendClientReports` option. This only applies to self-hosted Sentry. If you are using [sentry.io](https://sentry.io), no action is needed.
1890
-
1891
- ### Dependencies
1892
-
1893
- - Bump Cocoa SDK from v7.25.1 to v7.27.0 ([#2500](https://github.com/getsentry/sentry-react-native/pull/2500), [#2506](https://github.com/getsentry/sentry-react-native/pull/2506))
1894
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7270)
1895
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.25.1...7.27.0)
1896
- - Bump JavaScript SDK from v7.13.0 to v7.14.0 ([#2504](https://github.com/getsentry/sentry-react-native/pull/2504))
1897
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7140)
1898
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.13.0...7.14.0)
1899
-
1900
- ## 5.0.0-alpha.4
1901
-
1902
- - Latest changes from 4.5.0
1903
-
1904
- ### Breaking changes
1905
-
1906
- - New ReactNativeTracingOptions idleTimeoutMs and finalTimeoutMs replacing idleTimeout and maxTransactionDuration respectively ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481))
1907
-
1908
- ## 4.5.0
1909
-
1910
- ### Features
1911
-
1912
- - Add user feedback ([#2486](https://github.com/getsentry/sentry-react-native/pull/2486))
1913
- - Add typings for app hang functionality ([#2479](https://github.com/getsentry/sentry-react-native/pull/2479))
1914
-
1915
- ### Fixes
1916
-
1917
- - Update warm/cold start span ops ([#2487](https://github.com/getsentry/sentry-react-native/pull/2487))
1918
- - Detect hard crash the same as native sdks ([#2480](https://github.com/getsentry/sentry-react-native/pull/2480))
1919
- - Integrations factory receives default integrations ([#2494](https://github.com/getsentry/sentry-react-native/pull/2494))
1920
-
1921
- ### Dependencies
1922
-
1923
- - Bump Android SDK from v6.4.1 to v6.4.2 ([#2485](https://github.com/getsentry/sentry-react-native/pull/2485))
1924
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#642)
1925
- - [diff](https://github.com/getsentry/sentry-java/compare/6.4.1...6.4.2)
1926
- - Bump JavaScript SDK from v7.12.1 to v7.13.0 ([#2478](https://github.com/getsentry/sentry-react-native/pull/2478))
1927
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7130)
1928
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.12.1...7.13.0)
1929
-
1930
- ## 4.4.0
1931
-
1932
- ### Features
1933
-
1934
- - Add attachments support ([#2463](https://github.com/getsentry/sentry-react-native/pull/2463))
1935
-
1936
- ## 4.3.1
1937
-
1938
- ### Fixes
1939
-
1940
- - ReactNativeTracingOptions maxTransactionDuration is in seconds ([#2469](https://github.com/getsentry/sentry-react-native/pull/2469))
1941
-
1942
- ### Dependencies
1943
-
1944
- - Bump Cocoa SDK from v7.24.1 to v7.25.1 ([#2465](https://github.com/getsentry/sentry-react-native/pull/2465))
1945
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7251)
1946
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.24.1...7.25.1)
1947
-
1948
- ## 5.0.0-alpha.3
1949
-
1950
- - Latest changes from 4.3.x
1951
-
1952
- ### Dependencies
1953
-
1954
- - Bump Wizard from v2.0.0 to v2.2.0 ([#2460](https://github.com/getsentry/sentry-react-native/pull/2460))
1955
- - [changelog](https://github.com/getsentry/sentry-wizard/blob/master/CHANGELOG.md#v220)
1956
- - [diff](https://github.com/getsentry/sentry-wizard/compare/v2.0.0...v2.2.0)
1957
-
1958
- ## 4.3.0
1959
-
1960
- ### Features
1961
-
1962
- - Add Transaction Source for Dynamic Sampling Context ([#2454](https://github.com/getsentry/sentry-react-native/pull/2454))
1963
-
1964
- ### Dependencies
1965
-
1966
- - Bump Cocoa SDK from v7.23.0 to v7.24.1 ([#2456](https://github.com/getsentry/sentry-react-native/pull/2456))
1967
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7241)
1968
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.23.0...7.24.1)
1969
- - Bump Android SDK from v6.3.1 to v6.4.1 ([#2437](https://github.com/getsentry/sentry-react-native/pull/2437))
1970
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#641)
1971
- - [diff](https://github.com/getsentry/sentry-java/compare/6.3.1...6.4.1)
1972
- - Bump JavaScript SDK from v7.9.0 to v7.12.1 ([#2451](https://github.com/getsentry/sentry-react-native/pull/2451))
1973
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7121)
1974
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.9.0...7.12.1)
1975
-
1976
- ## 4.2.4
1977
-
1978
- ### Fixes
1979
-
1980
- - ReactNativeTracing wrongly marks transactions as deadline_exceeded when it reaches the idleTimeout ([#2427](https://github.com/getsentry/sentry-react-native/pull/2427))
1981
-
1982
- ## 5.0.0-alpha.2
1983
-
1984
- - Latest changes from 4.2.x
1985
-
1986
- ## 5.0.0-alpha.1
1987
-
1988
- ### Fixes
1989
-
1990
- - Auto linking for RN >= 0.69 ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332))
1991
-
1992
- ## 4.2.3
1993
-
1994
- ### Fixes
1995
-
1996
- - Bump Cocoa SDK to v7.23.0 ([#2401](https://github.com/getsentry/sentry-react-native/pull/2401))
1997
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7230)
1998
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.22.0...7.23.0)
1999
- - Bump Android SDK to v6.3.1 ([#2410](https://github.com/getsentry/sentry-react-native/pull/2410))
2000
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#631)
2001
- - [diff](https://github.com/getsentry/sentry-java/compare/6.3.0...6.3.1)
2002
- - Bump JavaScript SDK to v7.9.0 ([#2412](https://github.com/getsentry/sentry-react-native/pull/2412))
2003
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#790)
2004
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.7.0...7.9.0)
2005
-
2006
- ## 4.2.2
2007
-
2008
- ### Fixes
2009
-
2010
- - Should not ignore `options.transport` function provided in `Sentry.init(...)` ([#2398](https://github.com/getsentry/sentry-react-native/pull/2398))
2011
-
2012
- ## 4.2.1
2013
-
2014
- ### Fixes
2015
-
2016
- - SENTRY_DIST accepts non-number values on Android ([#2395](https://github.com/getsentry/sentry-react-native/pull/2395))
2017
-
2018
- ### Features
2019
-
2020
- - Bump Cocoa SDK to v7.22.0 ([#2392](https://github.com/getsentry/sentry-react-native/pull/2392))
2021
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7220)
2022
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.21.0...7.22.0)
2023
-
2024
- ## 4.2.0
2025
-
2026
- ### Features
2027
-
2028
- - Bump Cocoa SDK to v7.21.0 ([#2374](https://github.com/getsentry/sentry-react-native/pull/2374))
2029
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7210)
2030
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.20.0...7.21.0)
2031
- - Bump Android SDK to v6.3.0 ([#2380](https://github.com/getsentry/sentry-react-native/pull/2380))
2032
- - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#630)
2033
- - [diff](https://github.com/getsentry/sentry-java/compare/6.1.4...6.3.0)
2034
- - Bump JavaScript SDK to v7.7.0 ([#2375](https://github.com/getsentry/sentry-react-native/pull/2375))
2035
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#770)
2036
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.6.0...7.7.0)
2037
-
2038
- ## 4.1.3
2039
-
2040
- ### Fixes
2041
-
2042
- - Solve reference to private cocoa SDK class ([#2369](https://github.com/getsentry/sentry-react-native/pull/2369))
2043
-
2044
- ## 4.1.2
2045
-
2046
- ### Fixes
2047
-
2048
- - Set default unit for measurements ([#2360](https://github.com/getsentry/sentry-react-native/pull/2360))
2049
- - When using SENTRY_DIST env. var. on Android, SDK fails to convert to an Integer ([#2365](https://github.com/getsentry/sentry-react-native/pull/2365))
2050
-
2051
- ### Features
2052
-
2053
- - Bump JavaScript SDK to v7.6.0 ([#2361](https://github.com/getsentry/sentry-react-native/pull/2361))
2054
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#760)
2055
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.5.1...7.6.0)
2056
-
2057
- ## 4.1.1
2058
-
2059
- ### Features
2060
-
2061
- - Bump Cocoa SDK to v7.20.0 ([#2341](https://github.com/getsentry/sentry-react-native/pull/2341), [#2356](https://github.com/getsentry/sentry-react-native/pull/2356))
2062
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7200)
2063
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.18.1...7.20.0)
2064
- - Bump JavaScript SDK to v7.5.1 ([#2342](https://github.com/getsentry/sentry-react-native/pull/2342), [#2350](https://github.com/getsentry/sentry-react-native/pull/2350))
2065
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#751)
2066
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.3.1...7.5.1)
2067
-
2068
- ## 4.1.0
2069
-
2070
- - Fix: Send DidBecomeActiveNotification when OOM enabled ([#2326](https://github.com/getsentry/sentry-react-native/pull/2326))
2071
- - Fix: SDK overwrites the user defined ReactNativeTracing ([#2319](https://github.com/getsentry/sentry-react-native/pull/2319))
2072
- - Bump Sentry JavaScript 7.3.1 ([#2306](https://github.com/getsentry/sentry-react-native/pull/2306))
2073
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/7.3.1/CHANGELOG.md)
2074
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.1.1...7.3.1)
2075
- - Bump Sentry Cocoa 7.18.1 ([#2320](https://github.com/getsentry/sentry-react-native/pull/2320))
2076
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.18.1/CHANGELOG.md)
2077
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.18.0...7.18.1)
2078
- - Bump Sentry Android 6.1.4 ([#2320](https://github.com/getsentry/sentry-react-native/pull/2320))
2079
- - [changelog](https://github.com/getsentry/sentry-java/blob/6.1.4/CHANGELOG.md)
2080
- - [diff](https://github.com/getsentry/sentry-java/compare/6.1.2...6.1.4)
2081
-
2082
- ## 4.0.2
2083
-
2084
- - Fix Calculate the absolute number of Android versionCode ([#2313](https://github.com/getsentry/sentry-react-native/pull/2313))
2085
-
2086
- ## 4.0.1
2087
-
2088
- - Filter out app start with more than 60s ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
2089
-
2090
- ## 4.0.0
2091
-
2092
- - Bump Sentry JavaScript 7.1.1 ([#2279](https://github.com/getsentry/sentry-react-native/pull/2279))
2093
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/7.1.1/CHANGELOG.md)
2094
- - [diff](https://github.com/getsentry/sentry-javascript/compare/6.19.2...7.1.1)
2095
- - Bump Sentry Cocoa 7.18.0 ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
2096
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.18.0/CHANGELOG.md)
2097
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.11.0...7.18.0)
2098
- - Bump Sentry Android 6.1.2 ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
2099
- - [changelog](https://github.com/getsentry/sentry-java/blob/6.1.2/CHANGELOG.md)
2100
- - [diff](https://github.com/getsentry/sentry-java/compare/5.7.0...6.1.2)
2101
-
2102
- ## Breaking changes
2103
-
2104
- By bumping Sentry Javascript, new breaking changes were introduced, to know more what was changed, check the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry Javascript.
2105
-
2106
- ## 4.0.0-beta.5
2107
-
2108
- - Fix warning missing DSN on BrowserClient. ([#2294](https://github.com/getsentry/sentry-react-native/pull/2294))
2109
-
2110
- ## 4.0.0-beta.4
2111
-
2112
- - Bump Sentry Cocoa 7.17.0 ([#2300](https://github.com/getsentry/sentry-react-native/pull/2300))
2113
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.17.0/CHANGELOG.md)
2114
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.16.1...7.17.0)
2115
- - Bump Sentry Android 6.1.1 ([#2300](https://github.com/getsentry/sentry-react-native/pull/2300))
2116
- - [changelog](https://github.com/getsentry/sentry-java/blob/6.1.1/CHANGELOG.md)
2117
- - [diff](https://github.com/getsentry/sentry-java/compare/6.0.0...6.1.1)
2118
-
2119
- ## 4.0.0-beta.3
2120
-
2121
- - Bump Sentry Cocoa 7.16.1 ([#2279](https://github.com/getsentry/sentry-react-native/pull/2283))
2122
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.16.1/CHANGELOG.md)
2123
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.11.0...7.16.1)
2124
-
2125
- ## 4.0.0-beta.2
2126
-
2127
- - Bump Sentry JavaScript 7.1.1 ([#2279](https://github.com/getsentry/sentry-react-native/pull/2279))
2128
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/7.1.1/CHANGELOG.md)
2129
- - [diff](https://github.com/getsentry/sentry-javascript/compare/7.0.0...7.1.1)
2130
- - Bump Sentry Android 6.0.0 ([#2281](https://github.com/getsentry/sentry-react-native/pull/2281))
2131
- - [changelog](https://github.com/getsentry/sentry-java/blob/6.0.0/CHANGELOG.md)
2132
- - [diff](https://github.com/getsentry/sentry-java/compare/5.7.0...6.0.0)
2133
-
2134
- ## 4.0.0-beta.1
2135
-
2136
- - Bump Sentry JavaScript 7.0.0 ([#2250](https://github.com/getsentry/sentry-react-native/pull/2250))
2137
- - [changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md)
2138
- - [diff](https://github.com/getsentry/sentry-javascript/compare/6.19.2...7.0.0)
2139
-
2140
- ## Breaking changes
2141
-
2142
- By bumping Sentry Javascript, new breaking changes were introduced, to know more what was changed, check the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry Javascript.
2143
-
2144
- ## 3.4.3
2145
-
2146
- - feat: Support macOS (#2240) by @ospfranco
2147
-
2148
- ## 3.4.2
2149
-
2150
- - fix: Fix cold start appearing again after js bundle reload on Android. #2229
2151
-
2152
- ## 3.4.1
2153
-
2154
- - fix: Make withTouchEventBoundary options optional #2196
2155
-
2156
- ## 3.4.0
2157
-
2158
- ### Various fixes & improvements
2159
-
2160
- - Bump: @sentry/javascript dependencies to 6.19.2 (#2175) by @marandaneto
2161
-
2162
- ## 3.3.6
2163
-
2164
- - fix: Respect given release if no dist is given during SDK init (#2163)
2165
- - Bump: @sentry/javascript dependencies to 6.19.2 (#2175)
2166
-
2167
- ## 3.3.5
2168
-
2169
- - Bump: Sentry Cocoa to 7.11.0 and Sentry Android to 5.7.0 (#2160)
2170
-
2171
- ## 3.3.4
2172
-
2173
- - fix(android): setContext serializes as context for Android instead of extra (#2155)
2174
- - fix(android): Duplicate Breadcrumbs when captuing messages #2153
2175
-
2176
- ## 3.3.3
2177
-
2178
- - Bump: Sentry Cocoa to 7.10.2 and Sentry Android to 5.6.3 (#2145)
2179
- - fix(android): Upload source maps correctly regardless of version codes #2144
2180
-
2181
- ## 3.3.2
2182
-
2183
- - fix: Do not report empty measurements #1983
2184
- - fix(iOS): Bump Sentry Cocoa to 7.10.1 and report slow and frozen measurements (#2132)
2185
- - fix(iOS): Missing userId on iOS when the user is not set in the Scope (#2133)
2186
-
2187
- ## 3.3.1
2188
-
2189
- - feat: Support setting maxCacheItems #2102
2190
- - fix: Clear transaction on route change for React Native Navigation #2119
2191
-
2192
- ## 3.3.0
2193
-
2194
- - feat: Support enableNativeCrashHandling for iOS #2101
2195
- - Bump: Sentry Cocoa 7.10.0 #2100
2196
- - feat: Touch events now track components with `sentry-label` prop, falls back to `accessibilityLabel` and then finally `displayName`. #2068
2197
- - fix: Respect sentryOption.debug setting instead of #DEBUG build flag for outputting logs #2039
2198
- - fix: Passing correct mutableOptions to iOS SDK (#2037)
2199
- - Bump: Bump @sentry/javascript dependencies to 6.17.9 #2082
2200
- - fix: Discard prior transactions on react navigation dispatch #2053
2201
-
2202
- ## 3.2.14-beta.2
2203
-
2204
- - feat: Touch events now track components with `sentry-label` prop, falls back to `accessibilityLabel` and then finally `displayName`. #2068
2205
- - fix: Respect sentryOption.debug setting instead of #DEBUG build flag for outputting logs #2039
2206
- - fix: Passing correct mutableOptions to iOS SDK (#2037)
2207
- - Bump: Bump @sentry/javascript dependencies to 6.17.9 #2082
2208
-
2209
- ## 3.2.14-beta.1
2210
-
2211
- - fix: Discard prior transactions on react navigation dispatch #2053
2212
-
2213
- ## 3.2.13
2214
-
2215
- - fix(deps): Add `@sentry/wizard` back in as a dependency to avoid missing dependency when running react-native link. #2015
2216
- - Bump: sentry-cli to 1.72.0 #2016
2217
-
2218
- ## 3.2.12
2219
-
2220
- - fix: fetchNativeDeviceContexts returns an empty Array if no Device Context available #2002
2221
- - Bump: Sentry Cocoa 7.9.0 #2011
2222
-
2223
- ## 3.2.11
2224
-
2225
- - fix: Polyfill the promise library to permanently fix unhandled rejections #1984
2226
-
2227
- ## 3.2.10
2228
-
2229
- - fix: Do not crash if androidx.core isn't available on Android #1981
2230
- - fix: App start measurement on Android #1985
2231
- - Bump: Sentry Android to 5.5.2 #1985
2232
-
2233
- ## 3.2.9
2234
-
2235
- - Deprecate initialScope in favor of configureScope #1963
2236
- - Bump: Sentry Android to 5.5.1 and Sentry Cocoa to 7.7.0 #1965
2237
-
2238
- ## 3.2.8
2239
-
2240
- ### Various fixes & improvements
2241
-
2242
- - replace usage of master to main (30b44232) by @marandaneto
2243
-
2244
- ## 3.2.7
2245
-
2246
- - fix: ReactNavigationV4Instrumentation null when evaluating 'state.routes' #1940
2247
- - fix: ConcurrentModification exception for frameMetricsAggregator #1939
2248
-
2249
- ## 3.2.6
2250
-
2251
- - feat(android): Support monorepo in gradle plugin #1917
2252
- - fix: Remove dependency on promiseRejectionTrackingOptions #1928
2253
-
2254
- ## 3.2.5
2255
-
2256
- - fix: Fix dynamic require for promise options bypassing try catch block and crashing apps #1923
2257
-
2258
- ## 3.2.4
2259
-
2260
- - fix: Warn when promise rejections won't be caught #1886
2261
- - Bump: Sentry Android to 5.4.3 and Sentry Cocoa to 7.5.4 #1920
2262
-
2263
- ## 3.2.3
2264
-
2265
- ### Various fixes & improvements
2266
-
2267
- - fix(ios): tracesSampler becomes NSNull in iOS and the app cannot be started (#1872) by @marandaneto
2268
-
2269
- ## 3.2.2
2270
-
2271
- - Bump Sentry Android SDK to 5.3.0 #1860
2272
-
2273
- ## 3.2.1
2274
-
2275
- ### Various fixes & improvements
2276
-
2277
- - feat(ios): Missing config `enableOutOfMemoryTracking` on iOS/Mac (#1858) by @marandaneto
2278
-
2279
- ## 3.2.0
2280
-
2281
- - feat: Routing instrumentation will emit breadcrumbs on route change and set route tag #1837
2282
- - Bump Sentry Android SDK to 5.2.4 ([#1844](https://github.com/getsentry/sentry-react-native/pull/1844))
2283
-
2284
- - [changelog](https://github.com/getsentry/sentry-java/blob/5.2.4/CHANGELOG.md)
2285
- - [diff](https://github.com/getsentry/sentry-java/compare/5.2.0...5.2.4)
2286
-
2287
- - Bump Sentry Cocoa SDK to 7.4.8 ([#1856](https://github.com/getsentry/sentry-react-native/pull/1856))
2288
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.4.8/CHANGELOG.md)
2289
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.3.0...7.4.8)
2290
-
2291
- ## 3.2.0-beta.2
2292
-
2293
- - fix: Type React Native Navigation instrumentation constructor argument as unknown to avoid typescript errors #1817
2294
-
2295
- ## 3.2.0-beta.1
2296
-
2297
- - feat: Routing instrumentation for React Native Navigation #1774
2298
-
2299
- ## 3.1.1
2300
-
2301
- - Bump Sentry Android SDK to 5.2.0 ([#1785](https://github.com/getsentry/sentry-react-native/pull/1785))
2302
-
2303
- - [changelog](https://github.com/getsentry/sentry-java/blob/5.2.0/CHANGELOG.md)
2304
- - [diff](https://github.com/getsentry/sentry-java/compare/5.1.2...5.2.0)
2305
-
2306
- - Bump Sentry Cocoa SDK to 7.3.0 ([#1785](https://github.com/getsentry/sentry-react-native/pull/1785))
2307
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.3.0/CHANGELOG.md)
2308
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.2.6...7.3.0)
2309
-
2310
- ## 3.1.0
2311
-
2312
- - Feat: Allow custom release for source map upload scripts #1548
2313
- - ref: Remove v5 prefix from react navigation instrumentation to support v6 #1768
2314
-
2315
- ## 3.0.3
2316
-
2317
- - Fix: Set Java 8 for source and target compatibility if not using AGP >= 4.2.x (#1763)
2318
-
2319
- ## 3.0.2
2320
-
2321
- - Bump: Android tooling API 30 (#1761)
2322
-
2323
- ## 3.0.1
2324
-
2325
- - fix: Add sentry-cli as a dependency #1755
2326
-
2327
- ## 3.0.0
2328
-
2329
- - feat: Align `event.origin`, `event.environment` with other hybrid sdks #1749
2330
- - feat: Add native sdk package info onto events #1749
2331
- - build(js): Bump sentry-javascript dependencies to 6.12.0 #1750
2332
- - fix: Fix native frames not being added to transactions #1752
2333
- - build(android): Bump sentry-android to 5.1.2 #1753
2334
- - build(ios): Bump sentry-cocoa to 7.2.6 #1753
2335
- - fix: Move @sentry/wizard dependency to devDependencies #1751
2336
-
2337
- ## 3.0.0-beta.3
2338
-
2339
- - feat: Add `wrap` wrapper method with profiler and touch event boundary #1728
2340
- - feat: App-start measurements, if using the `wrap` wrapper, will now finish on the root component mount #1728
2341
-
2342
- ## 3.0.0-beta.2
2343
-
2344
- - feat: Native slow/frozen frames measurements #1711
2345
-
2346
- ## 3.0.0-beta.1
2347
-
2348
- - build(ios): Bump sentry-cocoa to 7.2.0-beta.9 #1704
2349
- - build(android): Bump sentry-android to 5.1.0-beta.9 #1704
2350
- - feat: Add app start measurements to the first transaction #1704
2351
- - feat: Create an initial initial ui.load transaction by default #1704
2352
- - feat: Add `enableAutoPerformanceTracking` flag that enables auto performance when tracing is enabled #1704
2353
-
2354
- ## 2.7.0-beta.1
2355
-
2356
- - feat: Track stalls in the JavaScript event loop as measurements #1542
2357
-
2358
- ## 2.6.2
2359
-
2360
- - fix: Fix the error handler (error dialog) not called in dev #1712
2361
-
2362
- ## 2.6.1
2363
-
2364
- - build(ios): Bump sentry-cocoa to 7.1.4 #1700
2365
-
2366
- ## 2.6.0
2367
-
2368
- - feat: Support the `sendDefaultPii` option. #1634
2369
- - build(android): Bump sentry-android to 5.1.0-beta.2 #1645
2370
- - fix: Fix transactions on Android having clock drift and missing span data #1645
2371
-
2372
- ## 2.5.2
2373
-
2374
- - fix: Fix `Sentry.close()` not correctly resolving the promise on iOS. #1617
2375
- - build(js): Bump sentry-javascript dependencies to 6.7.1 #1618
2376
-
2377
- ## 2.5.1
2378
-
2379
- - fix: Fatal uncaught events should be tagged handled:false #1597
2380
- - fix: Fix duplicate breadcrumbs on Android #1598
2381
-
2382
- ## 2.5.0
2383
-
2384
- ### Dependencies
2385
-
2386
- - build(js): Bump sentry-javascript dependencies to 6.5.1 #1588
2387
- - build(ios): Bump sentry-cocoa to 7.0.0 and remove setLogLevel #1459
2388
- - build(android): Bump sentry-android to 5.0.1 #1576
2389
-
2390
- ### Features
2391
-
2392
- - feat: `Sentry.flush()` to flush events to disk and returns a promise #1547
2393
- - feat: `Sentry.close()` method to fully disable the SDK on all layers and returns a promise #1457
2394
-
2395
- ### Fixes
2396
-
2397
- - fix: Process "log" levels in breadcrumbs before sending to native #1565
2398
-
2399
- ## 2.5.0-beta.1
2400
-
2401
- - build(ios): Bump sentry-cocoa to 7.0.0 and remove setLogLevel #1459
2402
- - feat: Close method to fully disable the SDK on all layers #1457
2403
- - build(android): Bump Android SDK to 5.0.0-beta.1 #1476
2404
-
2405
- ## 2.4.3
2406
-
2407
- - fix: Use the latest outbox path from hub options instead of private options #1529
2408
-
2409
- ## 2.4.2
2410
-
2411
- - fix: enableNative: false should take precedence over autoInitializeNativeSdk: false #1462
2412
-
2413
- ## 2.4.1
2414
-
2415
- - fix: Type navigation container ref arguments as any to avoid TypeScript errors #1453
2416
-
2417
- ## 2.4.0
2418
-
2419
- - fix: Don't call `NATIVE.fetchRelease` if release and dist already exists on the event #1388
2420
- - feat: Add onReady callback that gets called after Native SDK init is called #1406
2421
-
2422
- ## 2.3.0
2423
-
2424
- - feat: Re-export Profiler and useProfiler from @sentry/react #1372
2425
- - fix(performance): Handle edge cases in React Navigation routing instrumentation. #1365
2426
- - build(android): Bump sentry-android to 4.3.0 #1373
2427
- - build(devtools): Bump @sentry/wizard to 1.2.2 #1383
2428
- - build(js): Bump sentry-javascript dependencies to 6.2.1 #1384
2429
- - feat(performance): Option to set route change timeout in routing instrumentation #1370
2430
-
2431
- ## 2.2.2
2432
-
2433
- - fix: Fix unhandled promise rejections not being tracked #1367
2434
-
2435
- ## 2.2.1
2436
-
2437
- - build(js): Bump @sentry/\* dependencies on javascript to 6.2.0 #1354
2438
- - fix: Fix react-dom dependency issue. #1354
2439
- - build(android): Bump sentry-android to 4.1.0 #1334
2440
-
2441
- ## 2.2.0
2442
-
2443
- - Bump: sentry-android to v4.0.0 #1309
2444
- - build(ios): Bump sentry-cocoa to 6.1.4 #1308
2445
- - fix: Handle auto session tracking start on iOS #1308
2446
- - feat: Use beforeNavigate in routing instrumentation to match behavior on JS #1313
2447
- - fix: React Navigation Instrumentation starts initial transaction before navigator mount #1315
2448
-
2449
- ## 2.2.0-beta.0
2450
-
2451
- - build(ios): Bump sentry-cocoa to 6.1.3 #1293
2452
- - fix: pass maxBreadcrumbs to Android init
2453
- - feat: Allow disabling native SDK initialization but still use it #1259
2454
- - ref: Rename shouldInitializeNativeSdk to autoInitializeNativeSdk #1275
2455
- - fix: Fix parseErrorStack that only takes string in DebugSymbolicator event processor #1274
2456
- - fix: Only set "event" type in envelope item and not the payload #1271
2457
- - build: Bump JS dependencies to 5.30.0 #1282
2458
- - fix: Add fallback envelope item type to iOS. #1283
2459
- - feat: Auto performance tracing with XHR/fetch, and routing instrumentation #1230
2460
-
2461
- ## 2.1.1
2462
-
2463
- - build(android): Bump `sentry-android` to 3.2.1 #1296
2464
-
2465
- ## 2.1.0
2466
-
2467
- - feat: Include @sentry/tracing and expose startTransaction #1167
2468
- - feat: A better sample app to showcase the SDK and especially tracing #1168
2469
- - build(js): Bump @sentry/javascript dependencies to 5.28.0. #1228
2470
- - build(android): Bump `sentry-android` to 3.2.0 #1208
2471
-
2472
- ## 2.0.2
2473
-
2474
- - build(ios): Bump `sentry-cocoa` to 6.0.9 #1200
2475
-
2476
- ## 2.0.1
2477
-
2478
- - build(ios): Bump `sentry-cocoa` to 6.0.8. #1188
2479
- - fix(ios): Remove private imports and call `storeEnvelope` on the client. #1188
2480
- - fix(ios): Lock specific version in podspec. #1188
2481
- - build(android): Bump `sentry-android` to 3.1.3. #1177
2482
- - build(deps): Bump @sentry/javascript deps to version-locked 5.27.4 #1199
2483
-
2484
- ## 2.0.0
2485
-
2486
- - build(android): Changes android package name from `io.sentry.RNSentryPackage` to `io.sentry.react.RNSentryPackage` (Breaking). #1131
2487
- - fix: As auto session tracking is now on by default, allow user to pass `false` to disable it. #1131
2488
- - build: Bump `sentry-android` to 3.1.0. #1131
2489
- - build: Bump `sentry-cocoa` to 6.0.3. #1131
2490
- - feat(ios): Use `captureEnvelope` on iOS/Mac. #1131
2491
- - feat: Support envelopes with type other than `event`. #1131
2492
- - feat(android): Add enableNdkScopeSync property to ReactNativeOptions. #1131
2493
- - feat(android): Pass attachStacktrace option property down to android SDK. #1131
2494
- - build(js): Bump @sentry/javascript dependencies to 5.27.1. #1156
2495
-
2496
- ## 1.9.0
2497
-
2498
- - fix: Only show the "Native Sentry SDK is disabled" warning when `enableNative` is false and `enableNativeNagger` is true. #1084
2499
- - build: Bump @sentry/javascript dependencies to 5.25.0. #1118
2500
-
2501
- ## 1.8.2
2502
-
2503
- - build: Bump @sentry/javascript dependencies to 5.24.2 #1091
2504
- - fix: Add a check that `performance` exists before using it. #1091
2505
-
2506
- ## 1.8.1
2507
-
2508
- - build: Bump @sentry/javascript dependencies to 5.24.1 #1088
2509
- - fix: Fix timestamp offset issues due to issues with `performance.now()` introduced in React Native 0.63. #1088
2510
-
2511
- ## 1.8.0
2512
-
2513
- - feat: Support MacOS #1068
2514
- - build: Bump @sentry/javascript dependencies to 5.23.0 #1079
2515
- - fix: Only call native deviceContexts on iOS #1061
2516
- - fix: Don't send over Log and Critical levels over native bridge #1063
2517
-
2518
- ## 1.7.2
2519
-
2520
- - meta: Move from Travis CI to Github Actions #1019
2521
- - ref: Drop TSLint in favor of ESLint #1023
2522
- - test: Add basic end-to-end tests workflow #945
2523
- - Bump: sentry-android to v2.3.1
2524
-
2525
- ## 1.7.1
2526
-
2527
- - build: Bump sentry-cocoa to 5.2 #1011
2528
- - fix: App Store submission for Mac apps getsentry/sentry-cocoa#635
2529
- - fix: Use the release and dist set in init options over native release #1009
2530
- - fix: assign default options before enableNative check #1007
2531
-
2532
- ## 1.7.0
2533
-
2534
- - fix: Use `LogBox` instead of `YellowBox` if possible. #989
2535
- - fix: Don't add `DeviceContext` default integration if `enableNative` is set to `false`. #993
2536
- - fix: Don't log "Native Sentry SDK is disabled" if `enableNativeNagger` is set to `false`. #993
2537
- - feat: Migrate to `@sentry/react` from `@sentry/browser` and expose `ErrorBoundary` & the redux enhancer. #1005
2538
-
2539
- ## 1.6.3
2540
-
2541
- - feat: Touch events take Regex for ignoreNames & add tests #973
2542
-
2543
- ## 1.6.2
2544
-
2545
- - fix: Don't prefix app:/// to "native" filename as well #957
2546
- - feat: Add sdk_info to envelope header on Android. #958
2547
-
2548
- ## 1.6.1
2549
-
2550
- - Bump `sentry-cocoa` `5.1.8`
2551
-
2552
- ## 1.6.0
2553
-
2554
- - feat: Log component tree with all touch events #952
2555
- - fix: Fix appending app:/// prefix to [native code] #946
2556
- - Bump `@sentry/*` to `^5.19.0`
2557
- - Bump `sentry-cocoa` `5.1.6`
2558
-
2559
- ## 1.5.0
2560
-
2561
- - feat: Track touch events as breadcrumbs #939
2562
- - fix: Serialize the default user keys in setUser #926
2563
- - Bump android 2.2.0 #942
2564
- - fix(android): Fix unmapped context keys being overwritten on Android.
2565
-
2566
- ## 1.4.5
2567
-
2568
- - fix: Fix Native Wrapper not checking enableNative setting #919
2569
-
2570
- ## 1.4.4
2571
-
2572
- - Bump cocoa 5.1.4
2573
- - fix(ios): We only store the event in release mode #917
2574
-
2575
- ## 1.4.3
2576
-
2577
- - Extend Scope methods to set native scope too. #902
2578
- - Bump android 2.1.6
2579
- - Bump `@sentry/*` to `^5.16.1`
2580
- - Bump cocoa 5.1.3
2581
-
2582
- ## 1.4.2
2583
-
2584
- - Bump android 2.1.4 #891
2585
- - Expose session timeout. #887
2586
- - Added `event.origin` and `event.environment` tags to determine where events originate from. #890
2587
-
2588
- ## 1.4.1
2589
-
2590
- - Filtered out `options` keys passed to `init` that would crash native. #885
2591
-
2592
- ## 1.4.0
2593
-
2594
- - Remove usages of RNSentry to a native wrapper (#857)
2595
- - Bump android 2.1.3 (#858)
2596
- - Bump cocoa 5.1.0 (#870)
2597
- - Accept enableAutoSessionTracking (#870)
2598
- - Don't attach Android Threads (#866)
2599
- - Refactored startWithDsnString to be startWithOptions. (#860)
2600
-
2601
- ## 1.3.9
2602
-
2603
- - Bump `@sentry/wizard` to `1.1.4`
2604
-
2605
- ## 1.3.8
2606
-
2607
- - Fixes a bug in `DebugSymbolicator`
2608
-
2609
- ## 1.3.7
2610
-
2611
- - Bump `@sentry/wizard` to `1.1.2`
2612
-
2613
- ## 1.3.6
2614
-
2615
- - Bump `@sentry/*` to `^5.15.4`
2616
-
2617
- ## 1.3.5
2618
-
2619
- - Bump `@sentry/*` to `^5.15.2`
2620
-
2621
- ## 1.3.4
2622
-
2623
- - Bump `@sentry/*` to `^5.15.1`
2624
- - Fix a bug in DebugSymbolicator to fetch the correct file
2625
- - Bump to `io.sentry:sentry-android:2.0.2`
2626
-
2627
- ## 1.3.3
2628
-
2629
- - Fix sourcemap path for Android and `react-native` version `< 0.61`
2630
- - Expose Android SDK in Java
2631
-
2632
- ## 1.3.2
2633
-
2634
- - Bump `io.sentry:sentry-android:2.0.0`
2635
- - Fixes a bug on Android when sending events with wrong envelope size
2636
-
2637
- ## 1.3.1
2638
-
2639
- - Bump `@sentry/wizard` to `1.1.1` fixing iOS release identifiers
2640
- - console.warn und unhandled rejections in DEV
2641
-
2642
- ## 1.3.0
2643
-
2644
- - Bump `io.sentry:sentry-android:2.0.0-rc04`
2645
- - Added support for Hermes runtime!!
2646
- - Fixed a lot of issues on Android
2647
- - NDK support
2648
-
2649
- ## 1.2.2
2650
-
2651
- - fix(android): Crash if stacktrace.frames is empty (#742)
2652
-
2653
- ## 1.2.1
2654
-
2655
- - Bump `io.sentry:sentry-android:1.7.29`
2656
-
2657
- ## 1.2.0
2658
-
2659
- - Bump `@sentry/*` to `^5.10.0`
2660
- - Allow overriding sentry.properties location (#722)
2661
-
2662
- ## 1.1.0
2663
-
2664
- - Bump `@sentry/*` to `^5.9.0`
2665
- - fix(android): Feedback not working (#706)
2666
- - fix(types): Fix type mismatch when copying breadcrumb `type` (#693)
2667
-
2668
- ## 1.0.9
2669
-
2670
- - Fixed an issue where breadcrumbs failed to be copied correctly
2671
-
2672
- ## 1.0.8
2673
-
2674
- - Fix missing `type`, miscast `status_code` entries in Android breadcrumbs
2675
-
2676
- ## 1.0.7
2677
-
2678
- - Store `environment`, `release` & `dist` on native iOS and Android clients in case of an native crash
2679
-
2680
- ## 1.0.6
2681
-
2682
- - Fix error message to guide towards correct docs page
2683
-
2684
- ## 1.0.5
2685
-
2686
- - Convert `message` in Java to string if it's a map (#653)
2687
-
2688
- ## 1.0.4
2689
-
2690
- - Also catch `ClassCastException` to support react-native versions < 0.60 (#651)
2691
-
2692
- ## 1.0.3
2693
-
2694
- - Expose `BrowserIntegrations` to change browser integrations (#639)
2695
-
2696
- ## 1.0.2
2697
-
2698
- - Fixes `breadcrumb.data` cast if it's not a hashmap (#651)
2699
-
2700
- ## 1.0.1
2701
-
2702
- - Fixed typo in `RNSentry.m` (#658)
2703
-
2704
- ## 1.0.0
2705
-
2706
- This is a new major release of the Sentry's React Native SDK rewritten in TypeScript.
2707
- This SDK is now unified with the rest of our JavaScript SDKs and published under a new name `@sentry/react-native`.
2708
- It uses `@sentry/browser` and both `sentry-cocoa` and `sentry-android` for native handling.
2709
-
2710
- This release is a breaking change an code changes are necessary.
2711
-
2712
- New way to import and init the SDK:
2713
-
2714
- ```js
2715
- import * as Sentry from '@sentry/react-native';
2716
-
2717
- Sentry.init({
2718
- dsn: 'DSN',
2719
- });
2720
- ```
2721
-
2722
- ## 0.43.2
2723
-
2724
- - Add a check for an empty stacktrace on Android (#594)
2725
-
2726
- ## 0.43.1
2727
-
2728
- - Bump `raven-js` `3.27.1`
2729
-
2730
- ## 0.43.0
2731
-
2732
- - Bump `sentry-wizard` `0.13.0`
2733
-
2734
- ## 0.42.0
2735
-
2736
- - Bump `sentry-cocoa` `4.2.1`
2737
- - Fix a bug where environment was correctly set
2738
- - Only upload source maps in gradle if non debug build
2739
-
2740
- ## 0.41.1
2741
-
2742
- - Fix bump version script
2743
-
2744
- ## 0.41.0
2745
-
2746
- - Update android build tools and gradle scripts to be compatible with latest version
2747
- - Fix support to build on windows
2748
-
2749
- ## 0.40.3
2750
-
2751
- - Bump `sentry-cocoa` `4.1.3`
2752
-
2753
- ## 0.40.2
2754
-
2755
- - Fix import for ArrayList and ReadableArray on Android, Fixes #511
2756
-
2757
- ## 0.40.1
2758
-
2759
- - Use `buildToolsVersion` in build.gradle
2760
-
2761
- ## 0.40.0
2762
-
2763
- - Add fingerprint support for iOS/Android, Fixes #407
2764
- - Add support for tvOS
2765
-
2766
- ## v0.39.1
2767
-
2768
- - Bump `@sentry/wizard` `0.12.1`
2769
- - Add constructor for `RNSentryPackage.java`, Fixes #490
2770
-
2771
- ## v0.39.0
2772
-
2773
- - `react-native-sentry >= 0.39.0` requires `react-native >= 0.56.0`
2774
- - [Android] Bumping of gradle deps
2775
-
2776
- ```
2777
- compileSdkVersion 26
2778
- buildToolsVersion '26.0.3'
2779
- ...
2780
- targetSdkVersion 26
2781
- ```
2782
-
2783
- - [Android] Use `sentry-android` `1.7.5`
2784
- - Bump `@sentry/wizard` `0.11.0`
2785
- - Bump `sentry-cocoa` `4.1.0`
2786
- - Use new SDK identifier `sentry.javascript.react-native`
2787
-
2788
- ## v0.38.3
2789
-
2790
- - Bump `@sentry/wizard` `0.10.2`
2791
-
2792
- ## v0.38.2
2793
-
2794
- - [Android] Use `sentry-android` `1.7.4`
2795
-
2796
- ## v0.38.1
2797
-
2798
- - [Android] set empty message to prevent breadcrumb exception
2799
-
2800
- ## v0.38.0
2801
-
2802
- - [Android] Remove requirement to pass in `MainApplication` `new RNSentryPackage(MainApplication.this)`
2803
-
2804
- ## v0.37.1
2805
-
2806
- - [Android] Call event callbacks even on failure to trigger crashes when device is offline
2807
-
2808
- ## v0.37.0
2809
-
2810
- - Revert change to podspec file
2811
- - Add support for transaction instead of culprit
2812
- - Add equalsIgnoreCase to gradle release name compare
2813
- - Bump sentry-java to 1.7.3
2814
-
2815
- ## v0.36.0
2816
-
2817
- - Bump raven-js to 3.24.2
2818
- - Fixed #391
2819
-
2820
- ## v0.35.4
2821
-
2822
- - Bump sentry-cocoa to 3.12.4
2823
-
2824
- ## v0.35.3
2825
-
2826
- - Fix wizard command
2827
-
2828
- ## v0.35.2
2829
-
2830
- - Fixed #374
2831
-
2832
- ## v0.35.1
2833
-
2834
- - Bump sentry-cocoa to 3.12.0
2835
-
2836
- ## v0.35.0
2837
-
2838
- - Fixes an issue where error will not be reported to Sentry.
2839
-
2840
- ## v0.34.1
2841
-
2842
- - Fixed #354
2843
-
2844
- ## v0.34.0
2845
-
2846
- - Fixed #353
2847
- - Fixed #347
2848
- - Fixed #346
2849
- - Fixed #342
2850
-
2851
- ## v0.33.0
2852
-
2853
- - Add pro guard default rule @kazy1991
2854
- - Exposed crashedLastLaunch for iOS @monotkate
2855
- - Fixed #337
2856
- - Fixed #333
2857
- - Fixed #331
2858
- - Fixed #322
2859
-
2860
- ## v0.32.1
2861
-
2862
- - Update sentry-wizard
2863
-
2864
- ## v0.32.0
2865
-
2866
- ### Breaking changes
2867
-
2868
- ### Migration guide upgrading from < 0.32.0
2869
-
2870
- Since we now use `@sentry/wizard` for linking with out new `@sentry/cli` package, the old
2871
- `sentry-cli-bin` package has been deprecated.
2872
- You have to search your codebase for `sentry-cli-binary` and replace it with `@sentry/cli`.
2873
- There are few places where we put it during the link process:
2874
-
2875
- - In both `sentry.properties` files in `ios`/`android` folder
2876
- - In your Xcode build scripts once in `Bundle React Native code and images` and once in `Upload Debug Symbols to Sentry`
2877
-
2878
- So e.g.:
2879
-
2880
- The `Upload Debug Symbols to Sentry` build script looks like this:
2881
-
2882
- ```
2883
- export SENTRY_PROPERTIES=sentry.properties
2884
- ../node_modules/sentry-cli-binary/bin/sentry-cli upload-dsym
2885
- ```
2886
-
2887
- should be changed to this:
2888
-
2889
- ```
2890
- export SENTRY_PROPERTIES=sentry.properties
2891
- ../node_modules/@sentry/cli/bin/sentry-cli upload-dsym
2892
- ```
2893
-
2894
- ### General
2895
-
2896
- - Bump `@sentry/wizard` to `0.7.3`
2897
- - Bump `sentry-cocoa` to `3.10.0`
2898
- - Fixed #169
2899
-
2900
- ## v0.31.0
2901
-
2902
- - Use <https://github.com/getsentry/sentry-wizard> for setup process
2903
-
2904
- ## v0.30.3
2905
-
2906
- - Fix podspec file
2907
- - Fix gradle regex to allow number in projectname
2908
-
2909
- ## v0.30.2
2910
-
2911
- Updated npm dependencies
2912
-
2913
- ## v0.30.1
2914
-
2915
- Deploy and release over Probot
2916
-
2917
- ## v0.30.0
2918
-
2919
- Refactored iOS to use shared component from sentry-cocoa.
2920
- Also squashed many little bugs on iOS.
2921
-
2922
- - Fixed #281
2923
- - Fixed #280
2924
-
2925
- ## v0.29.0
2926
-
2927
- - Fixed #275
2928
- - Fixed #274
2929
- - Fixed #272
2930
- - Fixed #253
2931
-
2932
- ## v0.28.0
2933
-
2934
- We had to rename `project.ext.sentry` to `project.ext.sentryCli` because our own proguard gradle plugin was conflicting with the name.
2935
- The docs already reflect this change.
2936
-
2937
- - #257
2938
-
2939
- We now use the `mainThread` to report errors to `RNSentry`. This change is necessary in order for react-native to export constants.
2940
- This change shouldn't impact anyone using `react-native-sentry` since most of the "heavy" load was handled by `sentry-cocoa` in its own background queue anyway.
2941
-
2942
- - #259
2943
- - #244
2944
-
2945
- Bump `sentry-cocoa` to `3.8.3`
2946
-
2947
- ## v0.27.0
2948
-
2949
- We decided to deactivate stack trace merging by default on iOS since it seems to unstable right now.
2950
- To activate it set:
2951
-
2952
- ```js
2953
- Sentry.config('___DSN___', {
2954
- deactivateStacktraceMerging: false,
2955
- });
2956
- ```
2957
-
2958
- We are looking into ways making this more stable and plan to re-enable it again in the future.
2959
-
2960
- ## v0.26.0
2961
-
2962
- - Added `setShouldSendCallback` #250
2963
-
2964
- ## v0.25.0
2965
-
2966
- - Fix a bug in gradle script that trigged the sourcemap upload twice
2967
- - Fixed #245
2968
- - Fixed #234
2969
-
2970
- ## v0.24.2
2971
-
2972
- - Fixed <https://github.com/getsentry/react-native-sentry/issues/241>
2973
-
2974
- ## v0.24.1
2975
-
2976
- - Bump `sentry-cli` version to `1.20.0`
2977
-
2978
- ## v0.24.0
2979
-
2980
- - Fix frame urls when only using `raven-js`
2981
- - Upgrade `sentry-java` to `1.5.3`
2982
- - Upgrade `sentry-cocoa` to `3.8.1`
2983
- - Added support for `sampleRate` option
2984
-
2985
- ## v0.23.2
2986
-
2987
- - Fixed #228 again ¯\\*(ツ)*/¯
2988
-
2989
- ## v0.23.1
2990
-
2991
- - Fixed #228
2992
-
2993
- ## v0.23.0
2994
-
2995
- - Add more event properties for `setEventSentSuccessfully` callback on Android
2996
-
2997
- ## v0.22.0
2998
-
2999
- - Fixed #158
3000
- - Add
3001
-
3002
- ```groovy
3003
- project.ext.sentry = [
3004
- logLevel: "debug",
3005
- flavorAware: true
3006
- ]
3007
- ```
3008
-
3009
- should be before:
3010
- `apply from: "../../node_modules/react-native-sentry/sentry.gradle"`
3011
- This enables `sentry-cli` debug output on android builds, also adds flavor aware `sentry.properties` files.
3012
-
3013
- ## v0.21.2
3014
-
3015
- - Fixing device farm tests
3016
-
3017
- ## v0.21.1
3018
-
3019
- - Store event on release and send on next startup.
3020
-
3021
- ## v0.21.0
3022
-
3023
- - Fixed an issue where javascript error wasn't sent everytime
3024
-
3025
- ## v0.20.0
3026
-
3027
- - Bump `sentry-cocoa` to `3.6.0`
3028
-
3029
- ## v0.19.0
3030
-
3031
- - Make `userId` optional for user context
3032
- - Bump `sentry-cocoa` to `3.5.0`
3033
-
3034
- ## v0.18.0
3035
-
3036
- - Bump `sentry-java` to `1.5.1`
3037
- - Fix linking step
3038
- - Bump `raven-js` to `3.17.0`
3039
-
3040
- ## v0.17.1
3041
-
3042
- - Fixed #190
3043
-
3044
- ## v0.17.0
3045
-
3046
- - Fix `disableNativeIntegration` proptery to use right transport
3047
-
3048
- ## v0.16.2
3049
-
3050
- - Remove send callback when native integration isn't available.
3051
-
3052
- ## v0.16.1
3053
-
3054
- - Removed strange submodule
3055
-
3056
- ## v0.16.0
3057
-
3058
- - Bump `sentry-java` to `1.4.0`
3059
- - Bump `sentry-cocoa` to `3.4.2`
3060
- - Fixed #182
3061
- - Fixed path detection of sentry-cli
3062
-
3063
- ## v0.15.1
3064
-
3065
- - Fixed last release
3066
-
3067
- ## v0.15.0
3068
-
3069
- - Added compatiblity for react-native `0.47.0`
3070
- - Fixed #169
3071
- - Fixed #106
3072
- - Bumped `sentry-cocoa` to `3.3.3`
3073
-
3074
- Also added integration tests running on AWS Device Farm.
3075
-
3076
- ## v0.14.16
3077
-
3078
- - Fixed #124
3079
-
3080
- ## v0.14.12
3081
-
3082
- - Updated to `sentry-cocoa` `3.1.2`
3083
- - Fixed #156
3084
-
3085
- ## v0.14.11
3086
-
3087
- - Fixed #166
3088
-
3089
- ## v0.14.10
3090
-
3091
- - Fixed #161
3092
-
3093
- ## v0.14.9
3094
-
3095
- Fixed #163
3096
-
3097
- ## v0.14.8
3098
-
3099
- - Fixed #159
3100
- - Fixes breadcrumb tracking on android
3101
-
3102
- ## v0.14.7
3103
-
3104
- - Improve performance for `react-native >= 0.46`
3105
-
3106
- ## v0.14.6
3107
-
3108
- - Bump `sentry-cocoa` and `KSCrash`
3109
-
3110
- ## v0.14.5
3111
-
3112
- - Push Podspec to `sentry-cocoa` `3.1.2`
3113
-
3114
- ## v0.14.4
3115
-
3116
- - Removed example project from repo
3117
- - Make sure native client is only initialized once
3118
-
3119
- ## v0.14.3
3120
-
3121
- - Revert to `23.0.1` android build tools
3122
-
3123
- ## v0.14.2
3124
-
3125
- - Fixes #131
3126
-
3127
- ## v0.14.1
3128
-
3129
- - Bump `raven-js` `3.16.1`
3130
- - Fixes #136
3131
-
3132
- ## v0.14.0
3133
-
3134
- - Allowing calls to Sentry without calling `install()`
3135
- - Add internal logging if `logLevel >= SentryLog.Debug`
3136
- - Use `sentry-cocoa` `3.1.2`
3137
-
3138
- ## v0.13.3
3139
-
3140
- - Fixes #67
3141
-
3142
- ## v0.13.2
3143
-
3144
- - Fixes #116
3145
- - Fixes #51
3146
-
3147
- ## v0.13.1
3148
-
3149
- - Fixed Android version dependency
3150
-
3151
- ## v0.13.0
3152
-
3153
- - Overhauled internal handling of exceptions
3154
- - Updated iOS and Android native dependencies
3155
-
3156
- ## v0.12.12
3157
-
3158
- - Fixes #105
3159
- - Added option `disableNativeIntegration`
3160
-
3161
- ## v0.12.11
3162
-
3163
- - Use sentry-cocoa `3.0.9`
3164
- - Fixes #100
3165
-
3166
- ## v0.12.10
3167
-
3168
- - Update `raven-js` to `3.16.0`
3169
- - Update `sentry-cocoa` to `3.0.8`
3170
- - Fixes #64
3171
- - Fixes #57
3172
-
3173
- ## v0.12.8
3174
-
3175
- - Fix typo
3176
-
3177
- ## v0.12.9
3178
-
3179
- - Add support on iOS for stacktrace merging and `react-native 0.45`
3180
-
3181
- ## v0.12.7
3182
-
3183
- - Fixes #92
3184
-
3185
- ## v0.12.6
3186
-
3187
- - Fixes #95
3188
-
3189
- ## v0.12.5
3190
-
3191
- - Fixes #91 #87 #82 #63 #54 #48
3192
-
3193
- ## v0.12.3
3194
-
3195
- - Fixed #90
3196
-
3197
- ## v0.12.2
3198
-
3199
- - Fixed #90
3200
-
3201
- ## v0.12.4
3202
-
3203
- - Fixed #94
3204
-
3205
- ## v0.12.1
3206
-
3207
- - Use `3.0.7` `sentry-cocoa` in Podspec
3208
-
3209
- ## v0.12.0
3210
-
3211
- - Removed `RSSwizzle` use `SentrySwizzle` instead
3212
-
3213
- ## v0.11.8
3214
-
3215
- Update Podspec to use `Sentry/KSCrash`
3216
-
3217
- ## v0.11.7
3218
-
3219
- - Fix `duplicate symbol` `RSSwizzle` when using CocoaPods
3220
-
3221
- ## v0.11.6
3222
-
3223
- - Use `sentry-cocoa` `3.0.1`
3224
-
3225
- ## v0.11.5
3226
-
3227
- - Fix <https://github.com/getsentry/react-native-sentry/issues/77>
3228
-
3229
- ## v0.11.4
3230
-
3231
- - Use android buildToolsVersion 23.0.1
3232
-
3233
- ## v0.11.3
3234
-
3235
- - Fix Xcode archive to not build generic archive
3236
-
3237
- ## v0.11.2
3238
-
3239
- - Fix Xcode archiving
3240
-
3241
- ## v0.11.1
3242
-
3243
- - Using latest version of `sentry-cocoa`
3244
-
3245
- ## v0.11.0
3246
-
3247
- This is a big release because we switched our internal iOS client from swift to objc which drastically improve the setup experience and compatibility.
3248
-
3249
- We also added support for codepush, please check the docs <https://docs.sentry.io/clients/react-native/codepush/> for more information.
3250
-
3251
- After updating run `react-native unlink react-native-sentry` and `react-native link react-native-sentry` again in order to setup everything correctly.
3252
-
3253
- ## v0.10.0
3254
-
3255
- - Greatly improved the linking process. Check out our docs for more information <https://docs.sentry.io/clients/react-native/>
3256
-
3257
- ## v0.9.1
3258
-
3259
- - Update to sentry 2.1.11 which fixes a critical bug regarding sending requests on iOS
3260
-
3261
- ## v0.9.0
3262
-
3263
- - Improve link and unlink scripts
3264
-
3265
- ## v0.8.5
3266
-
3267
- - Fixed: bad operand types for binary operator
3268
-
3269
- ## v0.8.4
3270
-
3271
- - Put execution on iOS into a background thread
3272
- - Add parameter checks on android
3273
-
3274
- ## v0.8.3
3275
-
3276
- - Bump sentry version to 2.1.10 to fix releases
3277
-
3278
- ## v0.8.2
3279
-
3280
- - Updated podspec thx @alloy
3281
-
3282
- ## v0.8.1
3283
-
3284
- - Added command to package json to inject MainApplication.java into RNSentryPackage
3285
-
3286
- ## v0.8.0
3287
-
3288
- - Added native android support
3289
- - raven-js is always used we use the native clients for sending events and add more context to them
3290
-
3291
- ## v0.7.0
3292
-
3293
- - Bump KSCrash and Sentry version
3294
-
3295
- ## v0.6.0
3296
-
3297
- Use `raven-js` internally instead switching between native and raven-js.
3298
-
3299
- Native client will be used when available.
3300
-
3301
- Alot of API changes to more like `raven-js`
3302
-
3303
- ## v0.5.3
3304
-
3305
- - Fix import for
3306
-
3307
- ```objc
3308
- #if __has_include(<React/RNSentry.h>)
3309
- #import <React/RNSentry.h> // This is used for versions of react >= 0.40
3310
- #else
3311
- #import "RNSentry.h" // This is used for versions of react < 0.40
3312
- #endif
3313
- ```
3314
-
3315
- ## v0.5.2
3316
-
3317
- - Prefix filepath with `app://` if RavenClient is used
3318
-
3319
- ## v0.5.1
3320
-
3321
- - Fix `npm test`
3322
- - Added `forceRavenClient` option which forces to use RavenClient instead of the NativeClient
3323
-
3324
- ## v0.5.0
3325
-
3326
- - Added support for installation with cocoapods see <https://docs.sentry.io/clients/react-native/#setup-with-cocoapods>
3327
- - Lowered minimum version requirement for `react-native` to `0.38.0`
3328
-
3329
- ## v0.4.0
3330
-
3331
- - Added `ignoreModulesExclude` to exclude modules that are ignored by default for stacktrace merging
3332
- - Added `ignoreModulesInclude` to add additional modules that should be ignored for stacktrace merging