From a4cb086026e1738fbc82ce825fbea9dbab4e6cc4 Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Mon, 16 Feb 2026 16:03:49 +0100 Subject: [PATCH 1/6] sentry upgrade --- package-lock.json | 288 ++++++++++++++---- package.json | 2 +- ...owser+10.24.0+001+request-id-support.patch | 15 - ...owser+10.38.0+001+request-id-support.patch | 60 ++++ ....38.0+001+data-sentry-label-support.patch} | 0 ...core+10.38.0+002+request-id-support.patch} | 0 ...patch => @sentry+react-native+8.0.0.patch} | 0 src/setup/telemetry/index.ts | 2 +- 8 files changed, 298 insertions(+), 69 deletions(-) delete mode 100644 patches/sentry-browser/@sentry+browser+10.24.0+001+request-id-support.patch create mode 100644 patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch rename patches/sentry-core/{@sentry+core+10.24.0+001+data-sentry-label-support.patch => @sentry+core+10.38.0+001+data-sentry-label-support.patch} (100%) rename patches/sentry-core/{@sentry+core+10.24.0+002+request-id-support.patch => @sentry+core+10.38.0+002+request-id-support.patch} (100%) rename patches/sentry-react-native/{@sentry+react-native+7.6.0.patch => @sentry+react-native+8.0.0.patch} (100%) diff --git a/package-lock.json b/package-lock.json index c3b00f544a6a1..f40067668cb2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "@react-navigation/stack": "7.3.3", "@react-ng/bounds-observer": "^0.2.1", "@rnmapbox/maps": "10.1.44", - "@sentry/react-native": "^7.6.0", + "@sentry/react-native": "8.0.0", "@shopify/flash-list": "2.2.0", "@shopify/react-native-skia": "^2.4.14", "@ua/react-native-airship": "~25.0.0", @@ -13745,50 +13745,50 @@ "license": "MIT" }, "node_modules/@sentry-internal/browser-utils": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-10.24.0.tgz", - "integrity": "sha512-2nLj5TgPc/KkGy7LCW9sBGJT0CT+9U+Vlqa8yl7APd5agzxrpRyTcm4hPBBOw5tw7D4NWWUMulFxtZKZzT/Rcw==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-10.38.0.tgz", + "integrity": "sha512-UOJtYmdcxHCcV0NPfXFff/a95iXl/E0EhuQ1y0uE0BuZDMupWSF5t2BgC4HaE5Aw3RTjDF3XkSHWoIF6ohy7eA==", "license": "MIT", "dependencies": { - "@sentry/core": "10.24.0" + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/feedback": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-10.24.0.tgz", - "integrity": "sha512-leYFQfgax50sYTEgkcEzPP8lTvtE12nryJSsdtPNym6gmQgA2SN20oSRNlxo1AitNpwNnTkj+ow/Y9ytrJlXUQ==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-10.38.0.tgz", + "integrity": "sha512-JXneg9zRftyfy1Fyfc39bBlF/Qd8g4UDublFFkVvdc1S6JQPlK+P6q22DKz3Pc8w3ySby+xlIq/eTu9Pzqi4KA==", "license": "MIT", "dependencies": { - "@sentry/core": "10.24.0" + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/replay": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-10.24.0.tgz", - "integrity": "sha512-xqSw3sCu5yxDQFpo/42t1zzxe+6kn542DRwHNBqIBd0CWN7un/j5YIW1Sq/+TdHYGbeG8LzD5UOuvZsT4zF2nQ==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-10.38.0.tgz", + "integrity": "sha512-YWIkL6/dnaiQyFiZXJ/nN+NXGv/15z45ia86bE/TMq01CubX/DUOilgsFz0pk2v/pg3tp/U2MskLO9Hz0cnqeg==", "license": "MIT", "dependencies": { - "@sentry-internal/browser-utils": "10.24.0", - "@sentry/core": "10.24.0" + "@sentry-internal/browser-utils": "10.38.0", + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/replay-canvas": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-10.24.0.tgz", - "integrity": "sha512-pjNZ+/L/ct0huutkTQrcR+V/v3ICf5wKE8OOB2Dt3DcjNsbLKtUsy9Um6bCbSz/fRI8K/ZFlVLjiIQkMW+WX0Q==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-10.38.0.tgz", + "integrity": "sha512-OXWM9jEqNYh4VTvrMu7v+z1anz+QKQ/fZXIZdsO7JTT2lGNZe58UUMeoq386M+Saxen8F9SUH7yTORy/8KI5qw==", "license": "MIT", "dependencies": { - "@sentry-internal/replay": "10.24.0", - "@sentry/core": "10.24.0" + "@sentry-internal/replay": "10.38.0", + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" @@ -13798,22 +13798,23 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.6.0.tgz", "integrity": "sha512-3soTX50JPQQ51FSbb4qvNBf4z/yP7jTdn43vMTp9E4IxvJ9HKJR7OEuKkCMszrZmWsVABXl02msqO7QisePdiQ==", + "dev": true, "license": "MIT", "engines": { "node": ">= 14" } }, "node_modules/@sentry/browser": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-10.24.0.tgz", - "integrity": "sha512-kKSNYupPIIk02+4OVR13qpJ8/uzsf6SrCzgxr6EvdK8qEuGYLJyM6lLJze/C5BZTSsam6UGAfahrSI1K5il8oQ==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-10.38.0.tgz", + "integrity": "sha512-3phzp1YX4wcQr9mocGWKbjv0jwtuoDBv7+Y6Yfrys/kwyaL84mDLjjQhRf4gL5SX7JdYkhBp4WaiNlR0UC4kTA==", "license": "MIT", "dependencies": { - "@sentry-internal/browser-utils": "10.24.0", - "@sentry-internal/feedback": "10.24.0", - "@sentry-internal/replay": "10.24.0", - "@sentry-internal/replay-canvas": "10.24.0", - "@sentry/core": "10.24.0" + "@sentry-internal/browser-utils": "10.38.0", + "@sentry-internal/feedback": "10.38.0", + "@sentry-internal/replay": "10.38.0", + "@sentry-internal/replay-canvas": "10.38.0", + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" @@ -13931,6 +13932,7 @@ "version": "2.58.0", "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-2.58.0.tgz", "integrity": "sha512-ywfV2uYkNaW5BGFBgIEX+urkxWtY03GYKN08OLYJpfJeOWl5tzxAKKg+AkMZqnqsDqjCf8gLjZh7sF4jY+ZE1Q==", + "dev": true, "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { @@ -13961,6 +13963,7 @@ "version": "2.58.0", "resolved": "https://registry.npmjs.org/@sentry/cli-darwin/-/cli-darwin-2.58.0.tgz", "integrity": "sha512-dI8+85N2xNsQeJZBbfGkjFScYH0xP/8+TDgoA5YiWWxsD/qSlWv1pf2VCR83smMyfcjIkDiPYIxBDticD67skQ==", + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -13977,6 +13980,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -13995,6 +13999,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14014,6 +14019,7 @@ "x86", "ia32" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14032,6 +14038,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14050,6 +14057,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14067,6 +14075,7 @@ "x86", "ia32" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14083,6 +14092,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "BSD-3-Clause", "optional": true, "os": [ @@ -14093,23 +14103,22 @@ } }, "node_modules/@sentry/core": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.24.0.tgz", - "integrity": "sha512-apJ1NtCK/Kt5uTytee+4rhhcTm4u3+z0bESH8GNMXMcuJ/A3Rvy3HUh+gqCx4BTOR0Sa44dbMvJcm/ewO+mzVg==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.38.0.tgz", + "integrity": "sha512-1pubWDZE5y5HZEPMAZERP4fVl2NH3Ihp1A+vMoVkb3Qc66Diqj1WierAnStlZP7tCx0TBa0dK85GTW/ZFYyB9g==", "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/@sentry/react": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry/react/-/react-10.24.0.tgz", - "integrity": "sha512-HW83v7LC5E06H/cYtU4fnlOV5fykNl5QkrOoZzKrYfAUCh4T11gjd4RvlvI+WaXb6nhD+gW2YLu95iIRHid/TA==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry/react/-/react-10.38.0.tgz", + "integrity": "sha512-3UiKo6QsqTyPGUt0XWRY9KLaxc/cs6Kz4vlldBSOXEL6qPDL/EfpwNJT61osRo81VFWu8pKu7ZY2bvLPryrnBQ==", "license": "MIT", "dependencies": { - "@sentry/browser": "10.24.0", - "@sentry/core": "10.24.0", - "hoist-non-react-statics": "^3.3.2" + "@sentry/browser": "10.38.0", + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" @@ -14119,17 +14128,17 @@ } }, "node_modules/@sentry/react-native": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/@sentry/react-native/-/react-native-7.6.0.tgz", - "integrity": "sha512-oL6Tl6B+vHP/OtHt9LkhZMg+mntjn2mFTzqnPCggXDIPxn5cqZ41154wA7d33i6JLKiXiK02EHJlnImdb4s06w==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sentry/react-native/-/react-native-8.0.0.tgz", + "integrity": "sha512-u+aXkL3Vw4gwIldIk5C0UI6ZwED/ct4FwoEU2UuIlrNmtKJffoE7I1oRnHA6AmVuq9ZvvdzOh/AhXb242HfTsg==", "license": "MIT", "dependencies": { - "@sentry/babel-plugin-component-annotate": "4.6.0", - "@sentry/browser": "10.24.0", - "@sentry/cli": "2.58.0", - "@sentry/core": "10.24.0", - "@sentry/react": "10.24.0", - "@sentry/types": "10.24.0" + "@sentry/babel-plugin-component-annotate": "4.9.1", + "@sentry/browser": "10.38.0", + "@sentry/cli": "3.2.0", + "@sentry/core": "10.38.0", + "@sentry/react": "10.38.0", + "@sentry/types": "10.38.0" }, "bin": { "sentry-expo-upload-sourcemaps": "scripts/expo-upload-sourcemaps.js" @@ -14145,13 +14154,186 @@ } } }, + "node_modules/@sentry/react-native/node_modules/@sentry/babel-plugin-component-annotate": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.9.1.tgz", + "integrity": "sha512-0gEoi2Lb54MFYPOmdTfxlNKxI7kCOvNV7gP8lxMXJ7nCazF5OqOOZIVshfWjDLrc0QrSV6XdVvwPV9GDn4wBMg==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-3.2.0.tgz", + "integrity": "sha512-YLv/xgttSc8sRhK2xBoxmLS+yQlCW154ey2cXFsFe+yY73lXvQ9nZ7BkHmSc+YUl8y5CKHL+8edQLYV8O8PQMA==", + "hasInstallScript": true, + "license": "FSL-1.1-MIT", + "dependencies": { + "progress": "^2.0.3", + "proxy-from-env": "^1.1.0", + "undici": "^6.22.0", + "which": "^2.0.2" + }, + "bin": { + "sentry-cli": "bin/sentry-cli" + }, + "engines": { + "node": ">= 18" + }, + "optionalDependencies": { + "@sentry/cli-darwin": "3.2.0", + "@sentry/cli-linux-arm": "3.2.0", + "@sentry/cli-linux-arm64": "3.2.0", + "@sentry/cli-linux-i686": "3.2.0", + "@sentry/cli-linux-x64": "3.2.0", + "@sentry/cli-win32-arm64": "3.2.0", + "@sentry/cli-win32-i686": "3.2.0", + "@sentry/cli-win32-x64": "3.2.0" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-darwin": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-darwin/-/cli-darwin-3.2.0.tgz", + "integrity": "sha512-2If2h0P/X9K0UrwlpZYKnxBmIFfa957lAHGe5VmN64v8nEHk8dxcrX+NS9nX9H75eccLGzGMcYk0Zt0KQgQJ3g==", + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-arm": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm/-/cli-linux-arm-3.2.0.tgz", + "integrity": "sha512-NVcGcS9mceivVhi8W6iEnlcK96OlPMzOdM6xkIm+7+J0uXHgUyMyc+rT6p2QG3j8jI5I7qAl7fTHWluSX2lx3g==", + "cpu": [ + "arm" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "linux", + "freebsd", + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-arm64": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm64/-/cli-linux-arm64-3.2.0.tgz", + "integrity": "sha512-YFpYIfYpXYzpSrIspmPOOPjXbxWp/Ve+F2hSIQb1tSKmcxFgaUm6WfuniYF8EIaLNa8YOLECf0xo78yGXBa+ug==", + "cpu": [ + "arm64" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "linux", + "freebsd", + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-i686": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-i686/-/cli-linux-i686-3.2.0.tgz", + "integrity": "sha512-6SOxlF37NqRRKxEuvWryBM7MAgTisq0G6ZQzhI2iuWbcrmlLUDUW2Yssz3gAR01eYJ4jfpqvojSzPRDwqB0K+Q==", + "cpu": [ + "x86", + "ia32" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "linux", + "freebsd", + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-x64": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-x64/-/cli-linux-x64-3.2.0.tgz", + "integrity": "sha512-7LRd0A74ma/1ejlTRPOoBiFiJr4LWkoE6CnA2XwAoYd0r62WUjGHtg6gIC+yElOCwtxXP7I9fOiV2BJIAq2DHw==", + "cpu": [ + "x64" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "linux", + "freebsd", + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-arm64": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-arm64/-/cli-win32-arm64-3.2.0.tgz", + "integrity": "sha512-uKRi/++gnGepsaGi4goIcC13YGNEHgOUcROkz4L3H8vAR7QxWv2SHy7SCN+2S6c+Q2mOd0DfY35cMW5MzTpb7g==", + "cpu": [ + "arm64" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-i686": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-i686/-/cli-win32-i686-3.2.0.tgz", + "integrity": "sha512-/84NEPeFQne2bQWfDZ+3EzioxFR8ojSwExCgVsyTfqa/4PzmaerAGUAxiD+VcJLJTyJEHAjWXTmSZGbYjIgdyQ==", + "cpu": [ + "x86", + "ia32" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-x64": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-x64/-/cli-win32-x64-3.2.0.tgz", + "integrity": "sha512-N9qGGT91awsh4IMyXrRHH+qIWmv9MJk9tPPAWPvLMWgdlTHT/40WYwvA4tYj80uZXU0TN8ppBWbd3ebDyOjwxA==", + "cpu": [ + "x64" + ], + "license": "FSL-1.1-MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@sentry/types": { - "version": "10.24.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-10.24.0.tgz", - "integrity": "sha512-hLcLS9mFVqZGbkVgkvnkFvwbqkxSv2vKI6zYNJ+3ZW6PWyS82KBEHgedwxtg2F6lCGWQHQxINKjp0GZYKxtRjg==", + "version": "10.38.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-10.38.0.tgz", + "integrity": "sha512-DoeyTv/TvnoVDhHgdyv/wehieAKdyjLjEMtPOqqq/AjkP02BxeC0JYUrrWKOjV0wdLq5ZP8jKcCX8GN7awZonQ==", "license": "MIT", "dependencies": { - "@sentry/core": "10.24.0" + "@sentry/core": "10.38.0" }, "engines": { "node": ">=18" @@ -17834,6 +18016,7 @@ }, "node_modules/agent-base": { "version": "6.0.2", + "dev": true, "license": "MIT", "dependencies": { "debug": "4" @@ -26506,6 +26689,7 @@ }, "node_modules/https-proxy-agent": { "version": "5.0.1", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "6", @@ -38127,9 +38311,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", "license": "MIT", "engines": { "node": ">=18.17" diff --git a/package.json b/package.json index d94fd3189405e..1574e6912aeb5 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "@react-navigation/stack": "7.3.3", "@react-ng/bounds-observer": "^0.2.1", "@rnmapbox/maps": "10.1.44", - "@sentry/react-native": "^7.6.0", + "@sentry/react-native": "8.0.0", "@shopify/flash-list": "2.2.0", "@shopify/react-native-skia": "^2.4.14", "@ua/react-native-airship": "~25.0.0", diff --git a/patches/sentry-browser/@sentry+browser+10.24.0+001+request-id-support.patch b/patches/sentry-browser/@sentry+browser+10.24.0+001+request-id-support.patch deleted file mode 100644 index 85725e4e067b0..0000000000000 --- a/patches/sentry-browser/@sentry+browser+10.24.0+001+request-id-support.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/node_modules/@sentry/browser/build/npm/esm/tracing/request.js b/node_modules/@sentry/browser/build/npm/esm/tracing/request.js -index da5822e..04f3c80 100644 ---- a/node_modules/@sentry/browser/build/npm/esm/tracing/request.js -+++ b/node_modules/@sentry/browser/build/npm/esm/tracing/request.js -@@ -225,6 +225,10 @@ function xhrCallback( - const span = spans[spanId]; - if (span && sentryXhrData.status_code !== undefined) { - setHttpStatus(span, sentryXhrData.status_code); -+ const requestId = handlerData.xhr.getResponseHeader('x-request-id'); -+ if (requestId) { -+ span.setAttribute('request-id', requestId) -+ } - span.end(); - - onRequestSpanEnd?.(span, { diff --git a/patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch b/patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch new file mode 100644 index 0000000000000..6292f8be32a53 --- /dev/null +++ b/patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch @@ -0,0 +1,60 @@ +diff --git a/node_modules/@sentry/browser/build/npm/esm/dev/tracing/request.js b/node_modules/@sentry/browser/build/npm/esm/dev/tracing/request.js +index da5822e..04f3c80 100644 +--- a/node_modules/@sentry/browser/build/npm/esm/dev/tracing/request.js ++++ b/node_modules/@sentry/browser/build/npm/esm/dev/tracing/request.js +@@ -225,6 +225,10 @@ function xhrCallback( + const span = spans[spanId]; + if (span && sentryXhrData.status_code !== undefined) { + setHttpStatus(span, sentryXhrData.status_code); ++ const requestId = handlerData.xhr.getResponseHeader('x-request-id'); ++ if (requestId) { ++ span.setAttribute('request-id', requestId) ++ } + span.end(); + + onRequestSpanEnd?.(span, { +diff --git a/node_modules/@sentry/browser/build/npm/esm/prod/tracing/request.js b/node_modules/@sentry/browser/build/npm/esm/prod/tracing/request.js +index da5822e..04f3c80 100644 +--- a/node_modules/@sentry/browser/build/npm/esm/prod/tracing/request.js ++++ b/node_modules/@sentry/browser/build/npm/esm/prod/tracing/request.js +@@ -225,6 +225,10 @@ function xhrCallback( + const span = spans[spanId]; + if (span && sentryXhrData.status_code !== undefined) { + setHttpStatus(span, sentryXhrData.status_code); ++ const requestId = handlerData.xhr.getResponseHeader('x-request-id'); ++ if (requestId) { ++ span.setAttribute('request-id', requestId) ++ } + span.end(); + + onRequestSpanEnd?.(span, { +diff --git a/node_modules/@sentry/browser/build/npm/cjs/dev/tracing/request.js b/node_modules/@sentry/browser/build/npm/cjs/dev/tracing/request.js +index da5822e..04f3c80 100644 +--- a/node_modules/@sentry/browser/build/npm/cjs/dev/tracing/request.js ++++ b/node_modules/@sentry/browser/build/npm/cjs/dev/tracing/request.js +@@ -227,6 +227,10 @@ function xhrCallback( + const span = spans[spanId]; + if (span && sentryXhrData.status_code !== undefined) { + core.setHttpStatus(span, sentryXhrData.status_code); ++ const requestId = handlerData.xhr.getResponseHeader('x-request-id'); ++ if (requestId) { ++ span.setAttribute('request-id', requestId) ++ } + span.end(); + + onRequestSpanEnd?.(span, { +diff --git a/node_modules/@sentry/browser/build/npm/cjs/prod/tracing/request.js b/node_modules/@sentry/browser/build/npm/cjs/prod/tracing/request.js +index da5822e..04f3c80 100644 +--- a/node_modules/@sentry/browser/build/npm/cjs/prod/tracing/request.js ++++ b/node_modules/@sentry/browser/build/npm/cjs/prod/tracing/request.js +@@ -227,6 +227,10 @@ function xhrCallback( + const span = spans[spanId]; + if (span && sentryXhrData.status_code !== undefined) { + core.setHttpStatus(span, sentryXhrData.status_code); ++ const requestId = handlerData.xhr.getResponseHeader('x-request-id'); ++ if (requestId) { ++ span.setAttribute('request-id', requestId) ++ } + span.end(); + + onRequestSpanEnd?.(span, { diff --git a/patches/sentry-core/@sentry+core+10.24.0+001+data-sentry-label-support.patch b/patches/sentry-core/@sentry+core+10.38.0+001+data-sentry-label-support.patch similarity index 100% rename from patches/sentry-core/@sentry+core+10.24.0+001+data-sentry-label-support.patch rename to patches/sentry-core/@sentry+core+10.38.0+001+data-sentry-label-support.patch diff --git a/patches/sentry-core/@sentry+core+10.24.0+002+request-id-support.patch b/patches/sentry-core/@sentry+core+10.38.0+002+request-id-support.patch similarity index 100% rename from patches/sentry-core/@sentry+core+10.24.0+002+request-id-support.patch rename to patches/sentry-core/@sentry+core+10.38.0+002+request-id-support.patch diff --git a/patches/sentry-react-native/@sentry+react-native+7.6.0.patch b/patches/sentry-react-native/@sentry+react-native+8.0.0.patch similarity index 100% rename from patches/sentry-react-native/@sentry+react-native+7.6.0.patch rename to patches/sentry-react-native/@sentry+react-native+8.0.0.patch diff --git a/src/setup/telemetry/index.ts b/src/setup/telemetry/index.ts index 9ba378fa781a8..e5e8badedbfb6 100644 --- a/src/setup/telemetry/index.ts +++ b/src/setup/telemetry/index.ts @@ -25,7 +25,7 @@ export default function (): void { tracesSampleRate: 1.0, // 1. Profiling for Android is currently disabled because it causes crashes sometimes. // 2. When updating the profile sample rate, make sure it will not blow up our current limit in Sentry. - profilesSampleRate: Platform.OS === 'android' ? 0 : 0.3, + profilesSampleRate: 0.3, enableAutoPerformanceTracing: true, enableUserInteractionTracing: true, integrations, From 4fa50ec3fa951a50b3d69fc064df9fd9236ed97a Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Tue, 3 Mar 2026 16:16:35 +0100 Subject: [PATCH 2/6] upgrade to v8.2.0 --- package-lock.json | 164 +++++++++--------- package.json | 2 +- ...wser+10.39.0+001+request-id-support.patch} | 0 ...patch => @sentry+react-native+8.2.0.patch} | 0 src/setup/telemetry/setupSentry.ts | 6 +- 5 files changed, 86 insertions(+), 86 deletions(-) rename patches/sentry-browser/{@sentry+browser+10.38.0+001+request-id-support.patch => @sentry+browser+10.39.0+001+request-id-support.patch} (100%) rename patches/sentry-react-native/{@sentry+react-native+8.0.0.patch => @sentry+react-native+8.2.0.patch} (100%) diff --git a/package-lock.json b/package-lock.json index 9bc2a14f1c398..e7cd1465a0be8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "@react-navigation/stack": "7.3.3", "@react-ng/bounds-observer": "^0.2.1", "@rnmapbox/maps": "10.1.44", - "@sentry/react-native": "8.0.0", + "@sentry/react-native": "8.2.0", "@shopify/flash-list": "2.2.0", "@shopify/react-native-skia": "^2.4.14", "@ua/react-native-airship": "~25.0.0", @@ -13632,50 +13632,50 @@ "license": "MIT" }, "node_modules/@sentry-internal/browser-utils": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-10.38.0.tgz", - "integrity": "sha512-UOJtYmdcxHCcV0NPfXFff/a95iXl/E0EhuQ1y0uE0BuZDMupWSF5t2BgC4HaE5Aw3RTjDF3XkSHWoIF6ohy7eA==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-10.39.0.tgz", + "integrity": "sha512-W6WODonMGiI13Az5P7jd/m2lj/JpIyuVKg7wE4X+YdlMehLspAv6I7gRE4OBSumS14ZjdaYDpD/lwtnBwKAzcA==", "license": "MIT", "dependencies": { - "@sentry/core": "10.38.0" + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/feedback": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-10.38.0.tgz", - "integrity": "sha512-JXneg9zRftyfy1Fyfc39bBlF/Qd8g4UDublFFkVvdc1S6JQPlK+P6q22DKz3Pc8w3ySby+xlIq/eTu9Pzqi4KA==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-10.39.0.tgz", + "integrity": "sha512-cRXmmDeOr5FzVsBNRLU4WDEuC3fhuD0XV362EWl4DI3XBGao8ukaueKcLIKic5WZx6uXimjWw/UJmDLgxeCqkg==", "license": "MIT", "dependencies": { - "@sentry/core": "10.38.0" + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/replay": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-10.38.0.tgz", - "integrity": "sha512-YWIkL6/dnaiQyFiZXJ/nN+NXGv/15z45ia86bE/TMq01CubX/DUOilgsFz0pk2v/pg3tp/U2MskLO9Hz0cnqeg==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-10.39.0.tgz", + "integrity": "sha512-obZoYOrUfxIYBHkmtPpItRdE38VuzF1VIxSgZ8Mbtq/9UvCWh+eOaVWU2stN/cVu1KYuYX0nQwBvdN28L6y/JA==", "license": "MIT", "dependencies": { - "@sentry-internal/browser-utils": "10.38.0", - "@sentry/core": "10.38.0" + "@sentry-internal/browser-utils": "10.39.0", + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" } }, "node_modules/@sentry-internal/replay-canvas": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-10.38.0.tgz", - "integrity": "sha512-OXWM9jEqNYh4VTvrMu7v+z1anz+QKQ/fZXIZdsO7JTT2lGNZe58UUMeoq386M+Saxen8F9SUH7yTORy/8KI5qw==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-10.39.0.tgz", + "integrity": "sha512-TTiX0XWCcqTqFGJjEZYObk93j/sJmXcqPzcu0cN2mIkKnnaHDY3w74SHZCshKqIr0AOQdt1HDNa36s3TCdt0Jw==", "license": "MIT", "dependencies": { - "@sentry-internal/replay": "10.38.0", - "@sentry/core": "10.38.0" + "@sentry-internal/replay": "10.39.0", + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" @@ -13692,16 +13692,16 @@ } }, "node_modules/@sentry/browser": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-10.38.0.tgz", - "integrity": "sha512-3phzp1YX4wcQr9mocGWKbjv0jwtuoDBv7+Y6Yfrys/kwyaL84mDLjjQhRf4gL5SX7JdYkhBp4WaiNlR0UC4kTA==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-10.39.0.tgz", + "integrity": "sha512-I50W/1PDJWyqgNrGufGhBYCmmO3Bb159nx2Ut2bKoVveTfgH/hLEtDyW0kHo8Fu454mW+ukyXfU4L4s+kB9aaw==", "license": "MIT", "dependencies": { - "@sentry-internal/browser-utils": "10.38.0", - "@sentry-internal/feedback": "10.38.0", - "@sentry-internal/replay": "10.38.0", - "@sentry-internal/replay-canvas": "10.38.0", - "@sentry/core": "10.38.0" + "@sentry-internal/browser-utils": "10.39.0", + "@sentry-internal/feedback": "10.39.0", + "@sentry-internal/replay": "10.39.0", + "@sentry-internal/replay-canvas": "10.39.0", + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" @@ -13990,22 +13990,22 @@ } }, "node_modules/@sentry/core": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.38.0.tgz", - "integrity": "sha512-1pubWDZE5y5HZEPMAZERP4fVl2NH3Ihp1A+vMoVkb3Qc66Diqj1WierAnStlZP7tCx0TBa0dK85GTW/ZFYyB9g==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-10.39.0.tgz", + "integrity": "sha512-xCLip2mBwCdRrvXHtVEULX0NffUTYZZBhEUGht0WFL+GNdNQ7gmBOGOczhZlrf2hgFFtDO0fs1xiP9bqq5orEQ==", "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/@sentry/react": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry/react/-/react-10.38.0.tgz", - "integrity": "sha512-3UiKo6QsqTyPGUt0XWRY9KLaxc/cs6Kz4vlldBSOXEL6qPDL/EfpwNJT61osRo81VFWu8pKu7ZY2bvLPryrnBQ==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry/react/-/react-10.39.0.tgz", + "integrity": "sha512-qxReWHFhDcXNGEyAlYzhR7+K70es+vXaSknTZui1q7TfQwCT1rZlLKn/K8GDpNsb35RC5QhiIphU6pKbyYgZqw==", "license": "MIT", "dependencies": { - "@sentry/browser": "10.38.0", - "@sentry/core": "10.38.0" + "@sentry/browser": "10.39.0", + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" @@ -14015,17 +14015,17 @@ } }, "node_modules/@sentry/react-native": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@sentry/react-native/-/react-native-8.0.0.tgz", - "integrity": "sha512-u+aXkL3Vw4gwIldIk5C0UI6ZwED/ct4FwoEU2UuIlrNmtKJffoE7I1oRnHA6AmVuq9ZvvdzOh/AhXb242HfTsg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@sentry/react-native/-/react-native-8.2.0.tgz", + "integrity": "sha512-hcYakN9AzEHdaPHYQEHhTAneTqyqJm/MZ6Wb8+UGnXIaCnMjZCTRpu17GvQMBC4qh3lafyF3OwiO16SUDHYJhQ==", "license": "MIT", "dependencies": { "@sentry/babel-plugin-component-annotate": "4.9.1", - "@sentry/browser": "10.38.0", - "@sentry/cli": "3.2.0", - "@sentry/core": "10.38.0", - "@sentry/react": "10.38.0", - "@sentry/types": "10.38.0" + "@sentry/browser": "10.39.0", + "@sentry/cli": "3.2.2", + "@sentry/core": "10.39.0", + "@sentry/react": "10.39.0", + "@sentry/types": "10.39.0" }, "bin": { "sentry-expo-upload-sourcemaps": "scripts/expo-upload-sourcemaps.js" @@ -14051,9 +14051,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-3.2.0.tgz", - "integrity": "sha512-YLv/xgttSc8sRhK2xBoxmLS+yQlCW154ey2cXFsFe+yY73lXvQ9nZ7BkHmSc+YUl8y5CKHL+8edQLYV8O8PQMA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-3.2.2.tgz", + "integrity": "sha512-qmjsm9+Bq/3QGTnIfOsJdhq+8LI3imxAPbGNBpRj4R0YFk+b1ry9huRHCLgkMcRFWtPkJmGZwEq2Z7e+02QPLA==", "hasInstallScript": true, "license": "FSL-1.1-MIT", "dependencies": { @@ -14069,20 +14069,20 @@ "node": ">= 18" }, "optionalDependencies": { - "@sentry/cli-darwin": "3.2.0", - "@sentry/cli-linux-arm": "3.2.0", - "@sentry/cli-linux-arm64": "3.2.0", - "@sentry/cli-linux-i686": "3.2.0", - "@sentry/cli-linux-x64": "3.2.0", - "@sentry/cli-win32-arm64": "3.2.0", - "@sentry/cli-win32-i686": "3.2.0", - "@sentry/cli-win32-x64": "3.2.0" + "@sentry/cli-darwin": "3.2.2", + "@sentry/cli-linux-arm": "3.2.2", + "@sentry/cli-linux-arm64": "3.2.2", + "@sentry/cli-linux-i686": "3.2.2", + "@sentry/cli-linux-x64": "3.2.2", + "@sentry/cli-win32-arm64": "3.2.2", + "@sentry/cli-win32-i686": "3.2.2", + "@sentry/cli-win32-x64": "3.2.2" } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-darwin": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-darwin/-/cli-darwin-3.2.0.tgz", - "integrity": "sha512-2If2h0P/X9K0UrwlpZYKnxBmIFfa957lAHGe5VmN64v8nEHk8dxcrX+NS9nX9H75eccLGzGMcYk0Zt0KQgQJ3g==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-darwin/-/cli-darwin-3.2.2.tgz", + "integrity": "sha512-y1uglMBbo9dYqC92hTQBkuGk7SegLPo1cVwJzX0dhplJoBMuanLMhOMYd1J20qhkDdBhguflCHGf0tOzNTGWhg==", "license": "FSL-1.1-MIT", "optional": true, "os": [ @@ -14093,9 +14093,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-arm": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm/-/cli-linux-arm-3.2.0.tgz", - "integrity": "sha512-NVcGcS9mceivVhi8W6iEnlcK96OlPMzOdM6xkIm+7+J0uXHgUyMyc+rT6p2QG3j8jI5I7qAl7fTHWluSX2lx3g==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm/-/cli-linux-arm-3.2.2.tgz", + "integrity": "sha512-CC7N3hjOgs3cwrW0T9hqirFVUpKO6ASjdd0JT4DQHaAn34pruv8J+OoSnj1jkrT2DHxDkNNZPOFSK05AnHr8wA==", "cpu": [ "arm" ], @@ -14111,9 +14111,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-arm64": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm64/-/cli-linux-arm64-3.2.0.tgz", - "integrity": "sha512-YFpYIfYpXYzpSrIspmPOOPjXbxWp/Ve+F2hSIQb1tSKmcxFgaUm6WfuniYF8EIaLNa8YOLECf0xo78yGXBa+ug==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm64/-/cli-linux-arm64-3.2.2.tgz", + "integrity": "sha512-SIGJknEQNDw9S/8QPTl8QLVe2IEiTKH3NeeHQ/Q2XWXig1ZebJfm4iTrdu47ypszIfxHeLvQkkVrr8mRKq16xA==", "cpu": [ "arm64" ], @@ -14129,9 +14129,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-i686": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-linux-i686/-/cli-linux-i686-3.2.0.tgz", - "integrity": "sha512-6SOxlF37NqRRKxEuvWryBM7MAgTisq0G6ZQzhI2iuWbcrmlLUDUW2Yssz3gAR01eYJ4jfpqvojSzPRDwqB0K+Q==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-i686/-/cli-linux-i686-3.2.2.tgz", + "integrity": "sha512-W2hQ2DvIlZI05j2JN/87lfeo51F24zmQOJU6Uz+fZz/mkSvpnjeWxjAvfDNVGlLxp7XSoDbhHfrLBxdIh6jMeg==", "cpu": [ "x86", "ia32" @@ -14148,9 +14148,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-linux-x64": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-linux-x64/-/cli-linux-x64-3.2.0.tgz", - "integrity": "sha512-7LRd0A74ma/1ejlTRPOoBiFiJr4LWkoE6CnA2XwAoYd0r62WUjGHtg6gIC+yElOCwtxXP7I9fOiV2BJIAq2DHw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-linux-x64/-/cli-linux-x64-3.2.2.tgz", + "integrity": "sha512-4mh3yvOUxO63lq3teexRvalD1mWaRVjpgL2cCMKA2wkB69lcL5nK2gkdzDUKx2y/elluVdvGPPZaqOr1bfNI0w==", "cpu": [ "x64" ], @@ -14166,9 +14166,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-arm64": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-win32-arm64/-/cli-win32-arm64-3.2.0.tgz", - "integrity": "sha512-uKRi/++gnGepsaGi4goIcC13YGNEHgOUcROkz4L3H8vAR7QxWv2SHy7SCN+2S6c+Q2mOd0DfY35cMW5MzTpb7g==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-arm64/-/cli-win32-arm64-3.2.2.tgz", + "integrity": "sha512-TQgfkdJgd8Y/lPzDibqc5Hamg8Hl5rN1sZwX80n4r9Ly46Yzu8Bv6KUhoNL/ktAvw9Aeko6Bx54rwZnzxFZHwg==", "cpu": [ "arm64" ], @@ -14182,9 +14182,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-i686": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-win32-i686/-/cli-win32-i686-3.2.0.tgz", - "integrity": "sha512-/84NEPeFQne2bQWfDZ+3EzioxFR8ojSwExCgVsyTfqa/4PzmaerAGUAxiD+VcJLJTyJEHAjWXTmSZGbYjIgdyQ==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-i686/-/cli-win32-i686-3.2.2.tgz", + "integrity": "sha512-vAcnq0SdYuvwIdREgF5APocjW3d9Z17xLwugpaAz8wpOjCeC1iMEFWqbz5k49i4iDkDVNFRMENiVvWVSu1kEnA==", "cpu": [ "x86", "ia32" @@ -14199,9 +14199,9 @@ } }, "node_modules/@sentry/react-native/node_modules/@sentry/cli-win32-x64": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sentry/cli-win32-x64/-/cli-win32-x64-3.2.0.tgz", - "integrity": "sha512-N9qGGT91awsh4IMyXrRHH+qIWmv9MJk9tPPAWPvLMWgdlTHT/40WYwvA4tYj80uZXU0TN8ppBWbd3ebDyOjwxA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sentry/cli-win32-x64/-/cli-win32-x64-3.2.2.tgz", + "integrity": "sha512-xWPTXjSSdmoyG/0ee7A9KSfsScGHCdaXMP6ASt4bMx3yYJO7ziEoZzfJE2M6oglz+woAm0LV9+O/n7g80tixlQ==", "cpu": [ "x64" ], @@ -14215,12 +14215,12 @@ } }, "node_modules/@sentry/types": { - "version": "10.38.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-10.38.0.tgz", - "integrity": "sha512-DoeyTv/TvnoVDhHgdyv/wehieAKdyjLjEMtPOqqq/AjkP02BxeC0JYUrrWKOjV0wdLq5ZP8jKcCX8GN7awZonQ==", + "version": "10.39.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-10.39.0.tgz", + "integrity": "sha512-tRPFcjnBoljGYCNXql3aJBCLcHreoqXYv3SMr6bpFGY7JIP5HryXuESkEiDI8r3yggeb3TOCjqJ9GaixzEc71g==", "license": "MIT", "dependencies": { - "@sentry/core": "10.38.0" + "@sentry/core": "10.39.0" }, "engines": { "node": ">=18" diff --git a/package.json b/package.json index dacdf6a7305e8..89eb8b08bfae8 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,7 @@ "@react-navigation/stack": "7.3.3", "@react-ng/bounds-observer": "^0.2.1", "@rnmapbox/maps": "10.1.44", - "@sentry/react-native": "8.0.0", + "@sentry/react-native": "8.2.0", "@shopify/flash-list": "2.2.0", "@shopify/react-native-skia": "^2.4.14", "@ua/react-native-airship": "~25.0.0", diff --git a/patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch b/patches/sentry-browser/@sentry+browser+10.39.0+001+request-id-support.patch similarity index 100% rename from patches/sentry-browser/@sentry+browser+10.38.0+001+request-id-support.patch rename to patches/sentry-browser/@sentry+browser+10.39.0+001+request-id-support.patch diff --git a/patches/sentry-react-native/@sentry+react-native+8.0.0.patch b/patches/sentry-react-native/@sentry+react-native+8.2.0.patch similarity index 100% rename from patches/sentry-react-native/@sentry+react-native+8.0.0.patch rename to patches/sentry-react-native/@sentry+react-native+8.2.0.patch diff --git a/src/setup/telemetry/setupSentry.ts b/src/setup/telemetry/setupSentry.ts index ba9b3582d8c6a..e02fa2fbbbde6 100644 --- a/src/setup/telemetry/setupSentry.ts +++ b/src/setup/telemetry/setupSentry.ts @@ -11,9 +11,9 @@ import makeDebugTransport from './debugTransport'; function setupSentry(): void { // With Sentry enabled in dev mode, profiling on iOS and Android does not work // If you want to enable Sentry in dev, set ENABLE_SENTRY_ON_DEV=true in .env - if (isDevelopment() && !CONFIG.ENABLE_SENTRY_ON_DEV) { - return; - } + // if (isDevelopment() && !CONFIG.ENABLE_SENTRY_ON_DEV) { + // return; + // } const integrations = [navigationIntegration, tracingIntegration, browserProfilingIntegration, breadcrumbsIntegration, consoleIntegration].filter((integration) => !!integration); From 3a45c2aaa5d04587dea3a128bbba62215aec8190 Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Tue, 3 Mar 2026 16:17:01 +0100 Subject: [PATCH 3/6] revert isDevelopment --- src/setup/telemetry/setupSentry.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/setup/telemetry/setupSentry.ts b/src/setup/telemetry/setupSentry.ts index e02fa2fbbbde6..ba9b3582d8c6a 100644 --- a/src/setup/telemetry/setupSentry.ts +++ b/src/setup/telemetry/setupSentry.ts @@ -11,9 +11,9 @@ import makeDebugTransport from './debugTransport'; function setupSentry(): void { // With Sentry enabled in dev mode, profiling on iOS and Android does not work // If you want to enable Sentry in dev, set ENABLE_SENTRY_ON_DEV=true in .env - // if (isDevelopment() && !CONFIG.ENABLE_SENTRY_ON_DEV) { - // return; - // } + if (isDevelopment() && !CONFIG.ENABLE_SENTRY_ON_DEV) { + return; + } const integrations = [navigationIntegration, tracingIntegration, browserProfilingIntegration, breadcrumbsIntegration, consoleIntegration].filter((integration) => !!integration); From 5c04667d35d69f7d93f5acdc29e58786a3e7f45b Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Tue, 3 Mar 2026 16:25:05 +0100 Subject: [PATCH 4/6] update details.md --- patches/sentry-browser/details.md | 2 +- patches/sentry-core/details.md | 4 ++-- patches/sentry-react-native/details.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/sentry-browser/details.md b/patches/sentry-browser/details.md index 947ee51897804..195a99eeea929 100644 --- a/patches/sentry-browser/details.md +++ b/patches/sentry-browser/details.md @@ -1,6 +1,6 @@ # `@sentry/browser` patches -### [@sentry+browser+10.24.0+001+request-id-support.patch](@sentry+browser+10.24.0+001+request-id-support.patch) +### [@sentry+browser+10.39.0+001+request-id-support.patch](@sentry+browser+10.39.0+001+request-id-support.patch) Reason: improve developer experience by adding `request-id` to spans related to API calls. This takes request-id from response headers and write it to the span related to that response. With that information it is easier to connect backend request / logs with data retrieved from Sentry. - Upstream PR/issue: N/A diff --git a/patches/sentry-core/details.md b/patches/sentry-core/details.md index c347d312581d2..0b0487919a7b1 100644 --- a/patches/sentry-core/details.md +++ b/patches/sentry-core/details.md @@ -1,6 +1,6 @@ # `@sentry/core` patches -### [@sentry+core+10.24.0+001+data-sentry-label-support.patch](@sentry+core+10.24.0+001+data-sentry-label-support.patch) +### [@sentry+core+10.38.0+001+data-sentry-label-support.patch](@sentry+core+10.38.0+001+data-sentry-label-support.patch) - Reason: Enhances the `htmlTreeAsString` function to support `data-sentry-label` attributes for better element identification in Sentry spans. The patch: - Always includes `data-sentry-label` in the list of checked attributes for each DOM element @@ -12,7 +12,7 @@ - E/App issue: https://github.com/Expensify/App/issues/76128 - PR Introducing Patch: https://github.com/Expensify/App/pull/76547 -### [@sentry+core+10.24.0+002+request-id-support.patch](@sentry+core+10.24.0+002+request-id-support.patch) +### [@sentry+core+10.38.0+002+request-id-support.patch](@sentry+core+10.38.0+002+request-id-support.patch) Reason: improve developer experience by adding `request-id` to spans related to API calls. This takes request-id from response headers and write it to the span related to that response. With that information it is easier to connect backend request / logs with data retrieved from Sentry. - Upstream PR/issue: N/A diff --git a/patches/sentry-react-native/details.md b/patches/sentry-react-native/details.md index a1e52719d9f74..db6ad67262341 100644 --- a/patches/sentry-react-native/details.md +++ b/patches/sentry-react-native/details.md @@ -1,6 +1,6 @@ # `@sentry/react-native` patches -### [@sentry+react-native+7.6.0.patch](@sentry+react-native+7.6.0.patch) +### [@sentry+react-native+8.2.0.patch](@sentry+react-native+8.2.0.patch) - Reason: Fixes React Native path resolution in the Sentry Ruby script during iOS builds. The original implementation failed to locate `react-native/package.json` in our hybrid app setup. The patch changes the resolution strategy to first try resolving from the installation root (similar to react-native-svg and react-native-reanimated), and falls back to ENV variables with support for both node_modules conventions. - Upstream PR/issue: N/A (specific to our hybrid app environment) From 56fba3580cc18beb49e0250625ad3ec8b624eb31 Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Wed, 4 Mar 2026 11:10:13 +0100 Subject: [PATCH 5/6] rename patches --- ... @sentry+core+10.39.0+001+data-sentry-label-support.patch} | 0 ...atch => @sentry+core+10.39.0+002+request-id-support.patch} | 0 patches/sentry-core/details.md | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename patches/sentry-core/{@sentry+core+10.38.0+001+data-sentry-label-support.patch => @sentry+core+10.39.0+001+data-sentry-label-support.patch} (100%) rename patches/sentry-core/{@sentry+core+10.38.0+002+request-id-support.patch => @sentry+core+10.39.0+002+request-id-support.patch} (100%) diff --git a/patches/sentry-core/@sentry+core+10.38.0+001+data-sentry-label-support.patch b/patches/sentry-core/@sentry+core+10.39.0+001+data-sentry-label-support.patch similarity index 100% rename from patches/sentry-core/@sentry+core+10.38.0+001+data-sentry-label-support.patch rename to patches/sentry-core/@sentry+core+10.39.0+001+data-sentry-label-support.patch diff --git a/patches/sentry-core/@sentry+core+10.38.0+002+request-id-support.patch b/patches/sentry-core/@sentry+core+10.39.0+002+request-id-support.patch similarity index 100% rename from patches/sentry-core/@sentry+core+10.38.0+002+request-id-support.patch rename to patches/sentry-core/@sentry+core+10.39.0+002+request-id-support.patch diff --git a/patches/sentry-core/details.md b/patches/sentry-core/details.md index 0b0487919a7b1..f3eabd5381569 100644 --- a/patches/sentry-core/details.md +++ b/patches/sentry-core/details.md @@ -1,6 +1,6 @@ # `@sentry/core` patches -### [@sentry+core+10.38.0+001+data-sentry-label-support.patch](@sentry+core+10.38.0+001+data-sentry-label-support.patch) +### [@sentry+core+10.39.0+001+data-sentry-label-support.patch](@sentry+core+10.39.0+001+data-sentry-label-support.patch) - Reason: Enhances the `htmlTreeAsString` function to support `data-sentry-label` attributes for better element identification in Sentry spans. The patch: - Always includes `data-sentry-label` in the list of checked attributes for each DOM element @@ -12,7 +12,7 @@ - E/App issue: https://github.com/Expensify/App/issues/76128 - PR Introducing Patch: https://github.com/Expensify/App/pull/76547 -### [@sentry+core+10.38.0+002+request-id-support.patch](@sentry+core+10.38.0+002+request-id-support.patch) +### [@sentry+core+10.39.0+002+request-id-support.patch](@sentry+core+10.39.0+002+request-id-support.patch) Reason: improve developer experience by adding `request-id` to spans related to API calls. This takes request-id from response headers and write it to the span related to that response. With that information it is easier to connect backend request / logs with data retrieved from Sentry. - Upstream PR/issue: N/A From 94e64cf9eaa9eecac76ba55982941ac5eb19cc55 Mon Sep 17 00:00:00 2001 From: eliran goshen Date: Wed, 4 Mar 2026 11:18:40 +0100 Subject: [PATCH 6/6] podfile upgrade --- ios/Podfile.lock | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 59ef8f14fe9f0..bce2bb922ad22 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -481,6 +481,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -506,6 +507,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -530,6 +532,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -556,6 +559,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -581,6 +585,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -606,6 +611,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -631,6 +637,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -656,6 +663,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -681,6 +689,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -706,6 +715,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -731,6 +741,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -756,6 +767,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -781,6 +793,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -806,6 +819,7 @@ PODS: - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-rendererconsistency - React-runtimeexecutor - React-runtimescheduler - React-utils @@ -3781,7 +3795,7 @@ PODS: - ReactCommon/turbomodule/core - SocketRocket - Yoga - - RNSentry (7.6.0): + - RNSentry (8.2.0): - boost - DoubleConversion - fast_float @@ -3808,7 +3822,7 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - Sentry/HybridSDK (= 8.57.2) + - Sentry (= 9.5.1) - SocketRocket - Yoga - RNShare (11.0.2): @@ -3996,7 +4010,9 @@ PODS: - SDWebImageWebPCoder (0.14.6): - libwebp (~> 1.0) - SDWebImage/Core (~> 5.17) - - Sentry/HybridSDK (8.57.2) + - Sentry (9.5.1): + - Sentry/Core (= 9.5.1) + - Sentry/Core (9.5.1) - SocketRocket (0.7.1) - SwiftUIIntrospect (1.3.0) - Turf (2.8.0) @@ -4495,7 +4511,7 @@ SPEC CHECKSUMS: AirshipServiceExtension: 50d11b2f62c4a490d4e81a1c36f70e2ecb70a27e AppAuth: d4f13a8fe0baf391b2108511793e4b479691fb73 AppLogs: 3bc4e9b141dbf265b9464409caaa40416a9ee0e0 - boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 + boost: 659a89341ea4ab3df8259733813b52f26d8be9a5 DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb EXConstants: fd688cef4e401dcf798a021cfb5d87c890c30ba3 EXImageLoader: 4d3d3284141f1a45006cc4d0844061c182daf7ee @@ -4559,7 +4575,7 @@ SPEC CHECKSUMS: React: 2073376f47c71b7e9a0af7535986a77522ce1049 React-callinvoker: 751b6f2c83347a0486391c3f266f291f0f53b27e React-Codegen: 4b8b4817cea7a54b83851d4c1f91f79aa73de30a - React-Core: dff5d29973349b11dd6631c9498456d75f846d5e + React-Core: aeebd9b37ac383279f610f1e53f66b9931686a41 React-CoreModules: c0ae04452e4c5d30e06f8e94692a49107657f537 React-cxxreact: 376fd672c95dfb64ad5cc246e6a1e9edb78dec4c React-debug: d4955c86870792887ed695df6ebf0e94e39dc7e1 @@ -4609,7 +4625,7 @@ SPEC CHECKSUMS: react-native-webview: cdce419e8022d0ef6f07db21890631258e7a9e6e React-NativeModulesApple: 8c7eb6057b00c191a11ad5ced41826ec5a0e4d78 React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d - React-perflogger: 5536d2df3d18fe0920263466f7b46a56351c0510 + React-perflogger: e7dcbfcb796d346be7936b75740c3e27a4bb3977 React-performancetimeline: c6c9393c1a0453a51e1852e3531defe60790b36c React-RCTActionSheet: 42195ae666e6d79b4af2346770f765b7c29435b9 React-RCTAnimation: fa103ccc3503b1ed8dedca7e62e7823937748843 @@ -4624,7 +4640,7 @@ SPEC CHECKSUMS: React-RCTSettings: 71f5c7fd7b5f4e725a4e2114a4b4373d0e46048f React-RCTText: b94d4699b49285bee22b8ebf768924d607eccee3 React-RCTVibration: 6e3993c4f6c36a3899059f9a9ead560ddaf5a7d7 - React-rendererconsistency: 612d0f6603d9837bb1236d7fd5194203b35c8799 + React-rendererconsistency: bef28690433e2b4bb00c2f884b22b86e61a430f2 React-renderercss: e5c2c3b84976f7a587cde8423c671db07a6a77da React-rendererdebug: cc7a6131733605b8897754f72c0c35c79f77da9e React-RuntimeApple: 3f96102fc1ebf738d36719cdce5422a5769293fb @@ -4655,7 +4671,7 @@ SPEC CHECKSUMS: RNReactNativeHapticFeedback: 5f1542065f0b24c9252bd8cf3e83bc9c548182e4 RNReanimated: e79d7f42b76ba026e7dc5fb3e3f81991c590d3af RNScreens: 4f2aed147a2775017923789d8a0a2d377712ec2e - RNSentry: 4832a7acd1fe48982149f585e1802f4d9fc7b00a + RNSentry: f73f4da92e4c20841ab16e1fa22fc289bc2f9f4e RNShare: 1c1fde2c4134b9cf220ffebbd6df9c414036d382 RNSVG: 94a1be05fab4043354bcf7104f0f9b0e2231ef05 RNWorklets: 5dd32e6d649594b9a938cdd75673dffb2266e119 @@ -4663,7 +4679,7 @@ SPEC CHECKSUMS: SDWebImageAVIFCoder: afe194a084e851f70228e4be35ef651df0fc5c57 SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c SDWebImageWebPCoder: e38c0a70396191361d60c092933e22c20d5b1380 - Sentry: 83a3814c3ca042874b39c5c5bdffb6570d4d760e + Sentry: 7475eb7bf6a41d7505f46341706015ad2d1766b9 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 SwiftUIIntrospect: fee9aa07293ee280373a591e1824e8ddc869ba5d Turf: aa2ede4298009639d10db36aba1a7ebaad072a5e