Skip to content

Commit 7aaa0b6

Browse files
authored
chore: Remove v2 perf option from v9 sdk (#6332)
* chore: Remove v2 perf option from v9 sdk * Fix CI
1 parent 09471ff commit 7aaa0b6

21 files changed

+50
-139
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ jobs:
265265
- name: iOS 26 Sentry
266266
runs-on: macos-26
267267
platform: "iOS"
268-
xcode: "26.0"
268+
xcode: "26.0.1"
269269
test-destination-os: "26.0"
270270
device: "iPhone 17 Pro"
271271
scheme: "Sentry"
@@ -294,7 +294,7 @@ jobs:
294294
- name: macOS 26 Sentry
295295
runs-on: macos-26
296296
platform: "macOS"
297-
xcode: "26.0"
297+
xcode: "26.0.1"
298298
test-destination-os: "26.0"
299299
scheme: "Sentry"
300300

@@ -350,7 +350,7 @@ jobs:
350350
- name: tvOS 26 Sentry
351351
runs-on: macos-26
352352
platform: "tvOS"
353-
xcode: "26.0"
353+
xcode: "26.0.1"
354354
test-destination-os: "26.0"
355355
device: "Apple TV"
356356
scheme: "Sentry"

.github/workflows/ui-tests-common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ jobs:
7979
env:
8080
XCODE_VERSION: ${{ inputs.xcode_version }}
8181
- name: Install required platforms for Xcode 26
82-
if: ${{ inputs.xcode_version == '26.0' }}
82+
if: ${{ inputs.xcode_version == '26.0.1' }}
8383
run: ./scripts/ci-install-xOS-26-platforms.sh --platforms "${{inputs.platform}}"
8484

8585
- name: Create simulator device for Xcode 26
86-
if: ${{ inputs.xcode_version == '26.0' }}
86+
if: ${{ inputs.xcode_version == '26.0.1' }}
8787
run: ./scripts/ci-create-simulator.sh --platform "${{inputs.platform}}" --os-version "${{inputs.test-destination-os}}" --device-name "${{inputs.device}}"
8888
- run: make init-ci-build
8989
if: ${{ inputs.build_with_make }}

.github/workflows/ui-tests-critical.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: iOS 26
7676
platform:
7777
runs-on: macos-15
78-
xcode: "26.0"
78+
xcode: "26.0.1"
7979
platform: "iOS"
8080
device: "iPhone 16 Pro"
8181
test-destination-os: "26.0"

.github/workflows/ui-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- name: iOS 26
9898
runs-on: macos-15
9999
platform: "iOS"
100-
xcode: "26.0"
100+
xcode: "26.0.1"
101101
device: iPhone 16 Pro
102102
test-destination-os: "26.0"
103103
with:

CHANGELOG-v9.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
### Breaking Changes
44

5-
Removes deprecated user feedback API, this is replaced with the new feedback API (#5591)
65
Removes unused SentryLogLevel (#5591)
76
Removes deprecated getStoreEndpoint (#5591)
87
Removes deprecated useSpan function (#5591)
@@ -16,4 +15,3 @@ Removes deprecated `setExtraValue` from SentrySpan (#5864)
1615
Removes `integrations` property from `SentryOptions` (#5749)
1716
Makes `SentryEventDecodable` internal (#5808)
1817
The `span` property on `SentryScope` is now readonly (#5866)
19-
Removes `enablePerformanceV2` option and makes this the default (#6008)

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
Removes deprecated user feedback API, this is replaced with the new feedback API (#5591)
8+
Removes `enablePerformanceV2` option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)
9+
510
### Features
611

712
- Add SentryDistribution as Swift Package Manager target (#6149)

Samples/SentrySampleShared/SentrySampleShared/SentrySDKOverrides.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public enum SentrySDKOverrides: String, CaseIterable {
8383

8484
public enum Performance: String, SentrySDKOverride {
8585
case disableTimeToFullDisplayTracing = "--io.sentry.performance.disable-time-to-full-display-tracing"
86-
case disablePerformanceV2 = "--io.sentry.performance.disable-performance-v2"
8786
case disableAppHangTrackingV2 = "--io.sentry.performance.disable-app-hang-tracking-v2"
8887
case disableSessionTracking = "--io.sentry.performance.disable-automatic-session-tracking"
8988
case disableFileIOTracing = "--io.sentry.performance.disable-file-io-tracing"
@@ -315,7 +314,7 @@ extension SentrySDKOverrides.Other {
315314
extension SentrySDKOverrides.Performance {
316315
public var overrideType: OverrideType {
317316
switch self {
318-
case .disableTimeToFullDisplayTracing, .disablePerformanceV2, .disableAppHangTrackingV2, .disableSessionTracking, .disableFileIOTracing, .disableUIVCTracing, .disableCoreDataTracing, .disableANRTracking, .disableWatchdogTracking, .disableUITracing, .disablePrewarmedAppStartTracing, .disablePerformanceTracing: return .boolean
317+
case .disableTimeToFullDisplayTracing, .disableAppHangTrackingV2, .disableSessionTracking, .disableFileIOTracing, .disableUIVCTracing, .disableCoreDataTracing, .disableANRTracking, .disableWatchdogTracking, .disableUITracing, .disablePrewarmedAppStartTracing, .disablePerformanceTracing: return .boolean
319318
case .sessionTrackingIntervalMillis: return .string
320319
}
321320
}
@@ -402,7 +401,7 @@ extension SentrySDKOverrides.Other {
402401
extension SentrySDKOverrides.Performance {
403402
public var ignoresDisableEverything: Bool {
404403
switch self {
405-
case .disableTimeToFullDisplayTracing, .disablePerformanceV2, .disableAppHangTrackingV2, .disableSessionTracking, .disableFileIOTracing, .disableUIVCTracing, .disableCoreDataTracing, .disableANRTracking, .disableWatchdogTracking, .disableUITracing, .disablePrewarmedAppStartTracing, .disablePerformanceTracing: return false
404+
case .disableTimeToFullDisplayTracing, .disableAppHangTrackingV2, .disableSessionTracking, .disableFileIOTracing, .disableUIVCTracing, .disableCoreDataTracing, .disableANRTracking, .disableWatchdogTracking, .disableUITracing, .disablePrewarmedAppStartTracing, .disablePerformanceTracing: return false
406405
case .sessionTrackingIntervalMillis: return true
407406
}
408407
}

Samples/SentrySampleShared/SentrySampleShared/SentrySDKWrapper.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ public struct SentrySDKWrapper {
135135
options.enableCrashHandler = !SentrySDKOverrides.Other.disableCrashHandling.boolValue
136136
options.enablePersistingTracesWhenCrashing = true
137137
options.enableTimeToFullDisplayTracing = !SentrySDKOverrides.Performance.disableTimeToFullDisplayTracing.boolValue
138-
#if !SDK_V9
139-
options.enablePerformanceV2 = !SentrySDKOverrides.Performance.disablePerformanceV2.boolValue
140-
#endif
141138
options.failedRequestStatusCodes = [ HttpStatusCodeRange(min: 400, max: 599) ]
142139

143140
#if targetEnvironment(simulator)

Samples/iOS-Swift/iOS-Swift-UITests/ViewLifecycleUITests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class ViewLifecycleUITests: BaseUITest {
1111
super.setUp()
1212
launchApp(args: [
1313
SentrySDKOverrides.Performance.disableTimeToFullDisplayTracing.rawValue,
14-
SentrySDKOverrides.Performance.disablePerformanceV2.rawValue,
1514
SentrySDKOverrides.Performance.disableAppHangTrackingV2.rawValue
1615
])
1716
}

Sources/Sentry/Public/SentryOptions.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -288,17 +288,6 @@ NS_SWIFT_NAME(Options)
288288
*/
289289
@property (nonatomic, assign) BOOL enableAutoPerformanceTracing;
290290

291-
#if !SDK_V9
292-
/**
293-
* We're working to update our Performance product offering in order to be able to provide better
294-
* insights and highlight specific actions you can take to improve your mobile app's overall
295-
* performance. The performanceV2 option changes the following behavior: The app start duration will
296-
* now finish when the first frame is drawn instead of when the OS posts the
297-
* UIWindowDidBecomeVisibleNotification. This change will be the default in the next major version.
298-
*/
299-
@property (nonatomic, assign) BOOL enablePerformanceV2;
300-
#endif // !SDK_V9
301-
302291
/**
303292
* @warning This is an experimental feature and may still have bugs.
304293
*

0 commit comments

Comments
 (0)