-
-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove SR from being experimental and make it GA. Co-authored-by: Sentry Github Bot <[email protected]>
- Loading branch information
1 parent
e9dfabe
commit 0aea1a1
Showing
11 changed files
with
55 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
### Features | ||
|
||
- Session replay GA (#4662) | ||
|
||
## 8.43.0-beta.1 | ||
|
||
### Improvements | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
@objcMembers | ||
public class SentryExperimentalOptions: NSObject { | ||
#if canImport(UIKit) | ||
/** | ||
* Settings to configure the session replay. | ||
*/ | ||
public var sessionReplay = SentryReplayOptions(sessionSampleRate: 0, onErrorSampleRate: 0) | ||
#endif | ||
|
||
func validateOptions(_ options: [String: Any]?) { | ||
#if canImport(UIKit) | ||
if let sessionReplayOptions = options?["sessionReplay"] as? [String: Any] { | ||
sessionReplay = SentryReplayOptions(dictionary: sessionReplayOptions) | ||
} | ||
#endif | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ class SentrySessionReplayIntegrationTests: XCTestCase { | |
private func startSDK(sessionSampleRate: Float, errorSampleRate: Float, enableSwizzling: Bool = true, noIntegrations: Bool = false, configure: ((Options) -> Void)? = nil) { | ||
SentrySDK.start { | ||
$0.dsn = "https://[email protected]/test" | ||
$0.experimental.sessionReplay = SentryReplayOptions(sessionSampleRate: sessionSampleRate, onErrorSampleRate: errorSampleRate) | ||
$0.sessionReplay = SentryReplayOptions(sessionSampleRate: sessionSampleRate, onErrorSampleRate: errorSampleRate) | ||
$0.setIntegrations(noIntegrations ? [] : [SentrySessionReplayIntegration.self]) | ||
$0.enableSwizzling = enableSwizzling | ||
$0.cacheDirectoryPath = FileManager.default.temporaryDirectory.path | ||
|
@@ -288,7 +288,7 @@ class SentrySessionReplayIntegrationTests: XCTestCase { | |
} | ||
|
||
startSDK(sessionSampleRate: 1, errorSampleRate: 1) { options in | ||
options.experimental.sessionReplay.maskedViewClasses = [AnotherLabel.self] | ||
options.sessionReplay.maskedViewClasses = [AnotherLabel.self] | ||
} | ||
|
||
let sut = try getSut() | ||
|
@@ -301,7 +301,7 @@ class SentrySessionReplayIntegrationTests: XCTestCase { | |
} | ||
|
||
startSDK(sessionSampleRate: 1, errorSampleRate: 1) { options in | ||
options.experimental.sessionReplay.unmaskedViewClasses = [AnotherLabel.self] | ||
options.sessionReplay.unmaskedViewClasses = [AnotherLabel.self] | ||
} | ||
|
||
let sut = try getSut() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters