From 8ae8d04f142dd8428bea456e95fd9ebcc082e008 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 18:53:38 +1200 Subject: [PATCH] chore(deps): update Cocoa SDK to v8.11.0 (#2594) * chore: update modules/sentry-cocoa to 8.11.0 * Update ApiDefinitions.cs --------- Co-authored-by: GitHub Co-authored-by: James Crosswell --- CHANGELOG.md | 3 +++ modules/sentry-cocoa | 2 +- src/Sentry.Bindings.Cocoa/ApiDefinitions.cs | 17 +++++++++++------ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7a3f3697..e30e2c146a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ - Bump CLI from v2.20.5 to v2.20.6 ([#2590](https://github.com/getsentry/sentry-dotnet/pull/2590)) - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2206) - [diff](https://github.com/getsentry/sentry-cli/compare/2.20.5...2.20.6) +- Bump Cocoa SDK from v8.10.0 to v8.11.0 ([#2594](https://github.com/getsentry/sentry-dotnet/pull/2594)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8110) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.10.0...8.11.0) ## 3.36.0 diff --git a/modules/sentry-cocoa b/modules/sentry-cocoa index d062d9b31c..12998398eb 160000 --- a/modules/sentry-cocoa +++ b/modules/sentry-cocoa @@ -1 +1 @@ -Subproject commit d062d9b31ccabdec706134f2216476d1996caf11 +Subproject commit 12998398eb51e2e8ff7098163fa97d305eee6d87 diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index 81e87bff6d..c5e8f48936 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -2397,16 +2397,21 @@ interface PrivateSentrySDKOnly [Export ("getExtraContext")] NSDictionary ExtraContext { get; } - // +(uint64_t)startProfilingForTrace:(SentryId * _Nonnull)traceId; + // +(uint64_t)startProfilerForTrace:(SentryId * _Nonnull)traceId; [Static] - [Export ("startProfilingForTrace:")] - ulong StartProfilingForTrace (SentryId traceId); + [Export ("startProfilerForTrace:")] + ulong StartProfilerForTrace (SentryId traceId); - // +(NSDictionary * _Nullable)collectProfileForTrace:(SentryId * _Nonnull)traceId since:(uint64_t)startSystemTime; + // +(NSDictionary * _Nullable)collectProfileBetween:(uint64_t)startSystemTime and:(uint64_t)endSystemTime forTrace:(SentryId * _Nonnull)traceId; [Static] - [Export ("collectProfileForTrace:since:")] + [Export ("collectProfileBetween:and:forTrace:")] [return: NullAllowed] - NSDictionary CollectProfileForTrace (SentryId traceId, ulong startSystemTime); + NSDictionary CollectProfileBetween (ulong startSystemTime, ulong endSystemTime, SentryId traceId); + + // +(void)discardProfilerForTrace:(SentryId * _Nonnull)traceId; + [Static] + [Export ("discardProfilerForTrace:")] + void DiscardProfilerForTrace (SentryId traceId); // @property (copy, nonatomic, class) SentryOnAppStartMeasurementAvailable _Nullable onAppStartMeasurementAvailable; [Static]