From 51ea11976500fda65dc400205e5bbd274ba839ed Mon Sep 17 00:00:00 2001 From: Marco Saia <marco.saia@datadoghq.com> Date: Thu, 18 Jul 2024 16:06:51 +0200 Subject: [PATCH] Bump iOS SDK to v2.14.1 --- example-new-architecture/ios/Podfile.lock | 54 ++++++------- example/ios/Podfile.lock | 78 +++++++++---------- packages/core/DatadogSDKReactNative.podspec | 12 +-- .../ios/Sources/DatadogCoreProxy.swift | 4 + ...DatadogSDKReactNativeSessionReplay.podspec | 2 +- 5 files changed, 77 insertions(+), 73 deletions(-) diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index c73e76728..eee7b1013 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -1,23 +1,23 @@ PODS: - boost (1.83.0) - CocoaAsyncSocket (7.6.5) - - DatadogCore (2.13.0): - - DatadogInternal (= 2.13.0) - - DatadogCrashReporting (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogCore (2.14.1): + - DatadogInternal (= 2.14.1) + - DatadogCrashReporting (2.14.1): + - DatadogInternal (= 2.14.1) - PLCrashReporter (~> 1.11.2) - - DatadogInternal (2.13.0) - - DatadogLogs (2.13.0): - - DatadogInternal (= 2.13.0) - - DatadogRUM (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogInternal (2.14.1) + - DatadogLogs (2.14.1): + - DatadogInternal (= 2.14.1) + - DatadogRUM (2.14.1): + - DatadogInternal (= 2.14.1) - DatadogSDKReactNative (2.4.1): - - DatadogCore (~> 2.13.0) - - DatadogCrashReporting (~> 2.13.0) - - DatadogLogs (~> 2.13.0) - - DatadogRUM (~> 2.13.0) - - DatadogTrace (~> 2.13.0) - - DatadogWebViewTracking (~> 2.13.0) + - DatadogCore (~> 2.14.1) + - DatadogCrashReporting (~> 2.14.1) + - DatadogLogs (~> 2.14.1) + - DatadogRUM (~> 2.14.1) + - DatadogTrace (~> 2.14.1) + - DatadogWebViewTracking (~> 2.14.1) - glog - hermes-engine - RCT-Folly (= 2022.05.16.00) @@ -36,11 +36,11 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - Yoga - - DatadogTrace (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogTrace (2.14.1): + - DatadogInternal (= 2.14.1) - OpenTelemetrySwiftApi (= 1.6.0) - - DatadogWebViewTracking (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogWebViewTracking (2.14.1): + - DatadogInternal (= 2.14.1) - DoubleConversion (1.1.6) - FBLazyVector (0.73.6) - Flipper (0.201.0): @@ -1411,14 +1411,14 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: d3f49c53809116a5d38da093a8aa78bf551aed09 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - DatadogCore: 9390fd07a89f57a23983de66fbec5bf3c2034f7a - DatadogCrashReporting: 79b67b790df186524fc76d45c0b8ce751c36ef41 - DatadogInternal: 61ab12516d2faad79e35973534c29a72b0d44382 - DatadogLogs: 912d7b3fd3d75df856de060082b785f92f7cefe6 - DatadogRUM: b5629479d4553d80f2a57ef9db44ce37e56f8b97 - DatadogSDKReactNative: 19af4558894a7670285348949a294c02850dd79f - DatadogTrace: 1f40893de00c9a9b87be46fa7016fa0d50c4e66b - DatadogWebViewTracking: d1e2e755bb2ed7c18208471b9cbcfc7cb920aa45 + DatadogCore: c0591cad03f97673dc6f9b1c56f85a81fc0868c6 + DatadogCrashReporting: b18e2eb9f9e4c91a2acd38451ca86a5c9fe7e9d8 + DatadogInternal: 9d326664fe7aaef4c159aaf19a32cd2675b4c5fe + DatadogLogs: d97eff8fba4541fad3bfaa8e8bcf8a272d246537 + DatadogRUM: 2c4d698619557aad6bf031178a046a70799b561d + DatadogSDKReactNative: 5fe944d29e8f376d82c0ee920b1b4985028e9cf2 + DatadogTrace: 18adb831078595a21210fdb7aad1db379e90dac1 + DatadogWebViewTracking: 5306fb6a663df6c1579c2eacf95c95d05735bb18 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864 Flipper: c7a0093234c4bdd456e363f2f19b2e4b27652d44 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index dc88bbbb7..4cde75658 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,47 +1,47 @@ PODS: - boost (1.83.0) - - DatadogCore (2.13.0): - - DatadogInternal (= 2.13.0) - - DatadogCrashReporting (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogCore (2.14.1): + - DatadogInternal (= 2.14.1) + - DatadogCrashReporting (2.14.1): + - DatadogInternal (= 2.14.1) - PLCrashReporter (~> 1.11.2) - - DatadogInternal (2.13.0) - - DatadogLogs (2.13.0): - - DatadogInternal (= 2.13.0) - - DatadogRUM (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogInternal (2.14.1) + - DatadogLogs (2.14.1): + - DatadogInternal (= 2.14.1) + - DatadogRUM (2.14.1): + - DatadogInternal (= 2.14.1) - DatadogSDKReactNative (2.4.1): - - DatadogCore (~> 2.13.0) - - DatadogCrashReporting (~> 2.13.0) - - DatadogLogs (~> 2.13.0) - - DatadogRUM (~> 2.13.0) - - DatadogTrace (~> 2.13.0) - - DatadogWebViewTracking (~> 2.13.0) + - DatadogCore (~> 2.14.1) + - DatadogCrashReporting (~> 2.14.1) + - DatadogLogs (~> 2.14.1) + - DatadogRUM (~> 2.14.1) + - DatadogTrace (~> 2.14.1) + - DatadogWebViewTracking (~> 2.14.1) - React-Core - DatadogSDKReactNative/Tests (2.4.1): - - DatadogCore (~> 2.13.0) - - DatadogCrashReporting (~> 2.13.0) - - DatadogLogs (~> 2.13.0) - - DatadogRUM (~> 2.13.0) - - DatadogTrace (~> 2.13.0) - - DatadogWebViewTracking (~> 2.13.0) + - DatadogCore (~> 2.14.1) + - DatadogCrashReporting (~> 2.14.1) + - DatadogLogs (~> 2.14.1) + - DatadogRUM (~> 2.14.1) + - DatadogTrace (~> 2.14.1) + - DatadogWebViewTracking (~> 2.14.1) - React-Core - DatadogSDKReactNativeSessionReplay (2.4.1-alpha.0): - DatadogSDKReactNative - - DatadogSessionReplay (~> 2.13.0) + - DatadogSessionReplay (~> 2.14.1) - React-Core - DatadogSDKReactNativeSessionReplay/Tests (2.4.1-alpha.0): - DatadogSDKReactNative - - DatadogSessionReplay (~> 2.13.0) + - DatadogSessionReplay (~> 2.14.1) - React-Core - React-RCTText - - DatadogSessionReplay (2.13.0): - - DatadogInternal (= 2.13.0) - - DatadogTrace (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogSessionReplay (2.14.1): + - DatadogInternal (= 2.14.1) + - DatadogTrace (2.14.1): + - DatadogInternal (= 2.14.1) - OpenTelemetrySwiftApi (= 1.6.0) - - DatadogWebViewTracking (2.13.0): - - DatadogInternal (= 2.13.0) + - DatadogWebViewTracking (2.14.1): + - DatadogInternal (= 2.14.1) - DoubleConversion (1.1.6) - FBLazyVector (0.73.6) - FBReactNativeSpec (0.73.6): @@ -1326,16 +1326,16 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: d3f49c53809116a5d38da093a8aa78bf551aed09 - DatadogCore: 9390fd07a89f57a23983de66fbec5bf3c2034f7a - DatadogCrashReporting: 79b67b790df186524fc76d45c0b8ce751c36ef41 - DatadogInternal: 61ab12516d2faad79e35973534c29a72b0d44382 - DatadogLogs: 912d7b3fd3d75df856de060082b785f92f7cefe6 - DatadogRUM: b5629479d4553d80f2a57ef9db44ce37e56f8b97 - DatadogSDKReactNative: 0101462ddda14f13470dfe05cca244c190bb1fac - DatadogSDKReactNativeSessionReplay: 001da6d4a0c0d3720c290d34b1bb1239c92ec198 - DatadogSessionReplay: 2e7795c1a8a86ff989ed5c0ccd616eed0f6c9a3a - DatadogTrace: 1f40893de00c9a9b87be46fa7016fa0d50c4e66b - DatadogWebViewTracking: d1e2e755bb2ed7c18208471b9cbcfc7cb920aa45 + DatadogCore: c0591cad03f97673dc6f9b1c56f85a81fc0868c6 + DatadogCrashReporting: b18e2eb9f9e4c91a2acd38451ca86a5c9fe7e9d8 + DatadogInternal: 9d326664fe7aaef4c159aaf19a32cd2675b4c5fe + DatadogLogs: d97eff8fba4541fad3bfaa8e8bcf8a272d246537 + DatadogRUM: 2c4d698619557aad6bf031178a046a70799b561d + DatadogSDKReactNative: b8c3d66cacacabdcb8859412c232d2cc39e2a71f + DatadogSDKReactNativeSessionReplay: 6178d72df530a9cdc963b3870354ce548645d3ae + DatadogSessionReplay: 1a9597ff672b32a2b7cb1bed24fa29a584386807 + DatadogTrace: 18adb831078595a21210fdb7aad1db379e90dac1 + DatadogWebViewTracking: 5306fb6a663df6c1579c2eacf95c95d05735bb18 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864 FBReactNativeSpec: 9f2b8b243131565335437dba74923a8d3015e780 diff --git a/packages/core/DatadogSDKReactNative.podspec b/packages/core/DatadogSDKReactNative.podspec index f6ac374ca..4867514c0 100644 --- a/packages/core/DatadogSDKReactNative.podspec +++ b/packages/core/DatadogSDKReactNative.podspec @@ -19,12 +19,12 @@ Pod::Spec.new do |s| s.dependency "React-Core" # /!\ Remember to keep the versions in sync with DatadogSDKReactNativeSessionReplay.podspec - s.dependency 'DatadogCore', '~> 2.13.0' - s.dependency 'DatadogLogs', '~> 2.13.0' - s.dependency 'DatadogTrace', '~> 2.13.0' - s.dependency 'DatadogRUM', '~> 2.13.0' - s.dependency 'DatadogCrashReporting', '~> 2.13.0' - s.dependency 'DatadogWebViewTracking', '~> 2.13.0' + s.dependency 'DatadogCore', '~> 2.14.1' + s.dependency 'DatadogLogs', '~> 2.14.1' + s.dependency 'DatadogTrace', '~> 2.14.1' + s.dependency 'DatadogRUM', '~> 2.14.1' + s.dependency 'DatadogCrashReporting', '~> 2.14.1' + s.dependency 'DatadogWebViewTracking', '~> 2.14.1' s.test_spec 'Tests' do |test_spec| test_spec.source_files = 'ios/Tests/**/*.{swift,json}' diff --git a/packages/internal-testing-tools/ios/Sources/DatadogCoreProxy.swift b/packages/internal-testing-tools/ios/Sources/DatadogCoreProxy.swift index 7d907adbf..ae001f831 100644 --- a/packages/internal-testing-tools/ios/Sources/DatadogCoreProxy.swift +++ b/packages/internal-testing-tools/ios/Sources/DatadogCoreProxy.swift @@ -46,6 +46,10 @@ internal class DatadogCoreProxy: DatadogCoreProtocol { func send(message: FeatureMessage, else fallback: @escaping () -> Void) { core.send(message: message, else: fallback) } + + func mostRecentModifiedFileAt(before: Date) throws -> Date? { + return try core.mostRecentModifiedFileAt(before: before) + } } private struct FeatureScopeProxy: FeatureScope { diff --git a/packages/react-native-session-replay/DatadogSDKReactNativeSessionReplay.podspec b/packages/react-native-session-replay/DatadogSDKReactNativeSessionReplay.podspec index 02a06183f..c9dad3b1d 100644 --- a/packages/react-native-session-replay/DatadogSDKReactNativeSessionReplay.podspec +++ b/packages/react-native-session-replay/DatadogSDKReactNativeSessionReplay.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.dependency "React-Core" # /!\ Remember to keep the version in sync with DatadogSDKReactNative.podspec - s.dependency 'DatadogSessionReplay', '~> 2.13.0' + s.dependency 'DatadogSessionReplay', '~> 2.14.1' s.dependency 'DatadogSDKReactNative' s.test_spec 'Tests' do |test_spec|