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