Skip to content
Closed
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: 0 additions & 1 deletion CHANGELOG-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

Removes deprecated SentryDebugImageProvider class (#5598)
Makes app hang tracking V2 the default and removes the option to enable/disable it (#5615)
Removes public SentrySerializable conformance from many public models (#5636, #5840, #5982)
Removes `integrations` property from `SentryOptions` (#5749)
Makes `SentryEventDecodable` internal (#5808)
The `span` property on `SentryScope` is now readonly (#5866)
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Removes deprecated `setExtraValue` from SentrySpan (#5864)
- Removes deprecated getStoreEndpoint (#5591)
- Removes deprecated useSpan function (#5591)
- Removes public SentrySerializable conformance from many public models (#5636, #5840, #5982)
- Removes segment property on SentryUser, SentryBaggage, and SentryTraceContext (#5638)
- Removes deprecated TraceContext initializers (#6348)
- Removes deprecated user feedback API, this is replaced with the new feedback API (#5591)
Expand Down
10 changes: 0 additions & 10 deletions Sources/Sentry/Public/SentryBreadcrumb.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,11 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Breadcrumb)
@interface SentryBreadcrumb : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

/**
* Level of breadcrumb
Expand Down Expand Up @@ -64,10 +58,6 @@ NS_SWIFT_NAME(Breadcrumb)
- (instancetype)init;
+ (instancetype)new NS_UNAVAILABLE;

#if !SDK_V9
- (NSDictionary<NSString *, id> *)serialize;
#endif // !SDK_V9

- (BOOL)isEqual:(id _Nullable)other;

- (BOOL)isEqualToBreadcrumb:(SentryBreadcrumb *)breadcrumb;
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryDebugMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -23,9 +20,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
NS_SWIFT_NAME(DebugMeta)
@interface SentryDebugMeta : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

/**
* Identifier of the dynamic library or executable. It is the value of the @c LC_UUID load command
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryEnvelopeItemHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

@interface SentryEnvelopeItemHeader : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif // !SDK_V9

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -25,9 +22,6 @@ NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Event)
@interface SentryEvent : NSObject
#if !SDK_V9
<SentrySerializable>
#endif // !SDK_V9

/**
* This will be set by the initializer.
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryException.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -17,9 +14,6 @@ NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Exception)
@interface SentryException : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
7 changes: 0 additions & 7 deletions Sources/Sentry/Public/SentryFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Frame)
@interface SentryFrame : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

/**
* SymbolAddress of the frame
*/
Expand Down
10 changes: 1 addition & 9 deletions Sources/Sentry/Public/SentryGeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -23,12 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
/// }
/// }
NS_SWIFT_NAME(Geo)
@interface SentryGeo : NSObject
#if !SDK_V9
<SentrySerializable, NSCopying>
#else
<NSCopying>
#endif
@interface SentryGeo : NSObject <NSCopying>

/**
* Optional: Human readable city name.
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryMechanism.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -17,9 +14,6 @@ NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Mechanism)
@interface SentryMechanism : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryMechanismMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

@class SentryNSError;

Expand All @@ -21,9 +18,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
NS_SWIFT_NAME(MechanismMeta)
@interface SentryMechanismMeta : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

- (instancetype)init;

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -18,9 +15,6 @@ NS_ASSUME_NONNULL_BEGIN
* @see https://develop.sentry.dev/sdk/event-payloads/message/
*/
@interface SentryMessage : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryNSError.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

/**
* Sentry representation of an @c NSError to send to Sentry.
*/
@interface SentryNSError : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

@interface SentryRequest : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

/**
* Optional: HTTP response body size.
Expand Down
13 changes: 0 additions & 13 deletions Sources/Sentry/Public/SentryScope.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif // SDK_V9
#import SENTRY_HEADER(SentrySpanProtocol)

@class SentryAttachment;
Expand All @@ -25,9 +22,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
NS_SWIFT_NAME(Scope)
@interface SentryScope : NSObject
#if !SDK_V9
<SentrySerializable>
#endif // !SDK_V9

/**
* Returns current Span or Transaction.
Expand Down Expand Up @@ -124,13 +118,6 @@ NS_SWIFT_NAME(Scope)
*/
- (void)clearBreadcrumbs;

#if !SDK_V9
/**
* Serializes the Scope to JSON
*/
- (NSDictionary<NSString *, id> *)serialize;
#endif // !SDK_V9

/**
* Sets context values which will overwrite SentryEvent.context when event is
* "enriched" with scope before sending event.
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentrySpanContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
# import <SentryDefines.h>
#endif
#import SENTRY_HEADER(SentrySampleDecision)
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySpanStatus)

NS_ASSUME_NONNULL_BEGIN
Expand All @@ -20,9 +17,6 @@ static NSString const *SENTRY_TRACE_TYPE = @"trace";

NS_SWIFT_NAME(SpanContext)
@interface SentrySpanContext : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
7 changes: 0 additions & 7 deletions Sources/Sentry/Public/SentrySpanProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif // SDK_V9
#import SENTRY_HEADER(SentrySpanContext)

NS_ASSUME_NONNULL_BEGIN
Expand All @@ -19,11 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
@class SentryTraceHeader;

NS_SWIFT_NAME(Span)
#if SDK_V9
@protocol SentrySpan <NSObject>
#else
@protocol SentrySpan <SentrySerializable>
#endif

/**
* Determines which trace the Span belongs to.
Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryStacktrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

@class SentryFrame;

@interface SentryStacktrace : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

@class SentryStacktrace;

@interface SentryThread : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

SENTRY_NO_INIT

Expand Down
6 changes: 0 additions & 6 deletions Sources/Sentry/Public/SentryTraceContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -20,9 +17,6 @@ NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(TraceContext)
@interface SentryTraceContext : NSObject
#if !SDK_V9
<SentrySerializable>
#endif

/**
* UUID V4 encoded as a hexadecimal sequence with no dashes (e.g. 771a43a4192642f0b136d5159a501700)
Expand Down
Loading
Loading