@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 +15 -1
- package/README.md +6 -0
- package/RNSentry.podspec +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/package.json +1 -1
- package/sentry.gradle +4 -5
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
|
-
|
|
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
package/dist/js/version.d.ts
CHANGED
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,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
|
+
{"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.
|
|
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,
|
|
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}_${
|
|
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.
|