From e9d3876dcfbf89b61dc9d3e96a129f0672fb5a03 Mon Sep 17 00:00:00 2001 From: louiszawadzki Date: Tue, 25 Jul 2023 10:30:34 +0200 Subject: [PATCH 1/2] Update iOS SDK to 1.22.0 --- example-new-architecture/ios/Podfile.lock | 20 ++++++++++---------- example/ios/Podfile.lock | 16 ++++++++-------- packages/core/DatadogSDKReactNative.podspec | 4 ++-- packages/core/ios/Tests/RUMMocks.swift | 1 + 4 files changed, 21 insertions(+), 20 deletions(-) diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index f265d040a..b1097fcf1 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -1,13 +1,13 @@ PODS: - boost (1.76.0) - CocoaAsyncSocket (7.6.5) - - DatadogSDK (1.20.0) - - DatadogSDKCrashReporting (1.20.0): - - DatadogSDK (= 1.20.0) + - DatadogSDK (1.22.0) + - DatadogSDKCrashReporting (1.22.0): + - DatadogSDK (= 1.22.0) - PLCrashReporter (~> 1.11.0) - DatadogSDKReactNative (1.8.1): - - DatadogSDK (~> 1.20.0) - - DatadogSDKCrashReporting (~> 1.20.0) + - DatadogSDK (~> 1.22.0) + - DatadogSDKCrashReporting (~> 1.22.0) - RCT-Folly (= 2021.07.22.00) - RCTRequired - RCTTypeSafety @@ -764,7 +764,7 @@ PODS: - React-jsi (= 0.71.10) - React-logger (= 0.71.10) - React-perflogger (= 0.71.10) - - SocketRocket (0.6.0) + - SocketRocket (0.6.1) - Yoga (1.14.0) - YogaKit (1.18.1): - Yoga (~> 1.14) @@ -940,9 +940,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - DatadogSDK: a89bfe6b833c5f4069c36a5a1096947ff148e89a - DatadogSDKCrashReporting: 9f8ea80a58a68d165568e74a5b9d3d04bcff9563 - DatadogSDKReactNative: ab0452aa248d455360ed9bf8611ffd34005e63c0 + DatadogSDK: 46e1a7363bc3130fae151ec4aedf11ea291517c5 + DatadogSDKCrashReporting: 24a0e6ec6db905cdeb174721962a7941b2f8a9d2 + DatadogSDKReactNative: 5a8a873e9c38e86f4f2c08131809fff929a28000 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: ddb55c55295ea51ed98aa7e2e08add2f826309d5 FBReactNativeSpec: 33a87f65f1a467d5f63d11d0cc106a10d3b0639d @@ -992,7 +992,7 @@ SPEC CHECKSUMS: React-rncore: 0ed130c0a368c85d94e4941e675428effb8358e9 React-runtimeexecutor: a9a1cd79996c9a0846e3232ecb25c64e1cc0172e ReactCommon: 65718685d4095d06b4b1af8042e12f1df2925c31 - SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 + SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: e7ea9e590e27460d28911403b894722354d73479 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 508f88454..843743323 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,12 +1,12 @@ PODS: - boost (1.76.0) - - DatadogSDK (1.20.0) - - DatadogSDKCrashReporting (1.20.0): - - DatadogSDK (= 1.20.0) + - DatadogSDK (1.22.0) + - DatadogSDKCrashReporting (1.22.0): + - DatadogSDK (= 1.22.0) - PLCrashReporter (~> 1.11.0) - DatadogSDKReactNative (1.8.1): - - DatadogSDK (~> 1.20.0) - - DatadogSDKCrashReporting (~> 1.20.0) + - DatadogSDK (~> 1.22.0) + - DatadogSDKCrashReporting (~> 1.22.0) - React-Core - DoubleConversion (1.1.6) - FBLazyVector (0.71.10) @@ -528,9 +528,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 - DatadogSDK: a89bfe6b833c5f4069c36a5a1096947ff148e89a - DatadogSDKCrashReporting: 9f8ea80a58a68d165568e74a5b9d3d04bcff9563 - DatadogSDKReactNative: af54bda1c8ff1a3d9a3744fab44fcb0ead513062 + DatadogSDK: 46e1a7363bc3130fae151ec4aedf11ea291517c5 + DatadogSDKCrashReporting: 24a0e6ec6db905cdeb174721962a7941b2f8a9d2 + DatadogSDKReactNative: 03288b0491ecfca3e11a9590f34b4c66cae71c1a DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: ddb55c55295ea51ed98aa7e2e08add2f826309d5 FBReactNativeSpec: 90fc1a90b4b7a171e0a7c20ea426c1bf6ce4399c diff --git a/packages/core/DatadogSDKReactNative.podspec b/packages/core/DatadogSDKReactNative.podspec index 40edafaa8..9b2846f88 100644 --- a/packages/core/DatadogSDKReactNative.podspec +++ b/packages/core/DatadogSDKReactNative.podspec @@ -17,8 +17,8 @@ Pod::Spec.new do |s| s.source_files = "ios/Sources/*.{h,m,mm,swift}" s.dependency "React-Core" - s.dependency 'DatadogSDK', '~> 1.20.0' - s.dependency 'DatadogSDKCrashReporting', '~> 1.20.0' + s.dependency 'DatadogSDK', '~> 1.22.0' + s.dependency 'DatadogSDKCrashReporting', '~> 1.22.0' s.test_spec 'Tests' do |test_spec| test_spec.source_files = 'ios/Tests/*.swift' diff --git a/packages/core/ios/Tests/RUMMocks.swift b/packages/core/ios/Tests/RUMMocks.swift index dfcdbb213..0d4c28b31 100644 --- a/packages/core/ios/Tests/RUMMocks.swift +++ b/packages/core/ios/Tests/RUMMocks.swift @@ -230,6 +230,7 @@ extension RUMDevice: RandomMockable { extension RUMOperatingSystem: RandomMockable { static func mockRandom() -> RUMOperatingSystem { return .init( + build: .mockRandom(length: 5), name: .mockRandom(length: 5), version: .mockRandom(among: .decimalDigits, length: 2), versionMajor: .mockRandom(among: .decimalDigits, length: 1) From 6292f44265057e5491ac64b9c21827a39a33bef6 Mon Sep 17 00:00:00 2001 From: louiszawadzki Date: Tue, 25 Jul 2023 10:41:18 +0200 Subject: [PATCH 2/2] Bump to version 1.8.2 --- example-new-architecture/ios/Podfile.lock | 4 ++-- example/ios/Podfile.lock | 4 ++-- lerna.json | 2 +- packages/codepush/package.json | 4 ++-- packages/core/package.json | 2 +- packages/react-native-navigation/package.json | 4 ++-- packages/react-native-webview/package.json | 2 +- packages/react-navigation/package.json | 4 ++-- yarn.lock | 8 ++++---- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index b1097fcf1..d585599c5 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -5,7 +5,7 @@ PODS: - DatadogSDKCrashReporting (1.22.0): - DatadogSDK (= 1.22.0) - PLCrashReporter (~> 1.11.0) - - DatadogSDKReactNative (1.8.1): + - DatadogSDKReactNative (1.8.2): - DatadogSDK (~> 1.22.0) - DatadogSDKCrashReporting (~> 1.22.0) - RCT-Folly (= 2021.07.22.00) @@ -942,7 +942,7 @@ SPEC CHECKSUMS: CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DatadogSDK: 46e1a7363bc3130fae151ec4aedf11ea291517c5 DatadogSDKCrashReporting: 24a0e6ec6db905cdeb174721962a7941b2f8a9d2 - DatadogSDKReactNative: 5a8a873e9c38e86f4f2c08131809fff929a28000 + DatadogSDKReactNative: bdb47967c6c225adf39cfc1160ebed1d982bc023 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: ddb55c55295ea51ed98aa7e2e08add2f826309d5 FBReactNativeSpec: 33a87f65f1a467d5f63d11d0cc106a10d3b0639d diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 843743323..d464b0ff3 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -4,7 +4,7 @@ PODS: - DatadogSDKCrashReporting (1.22.0): - DatadogSDK (= 1.22.0) - PLCrashReporter (~> 1.11.0) - - DatadogSDKReactNative (1.8.1): + - DatadogSDKReactNative (1.8.2): - DatadogSDK (~> 1.22.0) - DatadogSDKCrashReporting (~> 1.22.0) - React-Core @@ -530,7 +530,7 @@ SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 DatadogSDK: 46e1a7363bc3130fae151ec4aedf11ea291517c5 DatadogSDKCrashReporting: 24a0e6ec6db905cdeb174721962a7941b2f8a9d2 - DatadogSDKReactNative: 03288b0491ecfca3e11a9590f34b4c66cae71c1a + DatadogSDKReactNative: d4372ad5eb31c6516f9ef43162ab715024b8db7d DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: ddb55c55295ea51ed98aa7e2e08add2f826309d5 FBReactNativeSpec: 90fc1a90b4b7a171e0a7c20ea426c1bf6ce4399c diff --git a/lerna.json b/lerna.json index 888bc5135..0754af8f4 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "npmClient": "yarn", - "version": "1.8.1", + "version": "1.8.2", "packages": [ "packages/*" ], diff --git a/packages/codepush/package.json b/packages/codepush/package.json index e6c422d2c..f66faf904 100644 --- a/packages/codepush/package.json +++ b/packages/codepush/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-code-push", - "version": "1.8.1", + "version": "1.8.2", "description": "A client-side React Native module to interact with Appcenter Codepush and Datadog", "keywords": [ "datadog", @@ -38,7 +38,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.1", + "@datadog/mobile-react-native": "^1.8.2", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.17.1", "react-native-code-push": "7.0.5" diff --git a/packages/core/package.json b/packages/core/package.json index 779035485..69d7fcbd6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native", - "version": "1.8.1", + "version": "1.8.2", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", diff --git a/packages/react-native-navigation/package.json b/packages/react-native-navigation/package.json index 1f3bec987..0886b21e5 100644 --- a/packages/react-native-navigation/package.json +++ b/packages/react-native-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-navigation", - "version": "1.8.1", + "version": "1.8.2", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", @@ -36,7 +36,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.1", + "@datadog/mobile-react-native": "^1.8.2", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.17.1", "react-native-gesture-handler": "1.10.3", diff --git a/packages/react-native-webview/package.json b/packages/react-native-webview/package.json index a36cb5843..106a407cf 100644 --- a/packages/react-native-webview/package.json +++ b/packages/react-native-webview/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-webview", - "version": "1.8.1", + "version": "1.8.2", "description": "A client-side React Native module to interact with react-native-webview and Datadog", "keywords": [ "datadog", diff --git a/packages/react-navigation/package.json b/packages/react-navigation/package.json index c4c08921a..8dc1f76d2 100644 --- a/packages/react-navigation/package.json +++ b/packages/react-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-navigation", - "version": "1.8.1", + "version": "1.8.2", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", @@ -36,7 +36,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.1", + "@datadog/mobile-react-native": "^1.8.2", "@react-navigation/native-v5": "npm:@react-navigation/native@5.9.8", "@react-navigation/native-v6": "npm:@react-navigation/native@6.1.2", "@react-navigation/stack-v5": "npm:@react-navigation/stack@5.14.2", diff --git a/yarn.lock b/yarn.lock index 0dcba50e2..88157ef52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3510,7 +3510,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-native-code-push@workspace:packages/codepush" dependencies: - "@datadog/mobile-react-native": ^1.8.1 + "@datadog/mobile-react-native": ^1.8.2 "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.17.1 react-native-code-push: 7.0.5 @@ -3526,7 +3526,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-native-navigation@workspace:packages/react-native-navigation" dependencies: - "@datadog/mobile-react-native": ^1.8.1 + "@datadog/mobile-react-native": ^1.8.2 "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.17.1 react-native-gesture-handler: 1.10.3 @@ -3554,7 +3554,7 @@ __metadata: languageName: unknown linkType: soft -"@datadog/mobile-react-native@^1.8.1, @datadog/mobile-react-native@workspace:packages/core": +"@datadog/mobile-react-native@^1.8.2, @datadog/mobile-react-native@workspace:packages/core": version: 0.0.0-use.local resolution: "@datadog/mobile-react-native@workspace:packages/core" dependencies: @@ -3570,7 +3570,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-navigation@workspace:packages/react-navigation" dependencies: - "@datadog/mobile-react-native": ^1.8.1 + "@datadog/mobile-react-native": ^1.8.2 "@react-navigation/native-v5": "npm:@react-navigation/native@5.9.8" "@react-navigation/native-v6": "npm:@react-navigation/native@6.1.2" "@react-navigation/stack-v5": "npm:@react-navigation/stack@5.14.2"