@sentry/react-native 5.0.0-rc.1 → 5.0.0
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 +67 -6
- package/android/build.gradle +1 -1
- package/dist/js/utils/ignorerequirecyclelogs.d.ts +1 -2
- package/dist/js/utils/ignorerequirecyclelogs.d.ts.map +1 -1
- package/dist/js/utils/ignorerequirecyclelogs.js +3 -10
- package/dist/js/utils/ignorerequirecyclelogs.js.map +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.d.ts.map +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
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).
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522))
|
|
10
|
+
- Add View Hierarchy to the crashed/errored events ([#2708](https://github.com/getsentry/sentry-react-native/pull/2708))
|
|
11
|
+
- 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))
|
|
12
|
+
- Sync `tags`, `extra`, `fingerprint`, `level`, `environment` and `breadcrumbs` from `sentry-cocoa` during event processing. ([#2713](https://github.com/getsentry/sentry-react-native/pull/2713))
|
|
13
|
+
- `breadcrumb.level` value `log` is transformed to `debug` when syncing with native layers.
|
|
14
|
+
- Remove `breadcrumb.level` value `critical` transformation to `fatal`.
|
|
15
|
+
- Default `breadcrumb.level` is `info`
|
|
16
|
+
|
|
17
|
+
### Breaking changes
|
|
18
|
+
|
|
19
|
+
- Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing`
|
|
20
|
+
- Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking`
|
|
21
|
+
- Remove link hooks (RN 0.68 and older) ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332))
|
|
22
|
+
- 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))
|
|
23
|
+
- New ReactNativeTracingOptions ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481))
|
|
24
|
+
- `idleTimeout` renamed to `idleTimeoutMs`
|
|
25
|
+
- `maxTransactionDuration` renamed to `finalTimeoutMs`
|
|
26
|
+
- `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712))
|
|
27
|
+
- Message event current stack trace moved from `exception` to `threads` ([#2694](https://github.com/getsentry/sentry-react-native/pull/2694))
|
|
28
|
+
|
|
29
|
+
### Fixes
|
|
30
|
+
|
|
31
|
+
- Unreachable fallback to fetch transport if native is not available ([#2695](https://github.com/getsentry/sentry-react-native/pull/2695))
|
|
32
|
+
|
|
33
|
+
### Dependencies
|
|
34
|
+
|
|
35
|
+
- Bump Cocoa SDK from v7.31.5 to v8.0.0 ([#2756](https://github.com/getsentry/sentry-react-native/pull/2756))
|
|
36
|
+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#800)
|
|
37
|
+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.5...8.0.0)
|
|
38
|
+
- Bump CLI from v1.74.4 to v2.10.0 ([#2669](https://github.com/getsentry/sentry-react-native/pull/2669))
|
|
39
|
+
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2100)
|
|
40
|
+
- [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.10.0)
|
|
41
|
+
|
|
42
|
+
## 4.15.0
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- 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))
|
|
47
|
+
|
|
48
|
+
### Fixes
|
|
49
|
+
|
|
50
|
+
- React Native Error Handlers Integration doesn't crash if ErrorUtils are not available ([#2808](https://github.com/getsentry/sentry-react-native/pull/2808))
|
|
51
|
+
|
|
52
|
+
### Dependencies
|
|
53
|
+
|
|
54
|
+
- 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))
|
|
55
|
+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6140)
|
|
56
|
+
- [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.14.0)
|
|
57
|
+
- Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767))
|
|
58
|
+
- [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711)
|
|
59
|
+
- [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1)
|
|
60
|
+
- 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))
|
|
61
|
+
- [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7372)
|
|
62
|
+
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.37.2)
|
|
63
|
+
|
|
3
64
|
## 5.0.0-rc.1
|
|
4
65
|
|
|
5
66
|
### Fixes
|
|
@@ -15,15 +76,15 @@
|
|
|
15
76
|
|
|
16
77
|
### Dependencies
|
|
17
78
|
|
|
18
|
-
- Bump Android SDK from v6.12.1 to v6.
|
|
19
|
-
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#
|
|
20
|
-
- [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.
|
|
79
|
+
- 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))
|
|
80
|
+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6140)
|
|
81
|
+
- [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.14.0)
|
|
21
82
|
- Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767))
|
|
22
83
|
- [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711)
|
|
23
84
|
- [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1)
|
|
24
|
-
- Bump JavaScript SDK from v7.32.1 to v7.
|
|
25
|
-
- [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#
|
|
26
|
-
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.
|
|
85
|
+
- 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))
|
|
86
|
+
- [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7372)
|
|
87
|
+
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.37.2)
|
|
27
88
|
|
|
28
89
|
## 5.0.0-beta.1
|
|
29
90
|
|
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This is a workaround for
|
|
3
|
-
* YellowBox deprecated and replaced with with LogBox in RN 0.63
|
|
2
|
+
* This is a workaround for using fetch on RN, this is a known issue in react-native and only generates a warning.
|
|
4
3
|
*/
|
|
5
4
|
export declare function ignoreRequireCycleLogs(): void;
|
|
6
5
|
//# sourceMappingURL=ignorerequirecyclelogs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignorerequirecyclelogs.d.ts","sourceRoot":"","sources":["../../../src/js/utils/ignorerequirecyclelogs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ignorerequirecyclelogs.d.ts","sourceRoot":"","sources":["../../../src/js/utils/ignorerequirecyclelogs.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import { LogBox, YellowBox } from 'react-native';
|
|
1
|
+
import { LogBox } from 'react-native';
|
|
3
2
|
/**
|
|
4
|
-
* This is a workaround for
|
|
5
|
-
* YellowBox deprecated and replaced with with LogBox in RN 0.63
|
|
3
|
+
* This is a workaround for using fetch on RN, this is a known issue in react-native and only generates a warning.
|
|
6
4
|
*/
|
|
7
5
|
export function ignoreRequireCycleLogs() {
|
|
8
|
-
|
|
9
|
-
LogBox.ignoreLogs(['Require cycle:']);
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
YellowBox.ignoreWarnings(['Require cycle:']);
|
|
13
|
-
}
|
|
6
|
+
LogBox.ignoreLogs(['Require cycle:']);
|
|
14
7
|
}
|
|
15
8
|
//# sourceMappingURL=ignorerequirecyclelogs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignorerequirecyclelogs.js","sourceRoot":"","sources":["../../../src/js/utils/ignorerequirecyclelogs.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ignorerequirecyclelogs.js","sourceRoot":"","sources":["../../../src/js/utils/ignorerequirecyclelogs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC;;GAEG;AACH,MAAM,UAAU,sBAAsB;IACpC,MAAM,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import { LogBox } from 'react-native';\n\n/**\n * This is a workaround for using fetch on RN, this is a known issue in react-native and only generates a warning.\n */\nexport function ignoreRequireCycleLogs(): void {\n LogBox.ignoreLogs(['Require cycle:']);\n}\n"]}
|
package/dist/js/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const SDK_PACKAGE_NAME = "npm:@sentry/react-native";
|
|
2
2
|
export declare const SDK_NAME = "sentry.javascript.react-native";
|
|
3
|
-
export declare const SDK_VERSION = "5.0.0
|
|
3
|
+
export declare const SDK_VERSION = "5.0.0";
|
|
4
4
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/js/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,6BAA6B,CAAC;AAC3D,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,6BAA6B,CAAC;AAC3D,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,UAAU,CAAC"}
|
package/dist/js/version.js
CHANGED
package/dist/js/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,0BAA0B,CAAC;AAC3D,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,0BAA0B,CAAC;AAC3D,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC","sourcesContent":["export const SDK_PACKAGE_NAME = 'npm:@sentry/react-native';\nexport const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '5.0.0';\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sentry/react-native",
|
|
3
3
|
"homepage": "https://github.com/getsentry/sentry-react-native",
|
|
4
4
|
"repository": "https://github.com/getsentry/sentry-react-native",
|
|
5
|
-
"version": "5.0.0
|
|
5
|
+
"version": "5.0.0",
|
|
6
6
|
"description": "Official Sentry SDK for react-native",
|
|
7
7
|
"typings": "dist/js/index.d.ts",
|
|
8
8
|
"types": "dist/js/index.d.ts",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"react-native": ">=0.65.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@sentry/browser": "7.
|
|
45
|
+
"@sentry/browser": "7.37.2",
|
|
46
46
|
"@sentry/cli": "2.10.0",
|
|
47
|
-
"@sentry/core": "7.
|
|
48
|
-
"@sentry/hub": "7.
|
|
49
|
-
"@sentry/integrations": "7.
|
|
50
|
-
"@sentry/react": "7.
|
|
51
|
-
"@sentry/tracing": "7.
|
|
52
|
-
"@sentry/types": "7.
|
|
53
|
-
"@sentry/utils": "7.
|
|
47
|
+
"@sentry/core": "7.37.2",
|
|
48
|
+
"@sentry/hub": "7.37.2",
|
|
49
|
+
"@sentry/integrations": "7.37.2",
|
|
50
|
+
"@sentry/react": "7.37.2",
|
|
51
|
+
"@sentry/tracing": "7.37.2",
|
|
52
|
+
"@sentry/types": "7.37.2",
|
|
53
|
+
"@sentry/utils": "7.37.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@sentry-internal/eslint-config-sdk": "7.
|
|
57
|
-
"@sentry-internal/eslint-plugin-sdk": "7.
|
|
56
|
+
"@sentry-internal/eslint-config-sdk": "7.37.2",
|
|
57
|
+
"@sentry-internal/eslint-plugin-sdk": "7.37.2",
|
|
58
58
|
"@sentry/typescript": "^5.20.1",
|
|
59
59
|
"@sentry/wizard": "2.2.0",
|
|
60
60
|
"@types/jest": "^29.2.5",
|