@sentry/react-native 4.1.2 → 5.0.0-alpha.1

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,10 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.0-alpha.1
4
+
5
+ ### Fixes
6
+
7
+ - Auto linking for RN >= 0.69 ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332))
8
+
9
+ ## 4.2.0
10
+
11
+ ### Features
12
+
13
+ - Bump Cocoa SDK to v7.21.0 ([#2374](https://github.com/getsentry/sentry-react-native/pull/2374))
14
+ - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7210)
15
+ - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.20.0...7.21.0)
16
+ - Bump Android SDK to v6.3.0 ([#2380](https://github.com/getsentry/sentry-react-native/pull/2380))
17
+ - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#630)
18
+ - [diff](https://github.com/getsentry/sentry-java/compare/6.1.4...6.3.0)
19
+ - Bump JavaScript SDK to v7.7.0 ([#2375](https://github.com/getsentry/sentry-react-native/pull/2375))
20
+ - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#770)
21
+ - [diff](https://github.com/getsentry/sentry-javascript/compare/7.6.0...7.7.0)
22
+
23
+ ## 4.1.3
24
+
25
+ fix: Solve reference to private cocoa SDK class #2369
26
+
3
27
  ## 4.1.2
4
28
 
5
29
  ### Fixes
6
30
 
7
31
  - Set default unit for measurements ([#2360](https://github.com/getsentry/sentry-react-native/pull/2360))
32
+ - 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))
8
33
 
9
34
  ### Features
10
35
 
@@ -12,10 +37,6 @@
12
37
  - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#760)
13
38
  - [diff](https://github.com/getsentry/sentry-javascript/compare/7.5.1...7.6.0)
14
39
 
15
- ### Fixes
16
-
17
- - 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))
18
-
19
40
  ## 4.1.1
20
41
 
21
42
  ### Features
package/RNSentry.podspec CHANGED
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.preserve_paths = '*.js'
18
18
 
19
19
  s.dependency 'React-Core'
20
- s.dependency 'Sentry', '7.20.0'
20
+ s.dependency 'Sentry', '7.21.0'
21
21
 
22
22
  s.source_files = 'ios/RNSentry.{h,m}'
23
23
  s.public_header_files = 'ios/RNSentry.h'
@@ -24,5 +24,5 @@ android {
24
24
 
25
25
  dependencies {
26
26
  implementation 'com.facebook.react:react-native:+'
27
- api 'io.sentry:sentry-android:6.1.4'
27
+ api 'io.sentry:sentry-android:6.3.0'
28
28
  }
@@ -1,3 +1,3 @@
1
1
  export declare const SDK_NAME = "sentry.javascript.react-native";
2
- export declare const SDK_VERSION = "4.1.2";
2
+ export declare const SDK_VERSION = "5.0.0-alpha.1";
3
3
  //# 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,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export const SDK_NAME = 'sentry.javascript.react-native';
2
- export const SDK_VERSION = '4.1.2';
2
+ export const SDK_VERSION = '5.0.0-alpha.1';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC","sourcesContent":["export const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '4.1.2';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC","sourcesContent":["export const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '5.0.0-alpha.1';\n"]}
package/ios/RNSentry.m CHANGED
@@ -8,7 +8,10 @@
8
8
 
9
9
  #import <Sentry/Sentry.h>
10
10
  #import <Sentry/SentryScreenFrames.h>
11
- #import <Sentry/SentryTraceContext.h>
11
+
12
+ @interface SentryTraceContext : NSObject
13
+ - (nullable instancetype)initWithDict:(NSDictionary<NSString *, id> *)dictionary;
14
+ @end
12
15
 
13
16
  @interface SentrySDK (RNSentry)
14
17
 
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": "4.1.2",
5
+ "version": "5.0.0-alpha.1",
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",
@@ -40,20 +40,20 @@
40
40
  "react-native": ">=0.56.0"
41
41
  },
42
42
  "dependencies": {
43
- "@sentry/browser": "7.6.0",
43
+ "@sentry/browser": "7.7.0",
44
44
  "@sentry/cli": "1.74.4",
45
- "@sentry/core": "7.6.0",
46
- "@sentry/hub": "7.6.0",
47
- "@sentry/integrations": "7.6.0",
48
- "@sentry/react": "7.6.0",
49
- "@sentry/tracing": "7.6.0",
50
- "@sentry/types": "7.6.0",
51
- "@sentry/utils": "7.6.0",
52
- "@sentry/wizard": "1.2.17"
45
+ "@sentry/core": "7.7.0",
46
+ "@sentry/hub": "7.7.0",
47
+ "@sentry/integrations": "7.7.0",
48
+ "@sentry/react": "7.7.0",
49
+ "@sentry/tracing": "7.7.0",
50
+ "@sentry/types": "7.7.0",
51
+ "@sentry/utils": "7.7.0",
52
+ "@sentry/wizard": "2.0.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@sentry-internal/eslint-config-sdk": "7.6.0",
56
- "@sentry-internal/eslint-plugin-sdk": "7.6.0",
55
+ "@sentry-internal/eslint-config-sdk": "7.7.0",
56
+ "@sentry-internal/eslint-plugin-sdk": "7.7.0",
57
57
  "@sentry/typescript": "^5.20.1",
58
58
  "@types/jest": "^26.0.15",
59
59
  "@types/react": "^16.9.49",
@@ -72,18 +72,12 @@
72
72
  "typescript": "3.8.3"
73
73
  },
74
74
  "rnpm": {
75
- "commands": {
76
- "postlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android",
77
- "postunlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android --uninstall"
78
- },
75
+ "commands": {},
79
76
  "android": {
80
- "packageInstance": "new RNSentryPackage()"
77
+ "packageInstance": "new RNSentryPackage()",
78
+ "packageImportPath": "import io.sentry.react.RNSentryPackage;"
81
79
  },
82
- "ios": {
83
- "sharedLibraries": [
84
- "libz"
85
- ]
86
- }
80
+ "ios": {}
87
81
  },
88
82
  "jest": {
89
83
  "collectCoverage": true,
@@ -1,18 +1,11 @@
1
1
  module.exports = {
2
2
  dependency: {
3
3
  platforms: {
4
- ios: {
5
- sharedLibraries: ['libz']
6
- },
4
+ ios: {},
7
5
  android: {
8
- packageInstance: 'new RNSentryPackage()'
6
+ packageInstance: 'new RNSentryPackage()',
7
+ packageImportPath: 'import io.sentry.react.RNSentryPackage;'
9
8
  }
10
- },
11
- hooks: {
12
- postlink:
13
- 'node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android',
14
- postunlink:
15
- 'node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android --uninstall'
16
9
  }
17
10
  }
18
11
  };