From b99bdc96f870c71784a2930279571f2fdd1a19ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Ueko=CC=88tter?= Date: Fri, 4 Jun 2021 20:49:03 +0200 Subject: [PATCH 1/3] Bump Sentry Cocoa to 7.1.3 --- flutter/ios/Classes/SentryFlutterPluginApple.swift | 2 +- flutter/ios/Classes/SentrySDK+FlutterPrivate.h | 11 ----------- flutter/ios/sentry_flutter.podspec | 2 +- flutter/macos/Classes/SentrySDK+FlutterPrivate.h | 1 - 4 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 flutter/ios/Classes/SentrySDK+FlutterPrivate.h delete mode 120000 flutter/macos/Classes/SentrySDK+FlutterPrivate.h diff --git a/flutter/ios/Classes/SentryFlutterPluginApple.swift b/flutter/ios/Classes/SentryFlutterPluginApple.swift index f2aff5dfec..2440f77cc7 100644 --- a/flutter/ios/Classes/SentryFlutterPluginApple.swift +++ b/flutter/ios/Classes/SentryFlutterPluginApple.swift @@ -266,7 +266,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin { do { let envelope = try parseJsonEnvelope(event) - SentrySDK.capture(envelope) + PrivateSentrySDKOnly.capture(envelope) result("") } catch { print("Cannot parse the envelope json !") diff --git a/flutter/ios/Classes/SentrySDK+FlutterPrivate.h b/flutter/ios/Classes/SentrySDK+FlutterPrivate.h deleted file mode 100644 index 0a5f346fe7..0000000000 --- a/flutter/ios/Classes/SentrySDK+FlutterPrivate.h +++ /dev/null @@ -1,11 +0,0 @@ -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface SentrySDK (FlutterPrivate) - -+ (void)captureEnvelope:(SentryEnvelope *)envelope; - -@end - -NS_ASSUME_NONNULL_END \ No newline at end of file diff --git a/flutter/ios/sentry_flutter.podspec b/flutter/ios/sentry_flutter.podspec index 73464cb967..1b5092e8d5 100644 --- a/flutter/ios/sentry_flutter.podspec +++ b/flutter/ios/sentry_flutter.podspec @@ -12,7 +12,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa. :tag => s.version.to_s } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' - s.dependency 'Sentry', '~> 7.0.3' + s.dependency 'Sentry', '~> 7.1.3' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' s.ios.deployment_target = '9.0' diff --git a/flutter/macos/Classes/SentrySDK+FlutterPrivate.h b/flutter/macos/Classes/SentrySDK+FlutterPrivate.h deleted file mode 120000 index eebb84b89a..0000000000 --- a/flutter/macos/Classes/SentrySDK+FlutterPrivate.h +++ /dev/null @@ -1 +0,0 @@ -../../ios/Classes/SentrySDK+FlutterPrivate.h \ No newline at end of file From 4ae231f06a8d68e3cd6233c3c6faa8a6a4ecec31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Ueko=CC=88tter?= Date: Fri, 4 Jun 2021 20:52:03 +0200 Subject: [PATCH 2/3] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eece03ef5..d483f04d83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Unreleased * Fix: Merge user from event and scope (#467) +* Bump: Sentry-Cocoa to 7.1.3 for iOS and macOS # 5.1.0-beta.1 From 5e982c06ca404ca6e35c013cc2e9c63c1f7319dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Uek=C3=B6tter?= Date: Fri, 4 Jun 2021 21:06:00 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d483f04d83..0c91c98823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Unreleased * Fix: Merge user from event and scope (#467) -* Bump: Sentry-Cocoa to 7.1.3 for iOS and macOS +* Bump: Sentry-Cocoa to 7.1.3 for iOS and macOS (#488) # 5.1.0-beta.1