Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Removes enableTracing property from SentryOptions (#5694)
Removes deprecated `setExtraValue` from SentrySpan (#5864)
Removes `integrations` property from `SentryOptions` (#5749)
Makes `SentryEventDecodable` internal (#5808)
Removes `SentryRedactViewHelper` from public API (#5860)
The `span` property on `SentryScope` is now readonly (#5866)

### Fixes
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
### Improvements

- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Moves `SentryRedactViewHelper` methods to an extension (#5860)

## 8.54.1-alpha.1

Expand Down
2 changes: 1 addition & 1 deletion Sources/SentrySwiftUI/SentryReplayView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if canImport(SwiftUI) && canImport(UIKit) && os(iOS) || os(tvOS)
import Sentry
@_spi(Private) import Sentry
import SwiftUI
import UIKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ import UIKit
import WebKit
#endif

@objcMembers
public class SentryRedactViewHelper: NSObject {
#if SDK_V9
@objcMembers @_spi(Private) public class SentryRedactViewHelper: NSObject {
override private init() {}
}
#else
@objcMembers public class SentryRedactViewHelper: NSObject {
override private init() {}
}
#endif
extension SentryRedactViewHelper {
private static var associatedRedactObjectHandle: UInt8 = 0
private static var associatedIgnoreObjectHandle: UInt8 = 0
private static var associatedClipOutObjectHandle: UInt8 = 0
private static var associatedSwiftUIRedactObjectHandle: UInt8 = 0

override private init() {}

@_spi(Private) public static func maskView(_ view: UIView) {
objc_setAssociatedObject(view, &associatedRedactObjectHandle, true, .OBJC_ASSOCIATION_ASSIGN)
}
Expand Down
6 changes: 4 additions & 2 deletions sdk_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -53374,14 +53374,15 @@
}
],
"declKind": "Func",
"usr": "c:@M@Sentry@objc(cs)SentryRedactViewHelper(cm)clipOutView:",
"usr": "c:@CM@Sentry@objc(cs)SentryRedactViewHelper(cm)clipOutView:",
"mangledName": "$s6Sentry0A16RedactViewHelperC07clipOutC0yySo6UIViewCFZ",
"moduleName": "Sentry",
"static": true,
"declAttributes": [
"Final",
"ObjC"
],
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
{
Expand All @@ -53402,14 +53403,15 @@
}
],
"declKind": "Func",
"usr": "c:@M@Sentry@objc(cs)SentryRedactViewHelper(cm)maskSwiftUI:",
"usr": "c:@CM@Sentry@objc(cs)SentryRedactViewHelper(cm)maskSwiftUI:",
"mangledName": "$s6Sentry0A16RedactViewHelperC11maskSwiftUIyySo6UIViewCFZ",
"moduleName": "Sentry",
"static": true,
"declAttributes": [
"Final",
"ObjC"
],
"isFromExtension": true,
"funcSelfKind": "NonMutating"
}
],
Expand Down
134 changes: 0 additions & 134 deletions sdk_api_V9.json
Original file line number Diff line number Diff line change
Expand Up @@ -49885,140 +49885,6 @@
}
]
},
{
"kind": "TypeDecl",
"name": "SentryRedactViewHelper",
"printedName": "SentryRedactViewHelper",
"children": [
{
"kind": "Function",
"name": "clipOutView",
"printedName": "clipOutView(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "UIView",
"printedName": "UIKit.UIView",
"usr": "c:objc(cs)UIView"
}
],
"declKind": "Func",
"usr": "c:@M@Sentry@objc(cs)SentryRedactViewHelper(cm)clipOutView:",
"mangledName": "$s6Sentry0A16RedactViewHelperC07clipOutC0yySo6UIViewCFZ",
"moduleName": "Sentry",
"static": true,
"declAttributes": [
"Final",
"ObjC"
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "maskSwiftUI",
"printedName": "maskSwiftUI(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "UIView",
"printedName": "UIKit.UIView",
"usr": "c:objc(cs)UIView"
}
],
"declKind": "Func",
"usr": "c:@M@Sentry@objc(cs)SentryRedactViewHelper(cm)maskSwiftUI:",
"mangledName": "$s6Sentry0A16RedactViewHelperC11maskSwiftUIyySo6UIViewCFZ",
"moduleName": "Sentry",
"static": true,
"declAttributes": [
"Final",
"ObjC"
],
"funcSelfKind": "NonMutating"
}
],
"declKind": "Class",
"usr": "c:@M@Sentry@objc(cs)SentryRedactViewHelper",
"mangledName": "$s6Sentry0A16RedactViewHelperC",
"moduleName": "Sentry",
"declAttributes": [
"ObjCMembers",
"ObjC"
],
"superclassUsr": "c:objc(cs)NSObject",
"hasMissingDesignatedInitializers": true,
"inheritsConvenienceInitializers": true,
"superclassNames": [
"ObjectiveC.NSObject"
],
"conformances": [
{
"kind": "Conformance",
"name": "Copyable",
"printedName": "Copyable",
"usr": "s:s8CopyableP",
"mangledName": "$ss8CopyableP"
},
{
"kind": "Conformance",
"name": "Escapable",
"printedName": "Escapable",
"usr": "s:s9EscapableP",
"mangledName": "$ss9EscapableP"
},
{
"kind": "Conformance",
"name": "NSObjectProtocol",
"printedName": "NSObjectProtocol",
"usr": "c:objc(pl)NSObject"
},
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable",
"usr": "s:SQ",
"mangledName": "$sSQ"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable",
"usr": "s:SH",
"mangledName": "$sSH"
},
{
"kind": "Conformance",
"name": "CVarArg",
"printedName": "CVarArg",
"usr": "s:s7CVarArgP",
"mangledName": "$ss7CVarArgP"
},
{
"kind": "Conformance",
"name": "CustomStringConvertible",
"printedName": "CustomStringConvertible",
"usr": "s:s23CustomStringConvertibleP",
"mangledName": "$ss23CustomStringConvertibleP"
},
{
"kind": "Conformance",
"name": "CustomDebugStringConvertible",
"printedName": "CustomDebugStringConvertible",
"usr": "s:s28CustomDebugStringConvertibleP",
"mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
{
"kind": "TypeDecl",
"name": "SentryTransactionNameSource",
Expand Down
Loading