Skip to content

Commit 469134d

Browse files
committed
Merge branch 'main' into feedback-ui-2
# Conflicts: # CHANGELOG.md
2 parents 83c070c + 241d647 commit 469134d

File tree

24 files changed

+97
-64
lines changed

24 files changed

+97
-64
lines changed

CHANGELOG.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,20 @@
1616

1717
### Fixes
1818

19+
- Fixes Feedback Widget accessibility issue on iOS ([#4739](https://github.com/getsentry/sentry-react-native/pull/4739))
20+
21+
## 6.14.0
22+
23+
### Fixes
24+
1925
- Expo Updates Context is passed to native after native init to be available for crashes ([#4808](https://github.com/getsentry/sentry-react-native/pull/4808))
2026
- Expo Updates Context values should all be lowercase ([#4809](https://github.com/getsentry/sentry-react-native/pull/4809))
21-
- Fixes Feedback Widget accessibility issue on iOS ([#4739](https://github.com/getsentry/sentry-react-native/pull/4739))
27+
- Avoid duplicate network requests (fetch, xhr) by default ([#4816](https://github.com/getsentry/sentry-react-native/pull/4816))
28+
- `traceFetch` is disabled by default on mobile as RN uses a polyfill which will be traced by `traceXHR`
29+
30+
### Changes
31+
32+
- Renames `enableExperimentalViewRenderer` to `enableViewRendererV2` which is enabled by default for up to 5x times more performance in Session Replay on iOS ([#4815](https://github.com/getsentry/sentry-react-native/pull/4815))
2233

2334
### Dependencies
2435

@@ -28,14 +39,9 @@
2839
- Bump Bundler Plugins from v3.3.1 to v3.4.0 ([#4805](https://github.com/getsentry/sentry-react-native/pull/4805))
2940
- [changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md#340)
3041
- [diff](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.3.1...3.4.0)
31-
- Bump Cocoa SDK from v8.49.2 to v8.50.1 ([#4807](https://github.com/getsentry/sentry-react-native/pull/4807), [#4821](https://github.com/getsentry/sentry-react-native/pull/4821))
32-
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8501)
33-
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.49.2...8.50.1)
34-
35-
### Fixes
36-
37-
- Avoid duplicate network requests (fetch, xhr) by default ([#4816](https://github.com/getsentry/sentry-react-native/pull/4816))
38-
- `traceFetch` is disabled by default on mobile as RN uses a polyfill which will be traced by `traceXHR`
42+
- Bump Cocoa SDK from v8.49.2 to v8.50.2 ([#4807](https://github.com/getsentry/sentry-react-native/pull/4807), [#4821](https://github.com/getsentry/sentry-react-native/pull/4821), [#4830](https://github.com/getsentry/sentry-react-native/pull/4830))
43+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8502)
44+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.49.2...8.50.2)
3945

4046
## 6.13.1
4147

dev-packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-e2e-tests",
3-
"version": "6.13.1",
3+
"version": "6.14.0",
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.13.1",
17+
"@sentry/react-native": "6.14.0",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "2.4.1",

dev-packages/type-check/package.json

Lines changed: 1 addition & 1 deletion
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.13.1",
4+
"version": "6.14.0",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

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

lerna.json

Lines changed: 1 addition & 1 deletion
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.13.1",
3+
"version": "6.14.0",
44
"packages": [
55
"packages/*",
66
"dev-packages/*",

packages/core/RNSentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
3737

3838
s.compiler_flags = other_cflags
3939

40-
s.dependency 'Sentry/HybridSDK', '8.50.1'
40+
s.dependency 'Sentry/HybridSDK', '8.50.2'
4141

4242
if defined? install_modules_dependencies
4343
# Default React Native dependencies for 0.71 and above (new and legacy architecture)

packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests/RNSentryReplayOptionsTests.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ final class RNSentryReplayOptions: XCTestCase {
5555
XCTAssertNotNil(replayOptions["maskAllText"])
5656
XCTAssertNotNil(replayOptions["maskedViewClasses"])
5757
XCTAssertNotNil(replayOptions["sdkInfo"])
58-
XCTAssertNotNil(replayOptions["enableExperimentalViewRenderer"])
58+
XCTAssertNotNil(replayOptions["enableViewRendererV2"])
5959
XCTAssertNotNil(replayOptions["enableFastViewRendering"])
6060
}
6161

@@ -166,8 +166,8 @@ final class RNSentryReplayOptions: XCTestCase {
166166
XCTAssertEqual(actualOptions.sessionReplay.maskAllText, false)
167167
XCTAssertEqual(actualOptions.sessionReplay.maskedViewClasses.count, 0)
168168
}
169-
170-
func testEnableExperimentalViewRendererDefault() {
169+
170+
func testEnableViewRendererV2Default() {
171171
let optionsDict = ([
172172
"dsn": "https://abc@def.ingest.sentry.io/1234567",
173173
"replaysOnErrorSampleRate": 0.75
@@ -177,37 +177,37 @@ final class RNSentryReplayOptions: XCTestCase {
177177

178178
let actualOptions = try! Options(dict: optionsDict as! [String: Any])
179179

180-
XCTAssertFalse(actualOptions.sessionReplay.enableExperimentalViewRenderer)
180+
XCTAssertTrue(actualOptions.sessionReplay.enableViewRendererV2)
181181
}
182-
183-
func testEnableExperimentalViewRendererTrue() {
182+
183+
func testEnableViewRendererV2True() {
184184
let optionsDict = ([
185185
"dsn": "https://abc@def.ingest.sentry.io/1234567",
186186
"replaysOnErrorSampleRate": 0.75,
187-
"mobileReplayOptions": [ "enableExperimentalViewRenderer": true ]
187+
"mobileReplayOptions": [ "enableViewRendererV2": true ]
188188
] as NSDictionary).mutableCopy() as! NSMutableDictionary
189189

190190
RNSentryReplay.updateOptions(optionsDict)
191191

192192
let actualOptions = try! Options(dict: optionsDict as! [String: Any])
193193

194-
XCTAssertTrue(actualOptions.sessionReplay.enableExperimentalViewRenderer)
194+
XCTAssertTrue(actualOptions.sessionReplay.enableViewRendererV2)
195195
}
196-
197-
func testEnableExperimentalViewRendererFalse() {
196+
197+
func testEnableViewRendererV2False() {
198198
let optionsDict = ([
199199
"dsn": "https://abc@def.ingest.sentry.io/1234567",
200200
"replaysOnErrorSampleRate": 0.75,
201-
"mobileReplayOptions": [ "enableExperimentalViewRenderer": false ]
201+
"mobileReplayOptions": [ "enableViewRendererV2": false ]
202202
] as NSDictionary).mutableCopy() as! NSMutableDictionary
203203

204204
RNSentryReplay.updateOptions(optionsDict)
205205

206206
let actualOptions = try! Options(dict: optionsDict as! [String: Any])
207207

208-
XCTAssertFalse(actualOptions.sessionReplay.enableExperimentalViewRenderer)
208+
XCTAssertFalse(actualOptions.sessionReplay.enableViewRendererV2)
209209
}
210-
210+
211211
func testEnableFastViewRenderingDefault() {
212212
let optionsDict = ([
213213
"dsn": "https://abc@def.ingest.sentry.io/1234567",
@@ -220,7 +220,7 @@ final class RNSentryReplayOptions: XCTestCase {
220220

221221
XCTAssertFalse(actualOptions.sessionReplay.enableFastViewRendering)
222222
}
223-
223+
224224
func testEnableFastViewRenderingTrue() {
225225
let optionsDict = ([
226226
"dsn": "https://abc@def.ingest.sentry.io/1234567",
@@ -234,7 +234,7 @@ final class RNSentryReplayOptions: XCTestCase {
234234

235235
XCTAssertTrue(actualOptions.sessionReplay.enableFastViewRendering)
236236
}
237-
237+
238238
func testEnableFastViewRenderingFalse() {
239239
let optionsDict = ([
240240
"dsn": "https://abc@def.ingest.sentry.io/1234567",

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

Lines changed: 1 addition & 1 deletion
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.13.1";
5+
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "6.14.0";
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/RNSentryReplay.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ + (void)updateOptions:(NSMutableDictionary *)options
2727
@"errorSampleRate" : options[@"replaysOnErrorSampleRate"] ?: [NSNull null],
2828
@"maskAllImages" : replayOptions[@"maskAllImages"] ?: [NSNull null],
2929
@"maskAllText" : replayOptions[@"maskAllText"] ?: [NSNull null],
30-
@"enableExperimentalViewRenderer" : replayOptions[@"enableExperimentalViewRenderer"]
31-
?: [NSNull null],
30+
@"enableViewRendererV2" : replayOptions[@"enableViewRendererV2"] ?: [NSNull null],
3231
@"enableFastViewRendering" : replayOptions[@"enableFastViewRendering"] ?: [NSNull null],
3332
@"maskedViewClasses" : [RNSentryReplay getReplayRNRedactClasses:replayOptions],
3433
@"sdkInfo" :

packages/core/ios/RNSentryVersion.m

Lines changed: 1 addition & 1 deletion
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.13.1";
6+
NSString *const REACT_NATIVE_SDK_PACKAGE_VERSION = @"6.14.0";

0 commit comments

Comments
 (0)