@sentry/react-native 4.2.0 → 4.2.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,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.2.1
4
+
5
+ ### Fixes
6
+
7
+ - SENTRY_DIST accepts non-number values on Android ([#2395](https://github.com/getsentry/sentry-react-native/pull/2395))
8
+
9
+ ### Features
10
+
11
+ - Bump Cocoa SDK to v7.22.0 ([#2392](https://github.com/getsentry/sentry-react-native/pull/2392))
12
+ - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7220)
13
+ - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.21.0...7.22.0)
14
+
3
15
  ## 4.2.0
4
16
 
5
17
  ### Features
@@ -16,7 +28,9 @@
16
28
 
17
29
  ## 4.1.3
18
30
 
19
- fix: Solve reference to private cocoa SDK class #2369
31
+ ### Fixes
32
+
33
+ - Solve reference to private cocoa SDK class ([#2369](https://github.com/getsentry/sentry-react-native/pull/2369))
20
34
 
21
35
  ## 4.1.2
22
36
 
package/README.md CHANGED
@@ -75,6 +75,12 @@ If you are coming from `react-native-sentry` which was our SDK `< 1.0` you shoul
75
75
 
76
76
  ## Blog posts
77
77
 
78
+ [Introducing Mobile Screenshots and Suspect Commits](https://blog.sentry.io/2022/07/07/introducing-mobile-screenshots-and-suspect-commits).
79
+
80
+ [Tips for Optimizing React Native Application Performance - Part 2: Using Sentry SDK for Performance Monitoring](https://blog.sentry.io/2022/06/28/tips-for-optimizing-react-native-application-performance-part-2-using-sentry).
81
+
82
+ [Tips for Optimizing React Native Application Performance: Part 1](https://blog.sentry.io/2022/06/01/tips-for-optimizing-react-native-application-performance-part-1).
83
+
78
84
  [Tracking Stability in a Bluetooth Low Energy-Based React-Native App](https://blog.sentry.io/2022/02/22/tracking-stability-in-a-bluetooth-low-energy-based-react-native-app).
79
85
 
80
86
  [Mobile Vitals - Four Metrics Every Mobile Developer Should Care About](https://blog.sentry.io/2021/08/23/mobile-vitals-four-metrics-every-mobile-developer-should-care-about/).
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.21.0'
20
+ s.dependency 'Sentry', '7.22.0'
21
21
 
22
22
  s.source_files = 'ios/RNSentry.{h,m}'
23
23
  s.public_header_files = 'ios/RNSentry.h'
@@ -1,3 +1,3 @@
1
1
  export declare const SDK_NAME = "sentry.javascript.react-native";
2
- export declare const SDK_VERSION = "4.2.0";
2
+ export declare const SDK_VERSION = "4.2.1";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  export const SDK_NAME = 'sentry.javascript.react-native';
2
- export const SDK_VERSION = '4.2.0';
2
+ export const SDK_VERSION = '4.2.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.2.0';\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,OAAO,CAAC","sourcesContent":["export const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '4.2.1';\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": "4.2.0",
5
+ "version": "4.2.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",
package/sentry.gradle CHANGED
@@ -68,18 +68,17 @@ gradle.projectsEvaluated {
68
68
 
69
69
  try {
70
70
  if (versionCode instanceof String) {
71
- versionCode = Integer.parseInt(versionCode);
71
+ versionCode = Integer.parseInt(versionCode)
72
+ versionCode = Math.abs(versionCode)
72
73
  }
73
74
  } catch (NumberFormatException e) {
74
- project.logger.info("versionCode: '$versionCode' isn't an Integer, but it must be.")
75
+ project.logger.info("versionCode: '$versionCode' isn't an Integer, using the plain value.")
75
76
  }
76
77
 
77
- def absVersionCode = Math.abs(versionCode)
78
-
79
78
  // The Sentry server distinguishes source maps by release (`--release` in the command
80
79
  // below) and distribution identifier (`--dist` below). Give the task a unique name
81
80
  // based on where we're uploading to.
82
- def nameCliTask = "${bundleTask.name}_SentryUpload_${releaseName}_${absVersionCode}"
81
+ def nameCliTask = "${bundleTask.name}_SentryUpload_${releaseName}_${versionCode}"
83
82
 
84
83
  // If several outputs have the same releaseName and versionCode, we'd do the exact same
85
84
  // upload for each of them. No need to repeat.