Skip to content

Commit dab8077

Browse files
committed
Remove V9 checks for SentrySerializable
1 parent 827b50c commit dab8077

24 files changed

+4
-141
lines changed

CHANGELOG-v9.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
Removes deprecated SentryDebugImageProvider class (#5598)
66
Makes app hang tracking V2 the default and removes the option to enable/disable it (#5615)
7-
Removes public SentrySerializable conformance from many public models (#5636, #5840, #5982)
87
Removes `integrations` property from `SentryOptions` (#5749)
98
Makes `SentryEventDecodable` internal (#5808)
109
The `span` property on `SentryScope` is now readonly (#5866)

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Removes deprecated `setExtraValue` from SentrySpan (#5864)
1212
- Removes deprecated getStoreEndpoint (#5591)
1313
- Removes deprecated useSpan function (#5591)
14+
- Removes public SentrySerializable conformance from many public models (#5636, #5840, #5982)
1415
- Removes segment property on SentryUser, SentryBaggage, and SentryTraceContext (#5638)
1516
- Removes deprecated TraceContext initializers (#6348)
1617
- Removes deprecated user feedback API, this is replaced with the new feedback API (#5591)

Sources/Sentry/Public/SentryBreadcrumb.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

1512
NS_SWIFT_NAME(Breadcrumb)
1613
@interface SentryBreadcrumb : NSObject
17-
#if !SDK_V9
18-
<SentrySerializable>
19-
#endif
2014

2115
/**
2216
* Level of breadcrumb
@@ -64,10 +58,6 @@ NS_SWIFT_NAME(Breadcrumb)
6458
- (instancetype)init;
6559
+ (instancetype)new NS_UNAVAILABLE;
6660

67-
#if !SDK_V9
68-
- (NSDictionary<NSString *, id> *)serialize;
69-
#endif // !SDK_V9
70-
7161
- (BOOL)isEqual:(id _Nullable)other;
7262

7363
- (BOOL)isEqualToBreadcrumb:(SentryBreadcrumb *)breadcrumb;

Sources/Sentry/Public/SentryDebugMeta.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

@@ -23,9 +20,6 @@ NS_ASSUME_NONNULL_BEGIN
2320
*/
2421
NS_SWIFT_NAME(DebugMeta)
2522
@interface SentryDebugMeta : NSObject
26-
#if !SDK_V9
27-
<SentrySerializable>
28-
#endif
2923

3024
/**
3125
* Identifier of the dynamic library or executable. It is the value of the @c LC_UUID load command

Sources/Sentry/Public/SentryEnvelopeItemHeader.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@
55
#else
66
# import <SentryDefines.h>
77
#endif
8-
#if !SDK_V9
9-
# import SENTRY_HEADER(SentrySerializable)
10-
#endif
118

129
NS_ASSUME_NONNULL_BEGIN
1310

1411
@interface SentryEnvelopeItemHeader : NSObject
15-
#if !SDK_V9
16-
<SentrySerializable>
17-
#endif
1812

1913
SENTRY_NO_INIT
2014

Sources/Sentry/Public/SentryEvent.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif // !SDK_V9
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

@@ -25,9 +22,6 @@ NS_ASSUME_NONNULL_BEGIN
2522

2623
NS_SWIFT_NAME(Event)
2724
@interface SentryEvent : NSObject
28-
#if !SDK_V9
29-
<SentrySerializable>
30-
#endif // !SDK_V9
3125

3226
/**
3327
* This will be set by the initializer.

Sources/Sentry/Public/SentryException.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

@@ -17,9 +14,6 @@ NS_ASSUME_NONNULL_BEGIN
1714

1815
NS_SWIFT_NAME(Exception)
1916
@interface SentryException : NSObject
20-
#if !SDK_V9
21-
<SentrySerializable>
22-
#endif
2317

2418
SENTRY_NO_INIT
2519

Sources/Sentry/Public/SentryFrame.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,11 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

1512
NS_SWIFT_NAME(Frame)
1613
@interface SentryFrame : NSObject
17-
#if !SDK_V9
18-
<SentrySerializable>
19-
#endif
20-
2114
/**
2215
* SymbolAddress of the frame
2316
*/

Sources/Sentry/Public/SentryGeo.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

@@ -23,12 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
2320
/// }
2421
/// }
2522
NS_SWIFT_NAME(Geo)
26-
@interface SentryGeo : NSObject
27-
#if !SDK_V9
28-
<SentrySerializable, NSCopying>
29-
#else
30-
<NSCopying>
31-
#endif
23+
@interface SentryGeo : NSObject <NSCopying>
3224

3325
/**
3426
* Optional: Human readable city name.

Sources/Sentry/Public/SentryMechanism.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#else
77
# import <SentryDefines.h>
88
#endif
9-
#if !SDK_V9
10-
# import SENTRY_HEADER(SentrySerializable)
11-
#endif
129

1310
NS_ASSUME_NONNULL_BEGIN
1411

@@ -17,9 +14,6 @@ NS_ASSUME_NONNULL_BEGIN
1714

1815
NS_SWIFT_NAME(Mechanism)
1916
@interface SentryMechanism : NSObject
20-
#if !SDK_V9
21-
<SentrySerializable>
22-
#endif
2317

2418
SENTRY_NO_INIT
2519

0 commit comments

Comments
 (0)