Skip to content

Commit b677956

Browse files
release: 6.9.1 (#4646)
1 parent 4ed9c54 commit b677956

File tree

21 files changed

+60
-67
lines changed

21 files changed

+60
-67
lines changed

CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
### Fixes
1717

1818
- Considers the `SENTRY_DISABLE_AUTO_UPLOAD` and `SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD` environment variables in the configuration of the Sentry Android Gradle Plugin for Expo plugin ([#4583](https://github.com/getsentry/sentry-react-native/pull/4583))
19-
- Attach App Start spans to the first created not the first processed root span ([#4618](https://github.com/getsentry/sentry-react-native/pull/4618))
2019
- Handle non-string category in getCurrentScreen on iOS ([#4629](https://github.com/getsentry/sentry-react-native/pull/4629))
2120

2221
### Dependencies
@@ -31,6 +30,19 @@
3130
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8460)
3231
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.45.0...8.46.0)
3332

33+
## 6.9.1
34+
35+
### Fixes
36+
37+
- Fixes missing Cold Start measurements by bumping the Android SDK version to v7.22.1 ([#4643](https://github.com/getsentry/sentry-react-native/pull/4643))
38+
- Attach App Start spans to the first created not the first processed root span ([#4618](https://github.com/getsentry/sentry-react-native/pull/4618), [#4644](https://github.com/getsentry/sentry-react-native/pull/4644))
39+
40+
### Dependencies
41+
42+
- Bump Android SDK from v7.22.0 to v7.22.1 ([#4643](https://github.com/getsentry/sentry-react-native/pull/4643))
43+
- [changelog](https://github.com/getsentry/sentry-java/blob/7.x.x/CHANGELOG.md#7221)
44+
- [diff](https://github.com/getsentry/sentry-java/compare/7.22.0...7.22.1)
45+
3446
## 6.9.0
3547

3648
> [!WARNING]

dev-packages/e2e-tests/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-e2e-tests",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"private": true,
55
"description": "Sentry React Native End to End Tests Library",
66
"main": "dist/index.js",
@@ -14,7 +14,7 @@
1414
"@babel/preset-env": "^7.25.3",
1515
"@babel/preset-typescript": "^7.18.6",
1616
"@sentry/core": "8.54.0",
17-
"@sentry/react-native": "6.9.0",
17+
"@sentry/react-native": "6.9.1",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "2.4.1",

dev-packages/type-check/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sentry-react-native-type-check",
33
"private": true,
4-
"version": "6.9.0",
4+
"version": "6.9.1",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-samples-utils",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"description": "Internal Samples Utils",
55
"main": "index.js",
66
"license": "MIT",

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"packages": [
55
"packages/*",
66
"dev-packages/*",

packages/core/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ android {
5454

5555
dependencies {
5656
implementation 'com.facebook.react:react-native:+'
57-
api 'io.sentry:sentry-android:7.22.0'
57+
api 'io.sentry:sentry-android:7.22.1'
5858
}

packages/core/android/src/main/java/io/sentry/react/RNSentryVersion.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class RNSentryVersion {
44
static final String REACT_NATIVE_SDK_PACKAGE_NAME = "npm:@sentry/react-native";
5-
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "6.9.0";
5+
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "6.9.1";
66
static final String NATIVE_SDK_NAME = "sentry.native.android.react-native";
77
static final String ANDROID_SDK_NAME = "sentry.java.android.react-native";
88
static final String REACT_NATIVE_SDK_NAME = "sentry.javascript.react-native";

packages/core/ios/RNSentryVersion.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
NSString *const NATIVE_SDK_NAME = @"sentry.cocoa.react-native";
44
NSString *const REACT_NATIVE_SDK_NAME = @"sentry.javascript.react-native";
55
NSString *const REACT_NATIVE_SDK_PACKAGE_NAME = @"npm:@sentry/react-native";
6-
NSString *const REACT_NATIVE_SDK_PACKAGE_VERSION = @"6.9.0";
6+
NSString *const REACT_NATIVE_SDK_PACKAGE_VERSION = @"6.9.1";

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@sentry/react-native",
33
"homepage": "https://github.com/getsentry/sentry-react-native",
44
"repository": "https://github.com/getsentry/sentry-react-native",
5-
"version": "6.9.0",
5+
"version": "6.9.1",
66
"description": "Official Sentry SDK for react-native",
77
"typings": "dist/js/index.d.ts",
88
"types": "dist/js/index.d.ts",

packages/core/src/js/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const SDK_PACKAGE_NAME = 'npm:@sentry/react-native';
22
export const SDK_NAME = 'sentry.javascript.react-native';
3-
export const SDK_VERSION = '6.9.0';
3+
export const SDK_VERSION = '6.9.1';

performance-tests/TestAppPlain/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "TestAppPlain",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",

performance-tests/TestAppSentry/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "TestAppSentry",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start"
99
},
1010
"dependencies": {
11-
"@sentry/react-native": "6.9.0",
11+
"@sentry/react-native": "6.9.1",
1212
"react": "18.1.0",
1313
"react-native": "0.70.15"
1414
},

samples/expo/app.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"slug": "sentry-react-native-expo-sample",
55
"jsEngine": "hermes",
66
"scheme": "sentry-expo-sample",
7-
"version": "6.9.0",
7+
"version": "6.9.1",
88
"orientation": "portrait",
99
"icon": "./assets/icon.png",
1010
"userInterfaceStyle": "light",
@@ -19,15 +19,15 @@
1919
"ios": {
2020
"supportsTablet": true,
2121
"bundleIdentifier": "io.sentry.expo.sample",
22-
"buildNumber": "39"
22+
"buildNumber": "40"
2323
},
2424
"android": {
2525
"adaptiveIcon": {
2626
"foregroundImage": "./assets/adaptive-icon.png",
2727
"backgroundColor": "#ffffff"
2828
},
2929
"package": "io.sentry.expo.sample",
30-
"versionCode": 39
30+
"versionCode": 40
3131
},
3232
"web": {
3333
"bundler": "metro",

samples/expo/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-expo-sample",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"main": "expo-router/entry",
55
"scripts": {
66
"start": "expo start",
@@ -16,7 +16,7 @@
1616
"set-version": "npx react-native-version --skip-tag --never-amend"
1717
},
1818
"dependencies": {
19-
"@sentry/react-native": "6.9.0",
19+
"@sentry/react-native": "6.9.1",
2020
"@types/react": "~18.3.12",
2121
"expo": "^52.0.0",
2222
"expo-constants": "~17.0.3",

samples/react-native-macos/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-macos-sample",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"private": true,
55
"scripts": {
66
"start": "react-native start --experimental-debugger",
@@ -18,7 +18,7 @@
1818
"@react-navigation/stack": "^6.3.20",
1919
"@sentry/core": "8.54.0",
2020
"@sentry/react": "8.54.0",
21-
"@sentry/react-native": "6.9.0",
21+
"@sentry/react-native": "6.9.1",
2222
"delay": "^6.0.0",
2323
"react": "18.2.0",
2424
"react-native": "0.73.9",

samples/react-native/android/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ android {
136136
applicationId "io.sentry.reactnative.sample"
137137
minSdkVersion rootProject.ext.minSdkVersion
138138
targetSdkVersion rootProject.ext.targetSdkVersion
139-
versionCode 41
140-
versionName "6.9.0"
139+
versionCode 42
140+
versionName "6.9.1"
141141
}
142142

143143
signingConfigs {

samples/react-native/e2e/captureTransaction.test.ts

+13-32
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77

88
import { getItemOfTypeFrom } from './utils/event';
99
import { maestro } from './utils/maestro';
10-
import { isAndroid, isIOS } from './utils/environment';
1110

1211
describe('Capture transaction', () => {
1312
let sentryServer = createSentryServer();
@@ -79,38 +78,20 @@ describe('Capture transaction', () => {
7978
'transaction',
8079
);
8180

82-
if (isIOS()) {
83-
expect(item?.[1]).toEqual(
84-
expect.objectContaining({
85-
measurements: expect.objectContaining({
86-
time_to_initial_display: {
87-
unit: 'millisecond',
88-
value: expect.any(Number),
89-
},
90-
app_start_cold: {
91-
unit: 'millisecond',
92-
value: expect.any(Number),
93-
},
94-
}),
95-
}),
96-
);
97-
} else if (isAndroid()) {
98-
// TMP: Until the cold app start is fixed on Android
99-
expect(item?.[1]).toEqual(
100-
expect.objectContaining({
101-
measurements: expect.objectContaining({
102-
time_to_initial_display: {
103-
unit: 'millisecond',
104-
value: expect.any(Number),
105-
},
106-
app_start_warm: {
107-
unit: 'millisecond',
108-
value: expect.any(Number),
109-
},
110-
}),
81+
expect(item?.[1]).toEqual(
82+
expect.objectContaining({
83+
measurements: expect.objectContaining({
84+
time_to_initial_display: {
85+
unit: 'millisecond',
86+
value: expect.any(Number),
87+
},
88+
app_start_cold: {
89+
unit: 'millisecond',
90+
value: expect.any(Number),
91+
},
11192
}),
112-
);
113-
}
93+
}),
94+
);
11495
});
11596

11697
it('contains time to initial display measurements', async () => {

samples/react-native/ios/sentryreactnativesample/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>6.9.0</string>
22+
<string>6.9.1</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>
26-
<string>46</string>
26+
<string>47</string>
2727
<key>LSRequiresIPhoneOS</key>
2828
<true />
2929
<key>NSAppTransportSecurity</key>

samples/react-native/ios/sentryreactnativesampleTests/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>6.9.0</string>
18+
<string>6.9.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>46</string>
22+
<string>47</string>
2323
</dict>
2424
</plist>

samples/react-native/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-sample",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"private": true,
55
"scripts": {
66
"postinstall": "patch-package",
@@ -28,7 +28,7 @@
2828
"@react-navigation/native-stack": "^7.2.0",
2929
"@react-navigation/stack": "^7.1.1",
3030
"@sentry/core": "8.54.0",
31-
"@sentry/react-native": "6.9.0",
31+
"@sentry/react-native": "6.9.1",
3232
"delay": "^6.0.0",
3333
"react": "18.3.1",
3434
"react-native": "0.77.1",

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -8094,7 +8094,7 @@ __metadata:
80948094
languageName: node
80958095
linkType: hard
80968096

8097-
"@sentry/[email protected].0, @sentry/react-native@workspace:packages/core":
8097+
"@sentry/[email protected].1, @sentry/react-native@workspace:packages/core":
80988098
version: 0.0.0-use.local
80998099
resolution: "@sentry/react-native@workspace:packages/core"
81008100
dependencies:
@@ -9785,7 +9785,7 @@ __metadata:
97859785
dependencies:
97869786
"@babel/core": ^7.12.9
97879787
"@babel/runtime": ^7.12.5
9788-
"@sentry/react-native": 6.9.0
9788+
"@sentry/react-native": 6.9.1
97899789
metro-react-native-babel-preset: ^0.72.3
97909790
react: 18.1.0
97919791
react-native: 0.70.15
@@ -24550,7 +24550,7 @@ __metadata:
2455024550
"@babel/preset-env": ^7.25.3
2455124551
"@babel/preset-typescript": ^7.18.6
2455224552
"@sentry/core": 8.54.0
24553-
"@sentry/react-native": 6.9.0
24553+
"@sentry/react-native": 6.9.1
2455424554
"@types/node": ^20.9.3
2455524555
"@types/react": ^18.2.64
2455624556
appium: 2.4.1
@@ -24579,7 +24579,7 @@ __metadata:
2457924579
"@babel/core": ^7.26.0
2458024580
"@babel/preset-env": ^7.26.0
2458124581
"@sentry/babel-plugin-component-annotate": 3.2.2
24582-
"@sentry/react-native": 6.9.0
24582+
"@sentry/react-native": 6.9.1
2458324583
"@types/node": 20.10.4
2458424584
"@types/react": ~18.3.12
2458524585
expo: ^52.0.0
@@ -24617,7 +24617,7 @@ __metadata:
2461724617
"@react-navigation/stack": ^6.3.20
2461824618
"@sentry/core": 8.54.0
2461924619
"@sentry/react": 8.54.0
24620-
"@sentry/react-native": 6.9.0
24620+
"@sentry/react-native": 6.9.1
2462124621
"@types/react": ^18.2.65
2462224622
"@types/react-native-vector-icons": ^6.4.18
2462324623
"@types/react-test-renderer": ^18.0.0
@@ -24664,7 +24664,7 @@ __metadata:
2466424664
"@react-navigation/stack": ^7.1.1
2466524665
"@sentry/babel-plugin-component-annotate": 3.2.2
2466624666
"@sentry/core": 8.54.0
24667-
"@sentry/react-native": 6.9.0
24667+
"@sentry/react-native": 6.9.1
2466824668
"@types/jest": ^29.5.14
2466924669
"@types/node": ^22.13.1
2467024670
"@types/react": ^18.2.65

0 commit comments

Comments
 (0)