From f1468bd19d33aaf8ea1fbe8536bc890a538f3002 Mon Sep 17 00:00:00 2001 From: Sander Bruens Date: Wed, 22 May 2024 17:40:12 -0400 Subject: [PATCH] Upgrade Sentry to latest version `8.26.0`. --- client/src/cordova/apple/OutlineAppleLib/Package.swift | 2 +- .../Sources/OutlineSentryLogger/OutlineSentryLogger.swift | 4 ++-- .../ios.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- .../macos.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- .../apple/xcode/macos/Outline.xcodeproj/project.pbxproj | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/src/cordova/apple/OutlineAppleLib/Package.swift b/client/src/cordova/apple/OutlineAppleLib/Package.swift index 2643cd1112..f0b2241129 100644 --- a/client/src/cordova/apple/OutlineAppleLib/Package.swift +++ b/client/src/cordova/apple/OutlineAppleLib/Package.swift @@ -29,7 +29,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git", from: "3.7.4"), - .package(url: "https://github.com/getsentry/sentry-cocoa", from: "7.31.3"), + .package(url: "https://github.com/getsentry/sentry-cocoa", from: "8.26.0"), ], targets: [ .target( diff --git a/client/src/cordova/apple/OutlineAppleLib/Sources/OutlineSentryLogger/OutlineSentryLogger.swift b/client/src/cordova/apple/OutlineAppleLib/Sources/OutlineSentryLogger/OutlineSentryLogger.swift index ffa64dc895..b854239b16 100644 --- a/client/src/cordova/apple/OutlineAppleLib/Sources/OutlineSentryLogger/OutlineSentryLogger.swift +++ b/client/src/cordova/apple/OutlineAppleLib/Sources/OutlineSentryLogger/OutlineSentryLogger.swift @@ -43,7 +43,7 @@ public class OutlineSentryLogger: DDAbstractLogger { let breadcrumb = Breadcrumb(level: ddLogLevelToSentryLevel(logMessage.level), category:"App") breadcrumb.message = logMessage.message breadcrumb.timestamp = logMessage.timestamp - SentrySDK.addBreadcrumb(crumb: breadcrumb) + SentrySDK.addBreadcrumb(breadcrumb) } private func ddLogLevelToSentryLevel(_ level: DDLogLevel) -> SentryLevel { @@ -88,7 +88,7 @@ public class OutlineSentryLogger: DDAbstractLogger { let breadcrumb = Breadcrumb(level: .info, category: "VpnExtension") breadcrumb.timestamp = dateFormatter.date(from: timestamp) breadcrumb.message = message - SentrySDK.addBreadcrumb(crumb: breadcrumb) + SentrySDK.addBreadcrumb(breadcrumb) numBreadcrumbsAdded += 1 } } diff --git a/client/src/cordova/apple/ios.xcworkspace/xcshareddata/swiftpm/Package.resolved b/client/src/cordova/apple/ios.xcworkspace/xcshareddata/swiftpm/Package.resolved index 0bd028c28b..3088fcf988 100644 --- a/client/src/cordova/apple/ios.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/client/src/cordova/apple/ios.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/getsentry/sentry-cocoa", "state" : { - "revision" : "cf43eac1aa12017868c257ad3854ad87a5de0758", - "version" : "7.31.5" + "revision" : "7fc7ca43967e2980d8691a8e017c118a84133aac", + "version" : "8.26.0" } }, { diff --git a/client/src/cordova/apple/macos.xcworkspace/xcshareddata/swiftpm/Package.resolved b/client/src/cordova/apple/macos.xcworkspace/xcshareddata/swiftpm/Package.resolved index 0bd028c28b..3088fcf988 100644 --- a/client/src/cordova/apple/macos.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/client/src/cordova/apple/macos.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/getsentry/sentry-cocoa", "state" : { - "revision" : "cf43eac1aa12017868c257ad3854ad87a5de0758", - "version" : "7.31.5" + "revision" : "7fc7ca43967e2980d8691a8e017c118a84133aac", + "version" : "8.26.0" } }, { diff --git a/client/src/cordova/apple/xcode/macos/Outline.xcodeproj/project.pbxproj b/client/src/cordova/apple/xcode/macos/Outline.xcodeproj/project.pbxproj index 985e1bee13..c14472309a 100644 --- a/client/src/cordova/apple/xcode/macos/Outline.xcodeproj/project.pbxproj +++ b/client/src/cordova/apple/xcode/macos/Outline.xcodeproj/project.pbxproj @@ -984,7 +984,7 @@ repositoryURL = "https://github.com/getsentry/sentry-cocoa"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 7.31.3; + minimumVersion = 8.26.0; }; }; 52CBB847295BC79300D0073F /* XCRemoteSwiftPackageReference "CocoaLumberjack" */ = {