@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 CHANGED
@@ -1,11 +1,25 @@
1
1
  # Changelog
2
2
 
3
- ## 5.26.0-alpha.3
3
+ ## 5.26.0
4
4
 
5
5
  ### Features
6
6
 
7
- - Redact `react-native-svg` SVGs when `maskAllVectors` ([#3930](https://github.com/getsentry/sentry-react-native/pull/3930))
8
- - Add `annotateReactComponents` option to `@sentry/react-native/metro` ([#3916](https://github.com/getsentry/sentry-react-native/pull/3916))
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
- ### Fixes
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
- - Add `app.foreground/background` breadcrumbs to iOS Replays ([#3932](https://github.com/getsentry/sentry-react-native/pull/3932))
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 Android SDK from v7.11.0-alpha.2 to v7.12.0-alpha.4 ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830))
28
- - [changelog](https://github.com/getsentry/sentry-java/blob/7.12.0-alpha.3/CHANGELOG.md#7120-alpha4)
29
- - [diff](https://github.com/getsentry/sentry-java/compare/7.11.0-alpha.2...7.12.0-alpha.4)
30
- - Bump Cocoa SDK from v8.30.0 to v8.30.1 ([#3936](https://github.com/getsentry/sentry-react-native/pull/3936))
31
- - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8301)
32
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.0...8.30.1)
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
@@ -33,7 +33,7 @@ Pod::Spec.new do |s|
33
33
  s.preserve_paths = '*.js'
34
34
 
35
35
  s.dependency 'React-Core'
36
- s.dependency 'Sentry/HybridSDK', '8.30.1'
36
+ s.dependency 'Sentry/HybridSDK', '8.31.1'
37
37
 
38
38
  s.source_files = 'ios/**/*.{h,m,mm}'
39
39
  s.public_header_files = 'ios/RNSentry.h'
@@ -54,5 +54,5 @@ android {
54
54
 
55
55
  dependencies {
56
56
  implementation 'com.facebook.react:react-native:+'
57
- api 'io.sentry:sentry-android:7.12.0-alpha.4'
57
+ api 'io.sentry:sentry-android:7.12.0'
58
58
  }
@@ -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-alpha.3";
3
+ export declare const SDK_VERSION = "5.26.0";
4
4
  //# sourceMappingURL=version.d.ts.map
@@ -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,mBAAmB,CAAC"}
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"}
@@ -1,4 +1,4 @@
1
1
  export const SDK_PACKAGE_NAME = 'npm:@sentry/react-native';
2
2
  export const SDK_NAME = 'sentry.javascript.react-native';
3
- export const SDK_VERSION = '5.26.0-alpha.3';
3
+ export const SDK_VERSION = '5.26.0';
4
4
  //# sourceMappingURL=version.js.map
@@ -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,gBAAgB,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-alpha.3';\n"]}
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-alpha.3",
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-alpha.3";
3
+ export declare const SDK_VERSION = "5.26.0";
4
4
  //# sourceMappingURL=version.d.ts.map