From ddd9b5bd58d94d2e0b995f5bbb24a35e960f5e96 Mon Sep 17 00:00:00 2001 From: Fiona Date: Wed, 26 Aug 2026 21:26:14 -0700 Subject: [PATCH] chore(release): 0.1.4 Fixes RUM auto-instrumentation. An instrumentation that failed to install no longer takes the rest of the SDK down with it: previously one exception skipped the other instrumentations and, on the DatadogProvider path, aborted the native initialization, so an app could end up reporting nothing at all. Actions are now recorded in apps that compile JSX to a runtime other than React's - anything setting a custom `jsxImportSource`, which is how css-interop based styling libraries work. Such a runtime is declared through the new `jsxRuntimes` configuration. `jsxs` is instrumented as well, so elements with several children are no longer skipped regardless of which runtime an app uses. Failures on the resource reporting path are no longer swallowed by a discarded promise. --- NATIVE_SDK_VERSIONS.md | 1 + lerna.json | 2 +- packages/codepush/package.json | 4 ++-- .../src/main/kotlin/com/datadog/reactnative/SdkVersion.kt | 2 +- packages/core/ios/Sources/SdkVersion.swift | 2 +- packages/core/package.json | 2 +- packages/core/src/version.ts | 2 +- packages/internal-testing-tools/package.json | 2 +- packages/react-native-apollo-client/package.json | 2 +- packages/react-native-babel-plugin/package.json | 2 +- packages/react-native-navigation/package.json | 4 ++-- packages/react-native-session-replay/package.json | 2 +- packages/react-native-webview/package.json | 2 +- packages/react-navigation/package.json | 4 ++-- yarn.lock | 8 ++++---- 15 files changed, 21 insertions(+), 20 deletions(-) diff --git a/NATIVE_SDK_VERSIONS.md b/NATIVE_SDK_VERSIONS.md index 2bf7bd599..ed09dc60f 100644 --- a/NATIVE_SDK_VERSIONS.md +++ b/NATIVE_SDK_VERSIONS.md @@ -1,5 +1,6 @@ | React Native | iOS Bridge / iOS SDK | Android Bridge / Android SDK | |-------------|---------------------|-----------------------------| +| 0.1.4 | 0.5.0 | 0.5.0 | | 0.1.3 | 0.5.0 | 0.5.0 | | 0.1.2 | 0.5.0 | 0.5.0 | | 0.1.1 | 0.5.0 | 0.5.0 | diff --git a/lerna.json b/lerna.json index 88c45e207..fd7c28795 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "npmClient": "yarn", - "version": "0.1.3", + "version": "0.1.4", "packages": [ "packages/*" ], diff --git a/packages/codepush/package.json b/packages/codepush/package.json index 6ecc96485..5a5f7d157 100644 --- a/packages/codepush/package.json +++ b/packages/codepush/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-code-push", - "version": "0.1.3", + "version": "0.1.4", "description": "A client-side React Native module to interact with Appcenter Codepush and Datadog", "keywords": [ "datadog", @@ -39,7 +39,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@flashcatcloud/mobile-react-native": "workspace:0.1.3", + "@flashcatcloud/mobile-react-native": "workspace:0.1.4", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.26.0", "react-native-code-push": "7.1.0" diff --git a/packages/core/android/src/main/kotlin/com/datadog/reactnative/SdkVersion.kt b/packages/core/android/src/main/kotlin/com/datadog/reactnative/SdkVersion.kt index 4819eb67c..55b831894 100644 --- a/packages/core/android/src/main/kotlin/com/datadog/reactnative/SdkVersion.kt +++ b/packages/core/android/src/main/kotlin/com/datadog/reactnative/SdkVersion.kt @@ -7,4 +7,4 @@ package com.datadog.reactnative // This is automatically updated by the update-version.sh script -internal const val SDK_VERSION = "0.1.3" +internal const val SDK_VERSION = "0.1.4" diff --git a/packages/core/ios/Sources/SdkVersion.swift b/packages/core/ios/Sources/SdkVersion.swift index a56993aac..f153c0bae 100644 --- a/packages/core/ios/Sources/SdkVersion.swift +++ b/packages/core/ios/Sources/SdkVersion.swift @@ -7,4 +7,4 @@ import Foundation // This is automatically updated by the update-version.sh script -let SdkVersion = "0.1.3" +let SdkVersion = "0.1.4" diff --git a/packages/core/package.json b/packages/core/package.json index 6c9165466..87a1d2731 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native", - "version": "0.1.3", + "version": "0.1.4", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", diff --git a/packages/core/src/version.ts b/packages/core/src/version.ts index e13dc2798..165a3aee4 100644 --- a/packages/core/src/version.ts +++ b/packages/core/src/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '0.1.3'; +export const version = '0.1.4'; diff --git a/packages/internal-testing-tools/package.json b/packages/internal-testing-tools/package.json index 674958f04..6e12454f6 100644 --- a/packages/internal-testing-tools/package.json +++ b/packages/internal-testing-tools/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/react-native-internal-testing-tools", - "version": "0.1.3", + "version": "0.1.4", "description": "Internal tools for testing the Datadog React Native SDK.", "keywords": [ "datadog", diff --git a/packages/react-native-apollo-client/package.json b/packages/react-native-apollo-client/package.json index f3809d395..7c0606f0a 100644 --- a/packages/react-native-apollo-client/package.json +++ b/packages/react-native-apollo-client/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-apollo-client", - "version": "0.1.3", + "version": "0.1.4", "private": true, "description": "A client-side React Native module to interact with Apollo Client and Datadog", "keywords": [ diff --git a/packages/react-native-babel-plugin/package.json b/packages/react-native-babel-plugin/package.json index 25985a09b..94e8e5071 100644 --- a/packages/react-native-babel-plugin/package.json +++ b/packages/react-native-babel-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-babel-plugin", - "version": "0.1.3", + "version": "0.1.4", "description": "A Babel plugin that enhances Datadog's React Native SDK by automatically enriching React components with contextual metadata.", "keywords": [ "babel", diff --git a/packages/react-native-navigation/package.json b/packages/react-native-navigation/package.json index 412f77c56..3de564d5b 100644 --- a/packages/react-native-navigation/package.json +++ b/packages/react-native-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-navigation", - "version": "0.1.3", + "version": "0.1.4", "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": { - "@flashcatcloud/mobile-react-native": "^0.1.3", + "@flashcatcloud/mobile-react-native": "^0.1.4", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.26.0", "react-native-gesture-handler": "1.10.3", diff --git a/packages/react-native-session-replay/package.json b/packages/react-native-session-replay/package.json index 19bbcdc12..1a879048d 100644 --- a/packages/react-native-session-replay/package.json +++ b/packages/react-native-session-replay/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-session-replay", - "version": "0.1.3", + "version": "0.1.4", "description": "A client-side React Native module to enable session replay with Datadog", "keywords": [ "datadog", diff --git a/packages/react-native-webview/package.json b/packages/react-native-webview/package.json index c6dd29ad0..c895d46be 100644 --- a/packages/react-native-webview/package.json +++ b/packages/react-native-webview/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-native-webview", - "version": "0.1.3", + "version": "0.1.4", "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 5a9d5a5f4..ba079c2f0 100644 --- a/packages/react-navigation/package.json +++ b/packages/react-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/mobile-react-navigation", - "version": "0.1.3", + "version": "0.1.4", "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": { - "@flashcatcloud/mobile-react-native": "^0.1.3", + "@flashcatcloud/mobile-react-native": "^0.1.4", "@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 d44af0dfa..8b6610ed1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2535,7 +2535,7 @@ __metadata: version: 0.0.0-use.local resolution: "@flashcatcloud/mobile-react-native-code-push@workspace:packages/codepush" dependencies: - "@flashcatcloud/mobile-react-native": "workspace:0.1.3" + "@flashcatcloud/mobile-react-native": "workspace:0.1.4" "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.26.0 react-native-code-push: 7.1.0 @@ -2551,7 +2551,7 @@ __metadata: version: 0.0.0-use.local resolution: "@flashcatcloud/mobile-react-native-navigation@workspace:packages/react-native-navigation" dependencies: - "@flashcatcloud/mobile-react-native": ^0.1.3 + "@flashcatcloud/mobile-react-native": ^0.1.4 "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.26.0 react-native-gesture-handler: 1.10.3 @@ -2593,7 +2593,7 @@ __metadata: languageName: unknown linkType: soft -"@flashcatcloud/mobile-react-native@^0.1.3, @flashcatcloud/mobile-react-native@workspace:0.1.3, @flashcatcloud/mobile-react-native@workspace:packages/core": +"@flashcatcloud/mobile-react-native@^0.1.4, @flashcatcloud/mobile-react-native@workspace:0.1.4, @flashcatcloud/mobile-react-native@workspace:packages/core": version: 0.0.0-use.local resolution: "@flashcatcloud/mobile-react-native@workspace:packages/core" dependencies: @@ -2610,7 +2610,7 @@ __metadata: version: 0.0.0-use.local resolution: "@flashcatcloud/mobile-react-navigation@workspace:packages/react-navigation" dependencies: - "@flashcatcloud/mobile-react-native": ^0.1.3 + "@flashcatcloud/mobile-react-native": ^0.1.4 "@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"