@sentry/react-native 5.26.0-alpha.3 → 5.26.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 +43 -11
- package/RNSentry.podspec +1 -1
- package/android/build.gradle +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 +1 -1
- package/ts3.8/dist/js/version.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 5.26.0
|
|
3
|
+
## 5.26.0
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
7
|
+
- Session Replay Public Beta ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830))
|
|
8
|
+
|
|
9
|
+
To enable Replay use the `replaysSessionSampleRate` or `replaysOnErrorSampleRate` options.
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import * as Sentry from '@sentry/react-native';
|
|
13
|
+
|
|
14
|
+
Sentry.init({
|
|
15
|
+
_experiments: {
|
|
16
|
+
replaysSessionSampleRate: 1.0,
|
|
17
|
+
replaysOnErrorSampleRate: 1.0,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
To add React Component Names use `annotateReactComponents` in `metro.config.js`.
|
|
9
23
|
|
|
10
24
|
```js
|
|
11
25
|
// For Expo
|
|
@@ -18,18 +32,36 @@
|
|
|
18
32
|
module.exports = withSentryConfig(getDefaultConfig(__dirname), { annotateReactComponents: true });
|
|
19
33
|
```
|
|
20
34
|
|
|
21
|
-
|
|
35
|
+
To change default redaction behavior add the `mobileReplayIntegration`.
|
|
36
|
+
|
|
37
|
+
```js
|
|
38
|
+
import * as Sentry from '@sentry/react-native';
|
|
39
|
+
|
|
40
|
+
Sentry.init({
|
|
41
|
+
_experiments: {
|
|
42
|
+
replaysSessionSampleRate: 1.0,
|
|
43
|
+
replaysOnErrorSampleRate: 1.0,
|
|
44
|
+
},
|
|
45
|
+
integrations: [
|
|
46
|
+
Sentry.mobileReplayIntegration({
|
|
47
|
+
maskAllImages: true,
|
|
48
|
+
maskAllVectors: true,
|
|
49
|
+
maskAllText: true,
|
|
50
|
+
}),
|
|
51
|
+
],
|
|
52
|
+
});
|
|
53
|
+
```
|
|
22
54
|
|
|
23
|
-
|
|
55
|
+
To learn more visit [Sentry's Mobile Session Replay](https://docs.sentry.io/product/explore/session-replay/mobile/) documentation page.
|
|
24
56
|
|
|
25
57
|
### Dependencies
|
|
26
58
|
|
|
27
|
-
- Bump
|
|
28
|
-
- [changelog](https://github.com/getsentry/sentry-
|
|
29
|
-
- [diff](https://github.com/getsentry/sentry-
|
|
30
|
-
- Bump
|
|
31
|
-
- [changelog](https://github.com/getsentry/sentry-
|
|
32
|
-
- [diff](https://github.com/getsentry/sentry-
|
|
59
|
+
- Bump Cocoa SDK from v8.30.0 to v8.31.1 ([#3954](https://github.com/getsentry/sentry-react-native/pull/3954))
|
|
60
|
+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8311)
|
|
61
|
+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.0...8.31.1)
|
|
62
|
+
- Bump Android SDK from v7.11.0 to v7.12.0 ([#3950](https://github.com/getsentry/sentry-react-native/pull/3949))
|
|
63
|
+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7120)
|
|
64
|
+
- [diff](https://github.com/getsentry/sentry-java/compare/7.11.0...7.12.0)
|
|
33
65
|
|
|
34
66
|
## 5.25.0
|
|
35
67
|
|
package/RNSentry.podspec
CHANGED
package/android/build.gradle
CHANGED
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.26.0
|
|
3
|
+
export declare const SDK_VERSION = "5.26.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,WAAW,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,QAAQ,CAAC","sourcesContent":["export const SDK_PACKAGE_NAME = 'npm:@sentry/react-native';\nexport const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '5.26.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.26.0
|
|
5
|
+
"version": "5.26.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",
|
|
@@ -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.26.0
|
|
3
|
+
export declare const SDK_VERSION = "5.26.0";
|
|
4
4
|
//# sourceMappingURL=version.d.ts.map
|