diff --git a/CHANGELOG.md b/CHANGELOG.md index 95544f6de3..a65deb2391 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,9 +20,9 @@ ### Dependencies -- Bump Cocoa SDK from v8.17.1 to v8.17.2 ([#2972](https://github.com/getsentry/sentry-dotnet/pull/2972)) - - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8172) - - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.17.1...8.17.2) +- Bump Cocoa SDK from v8.17.1 to v8.18.0 ([#2972](https://github.com/getsentry/sentry-dotnet/pull/2972), [#3005](https://github.com/getsentry/sentry-dotnet/pull/3005)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8180) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.17.1...8.18.0) - Bump Java SDK from v7.0.0 to v7.1.0 ([#2979](https://github.com/getsentry/sentry-dotnet/pull/2979)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#710) - [diff](https://github.com/getsentry/sentry-java/compare/7.0.0...7.1.0) diff --git a/modules/sentry-cocoa b/modules/sentry-cocoa index f5dafd7449..3b9a8e69ca 160000 --- a/modules/sentry-cocoa +++ b/modules/sentry-cocoa @@ -1 +1 @@ -Subproject commit f5dafd7449be2f1778f2ddb87d57347b96461003 +Subproject commit 3b9a8e69ca296bd8cd0e317ad7a448e5daf4a342 diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index 1a3ca18413..135e7674da 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -740,6 +740,10 @@ interface SentryOptions [Export ("enableAutoPerformanceTracing")] bool EnableAutoPerformanceTracing { get; set; } + // @property (assign, nonatomic) BOOL enablePerformanceV2; + [Export ("enablePerformanceV2")] + bool EnablePerformanceV2 { get; set; } + // @property (nonatomic) SentryScope * _Nonnull (^ _Nonnull)(SentryScope * _Nonnull) initialScope; [Export ("initialScope", ArgumentSemantic.Assign)] Func InitialScope { get; set; } @@ -2063,13 +2067,9 @@ interface SentryUserFeedback : SentrySerializable [Internal] interface SentryAppStartMeasurement { - // -(instancetype _Nonnull)initWithType:(SentryAppStartType)type appStartTimestamp:(NSDate * _Nonnull)appStartTimestamp duration:(NSTimeInterval)duration runtimeInitTimestamp:(NSDate * _Nonnull)runtimeInitTimestamp didFinishLaunchingTimestamp:(NSDate * _Nonnull)didFinishLaunchingTimestamp __attribute__((deprecated("Use initWithType:appStartTimestamp:duration:mainTimestamp:runtimeInitTimestamp:didFinishLaunchingTimestamp instead."))); - [Export ("initWithType:appStartTimestamp:duration:runtimeInitTimestamp:didFinishLaunchingTimestamp:")] - NativeHandle Constructor (SentryAppStartType type, NSDate appStartTimestamp, double duration, NSDate runtimeInitTimestamp, NSDate didFinishLaunchingTimestamp); - - // -(instancetype _Nonnull)initWithType:(SentryAppStartType)type isPreWarmed:(BOOL)isPreWarmed appStartTimestamp:(NSDate * _Nonnull)appStartTimestamp duration:(NSTimeInterval)duration runtimeInitTimestamp:(NSDate * _Nonnull)runtimeInitTimestamp moduleInitializationTimestamp:(NSDate * _Nonnull)moduleInitializationTimestamp didFinishLaunchingTimestamp:(NSDate * _Nonnull)didFinishLaunchingTimestamp; - [Export ("initWithType:isPreWarmed:appStartTimestamp:duration:runtimeInitTimestamp:moduleInitializationTimestamp:didFinishLaunchingTimestamp:")] - NativeHandle Constructor (SentryAppStartType type, bool isPreWarmed, NSDate appStartTimestamp, double duration, NSDate runtimeInitTimestamp, NSDate moduleInitializationTimestamp, NSDate didFinishLaunchingTimestamp); + // -(instancetype _Nonnull)initWithType:(SentryAppStartType)type isPreWarmed:(BOOL)isPreWarmed appStartTimestamp:(NSDate * _Nonnull)appStartTimestamp duration:(NSTimeInterval)duration runtimeInitTimestamp:(NSDate * _Nonnull)runtimeInitTimestamp moduleInitializationTimestamp:(NSDate * _Nonnull)moduleInitializationTimestamp sdkStartTimestamp:(NSDate * _Nonnull)sdkStartTimestamp didFinishLaunchingTimestamp:(NSDate * _Nonnull)didFinishLaunchingTimestamp; + [Export ("initWithType:isPreWarmed:appStartTimestamp:duration:runtimeInitTimestamp:moduleInitializationTimestamp:sdkStartTimestamp:didFinishLaunchingTimestamp:")] + NativeHandle Constructor (SentryAppStartType type, bool isPreWarmed, NSDate appStartTimestamp, double duration, NSDate runtimeInitTimestamp, NSDate moduleInitializationTimestamp, NSDate sdkStartTimestamp, NSDate didFinishLaunchingTimestamp); // @property (readonly, assign, nonatomic) SentryAppStartType type; [Export ("type", ArgumentSemantic.Assign)] @@ -2095,6 +2095,10 @@ interface SentryAppStartMeasurement [Export ("moduleInitializationTimestamp", ArgumentSemantic.Strong)] NSDate ModuleInitializationTimestamp { get; } + // @property (readonly, nonatomic, strong) NSDate * _Nonnull sdkStartTimestamp; + [Export ("sdkStartTimestamp", ArgumentSemantic.Strong)] + NSDate SdkStartTimestamp { get; } + // @property (readonly, nonatomic, strong) NSDate * _Nonnull didFinishLaunchingTimestamp; [Export ("didFinishLaunchingTimestamp", ArgumentSemantic.Strong)] NSDate DidFinishLaunchingTimestamp { get; } @@ -2414,11 +2418,11 @@ interface PrivateSentrySDKOnly [Export ("startProfilerForTrace:")] ulong StartProfilerForTrace (SentryId traceId); - // +(NSDictionary * _Nullable)collectProfileBetween:(uint64_t)startSystemTime and:(uint64_t)endSystemTime forTrace:(SentryId * _Nonnull)traceId; + // +(NSMutableDictionary * _Nullable)collectProfileBetween:(uint64_t)startSystemTime and:(uint64_t)endSystemTime forTrace:(SentryId * _Nonnull)traceId; [Static] [Export ("collectProfileBetween:and:forTrace:")] [return: NullAllowed] - NSDictionary CollectProfileBetween (ulong startSystemTime, ulong endSystemTime, SentryId traceId); + NSMutableDictionary CollectProfileBetween (ulong startSystemTime, ulong endSystemTime, SentryId traceId); // +(void)discardProfilerForTrace:(SentryId * _Nonnull)traceId; [Static]