@sentry/react-native 4.0.1 → 4.0.2

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,17 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.2
4
+
5
+ - Fix Calculate the absolute number of Android versionCode ([#2313](https://github.com/getsentry/sentry-react-native/pull/2313))
6
+
3
7
  ## 4.0.1
4
8
 
5
9
  - Filter out app start with more than 60s ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
6
10
 
7
11
  ## 4.0.0
8
12
 
13
+ - Bump Sentry JavaScript 7.1.1 ([#2279](https://github.com/getsentry/sentry-react-native/pull/2279))
14
+ - [changelog](https://github.com/getsentry/sentry-javascript/blob/7.1.1/CHANGELOG.md)
15
+ - [diff](https://github.com/getsentry/sentry-javascript/compare/6.19.2...7.1.1)
9
16
  - Bump Sentry Cocoa 7.18.0 ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
10
17
  - [changelog](https://github.com/getsentry/sentry-cocoa/blob/7.18.0/CHANGELOG.md)
11
- - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.17.0...7.18.0)
18
+ - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.11.0...7.18.0)
12
19
  - Bump Sentry Android 6.1.2 ([#2303](https://github.com/getsentry/sentry-react-native/pull/2303))
13
20
  - [changelog](https://github.com/getsentry/sentry-java/blob/6.1.2/CHANGELOG.md)
14
- - [diff](https://github.com/getsentry/sentry-java/compare/6.1.1...6.1.2)
21
+ - [diff](https://github.com/getsentry/sentry-java/compare/5.7.0...6.1.2)
22
+
23
+ ## Breaking changes
24
+
25
+ By bumping Sentry Javascript, new breaking changes were introduced, to know more what was changed, check the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry Javascript.
15
26
 
16
27
  ## 4.0.0-beta.5
17
28
 
@@ -120,7 +120,7 @@ public class RNSentryModule extends ReactContextBaseJavaModule {
120
120
  options.setSessionTrackingIntervalMillis(rnOptions.getInt("sessionTrackingIntervalMillis"));
121
121
  }
122
122
  if (rnOptions.hasKey("shutdownTimeout")) {
123
- options.setShutdownTimeout(rnOptions.getInt("shutdownTimeout"));
123
+ options.setShutdownTimeoutMillis(rnOptions.getInt("shutdownTimeout"));
124
124
  }
125
125
  if (rnOptions.hasKey("enableNdkScopeSync")) {
126
126
  options.setEnableScopeSync(rnOptions.getBoolean("enableNdkScopeSync"));
@@ -1,3 +1,3 @@
1
1
  export declare const SDK_NAME = "sentry.javascript.react-native";
2
- export declare const SDK_VERSION = "4.0.1";
2
+ export declare const SDK_VERSION = "4.0.2";
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.0.1';
2
+ export const SDK_VERSION = '4.0.2';
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.0.1';\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.0.2';\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.0.1",
5
+ "version": "4.0.2",
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
@@ -65,11 +65,12 @@ gradle.projectsEvaluated {
65
65
  variant = currentVariant[0]
66
66
  releaseName = currentVariant[1]
67
67
  versionCode = currentVariant[2]
68
+ def absVersionCode = Math.abs(versionCode)
68
69
 
69
70
  // The Sentry server distinguishes source maps by release (`--release` in the command
70
71
  // below) and distribution identifier (`--dist` below). Give the task a unique name
71
72
  // based on where we're uploading to.
72
- def nameCliTask = "${bundleTask.name}_SentryUpload_${releaseName}_${versionCode}"
73
+ def nameCliTask = "${bundleTask.name}_SentryUpload_${releaseName}_${absVersionCode}"
73
74
 
74
75
  // If several outputs have the same releaseName and versionCode, we'd do the exact same
75
76
  // upload for each of them. No need to repeat.