Skip to content

Commit

Permalink
chore(deps): update Cocoa SDK to v8.18.0 (#3005)
Browse files Browse the repository at this point in the history
* chore: update modules/sentry-cocoa to 8.18.0

* binding changes

---------

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
  • Loading branch information
3 people authored Jan 5, 2024
1 parent 747aaaa commit db4b5d7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion modules/sentry-cocoa
Submodule sentry-cocoa updated 85 files
+7 −2 .github/workflows/benchmarking.yml
+8 −3 .github/workflows/build.yml
+5 −0 .github/workflows/codeql-analysis.yml
+5 −0 .github/workflows/lint.yml
+7 −2 .github/workflows/saucelabs-UI-tests.yml
+16 −11 .github/workflows/test.yml
+1 −1 .github/workflows/testflight.yml
+22 −1 CHANGELOG.md
+10 −10 Samples/iOS-Swift/iOS-Swift.xcodeproj/project.pbxproj
+1 −0 Samples/iOS-Swift/iOS-Swift/AppDelegate.swift
+3 −3 Samples/iOS-Swift/iOS-Swift/Base.lproj/Main.storyboard
+1 −1 Samples/iOS-Swift/iOS-Swift/TransactionsViewController.swift
+4 −1 Samples/iOS-Swift/iOS-Swift/ViewControllers/LoremIpsumViewController.swift
+7 −10 Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift
+2 −2 Sentry.podspec
+20 −0 Sentry.xcodeproj/project.pbxproj
+1 −1 SentryPrivate.podspec
+2 −2 SentrySwiftUI.podspec
+2 −1 SentryTestUtils/TestCurrentDateProvider.swift
+16 −9 SentryTestUtils/TestDisplayLinkWrapper.swift
+1 −1 Sources/Configuration/Sentry.xcconfig
+1 −1 Sources/Configuration/SentryPrivate.xcconfig
+3 −3 Sources/Sentry/PrivateSentrySDKOnly.mm
+2 −0 Sources/Sentry/Public/SentryCrashExceptionApplication.h
+14 −2 Sources/Sentry/Public/SentryOptions.h
+1 −1 Sources/Sentry/Public/SentryScope.h
+3 −21 Sources/Sentry/SentryAppStartMeasurement.m
+36 −9 Sources/Sentry/SentryAppStartTracker.m
+3 −1 Sources/Sentry/SentryAppStartTrackingIntegration.m
+10 −4 Sources/Sentry/SentryBuildAppStartSpans.m
+25 −0 Sources/Sentry/SentryDelayedFrame.m
+208 −0 Sources/Sentry/SentryDelayedFramesTracker.m
+4 −1 Sources/Sentry/SentryDependencyContainer.m
+7 −5 Sources/Sentry/SentryFileManager.m
+66 −12 Sources/Sentry/SentryFramesTracker.m
+1 −1 Sources/Sentry/SentryMeta.m
+4 −0 Sources/Sentry/SentryOptions.m
+21 −0 Sources/Sentry/SentrySDK.m
+64 −1 Sources/Sentry/SentrySpan.m
+9 −5 Sources/Sentry/SentrySystemEventBreadcrumbs.m
+8 −2 Sources/Sentry/SentryTime.mm
+43 −43 Sources/Sentry/SentryTimeToDisplayTracker.m
+80 −48 Sources/Sentry/SentryTracer.m
+1 −5 Sources/Sentry/SentryUIEventTrackerTransactionMode.m
+2 −5 Sources/Sentry/SentryUIEventTrackingIntegration.m
+1 −1 Sources/Sentry/SentryUIViewControllerPerformanceTracker.m
+3 −3 Sources/Sentry/include/HybridPublic/PrivateSentrySDKOnly.h
+8 −13 Sources/Sentry/include/HybridPublic/SentryAppStartMeasurement.h
+4 −1 Sources/Sentry/include/SentryAppStartTracker.h
+22 −0 Sources/Sentry/include/SentryDelayedFrame.h
+63 −0 Sources/Sentry/include/SentryDelayedFramesTracker.h
+15 −2 Sources/Sentry/include/SentryFramesTracker.h
+1 −0 Sources/Sentry/include/SentrySDK+Private.h
+1 −0 Sources/Sentry/include/SentryScope+Private.h
+15 −2 Sources/Sentry/include/SentrySpan.h
+3 −0 Sources/Sentry/include/SentryTime.h
+1 −1 Sources/Sentry/include/SentryTimeToDisplayTracker.h
+2 −0 Sources/Sentry/include/SentryTracer.h
+0 −5 Sources/Sentry/include/SentryTracerConfiguration.h
+1 −4 Sources/Sentry/include/SentryUIEventTrackerTransactionMode.h
+1 −1 Tests/HybridSDKTest/HybridPod.podspec
+4 −3 Tests/SentryProfilerTests/SentryProfilerSwiftTests.swift
+21 −0 Tests/SentryTests/Helper/SentryTimeSwiftTests.swift
+15 −0 Tests/SentryTests/Integrations/Breadcrumbs/SentrySystemEventBreadcrumbsTest.swift
+49 −8 Tests/SentryTests/Integrations/Performance/AppStartTracking/SentryAppStartTrackerTests.swift
+13 −0 Tests/SentryTests/Integrations/Performance/AppStartTracking/SentryAppStartTrackingIntegrationTests.swift
+445 −16 Tests/SentryTests/Integrations/Performance/FramesTracking/SentryFramesTrackerTests.swift
+1 −0 Tests/SentryTests/Integrations/Performance/SentryPerformanceTrackingIntegrationTests.swift
+215 −131 Tests/SentryTests/Integrations/Performance/UIViewController/SentryTimeToDisplayTrackerTest.swift
+13 −4 ...s/SentryTests/Integrations/Performance/UIViewController/SentryUIViewControllerPerformanceTrackerTests.swift
+2 −1 Tests/SentryTests/Integrations/UIEvents/SentryUIEventTrackerTests.swift
+1 −1 Tests/SentryTests/PrivateSentrySDKOnlyTests.swift
+3 −2 Tests/SentryTests/Protocol/TestData.swift
+1 −1 Tests/SentryTests/SentryClientTests.swift
+5 −0 Tests/SentryTests/SentryOptionsTest.m
+18 −0 Tests/SentryTests/SentrySDKTests.swift
+108 −11 Tests/SentryTests/Transaction/SentrySpanTests.swift
+108 −62 Tests/SentryTests/Transaction/SentryTracerTests.swift
+13 −2 Tests/ThreadSanitizer.sup
+7 −45 develop-docs/README.md
+0 −42 develop-docs/auto-ui-performance-tracking.svg
+0 −20 develop-docs/auto-ui-performance-tracking.wsd
+0 −44 develop-docs/performance-api.svg
+0 −22 develop-docs/performance-api.wsd
+28 −0 scripts/create-cherry-pick-branch.sh
22 changes: 13 additions & 9 deletions src/Sentry.Bindings.Cocoa/ApiDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SentryScope, SentryScope> InitialScope { get; set; }
Expand Down Expand Up @@ -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)]
Expand All @@ -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; }
Expand Down Expand Up @@ -2414,11 +2418,11 @@ interface PrivateSentrySDKOnly
[Export ("startProfilerForTrace:")]
ulong StartProfilerForTrace (SentryId traceId);

// +(NSDictionary<NSString *,id> * _Nullable)collectProfileBetween:(uint64_t)startSystemTime and:(uint64_t)endSystemTime forTrace:(SentryId * _Nonnull)traceId;
// +(NSMutableDictionary<NSString *,id> * _Nullable)collectProfileBetween:(uint64_t)startSystemTime and:(uint64_t)endSystemTime forTrace:(SentryId * _Nonnull)traceId;
[Static]
[Export ("collectProfileBetween:and:forTrace:")]
[return: NullAllowed]
NSDictionary<NSString, NSObject> CollectProfileBetween (ulong startSystemTime, ulong endSystemTime, SentryId traceId);
NSMutableDictionary<NSString, NSObject> CollectProfileBetween (ulong startSystemTime, ulong endSystemTime, SentryId traceId);

// +(void)discardProfilerForTrace:(SentryId * _Nonnull)traceId;
[Static]
Expand Down

0 comments on commit db4b5d7

Please sign in to comment.