From b538c26955b277bc3f6c399b088ea01249ab7044 Mon Sep 17 00:00:00 2001 From: Antonis Lilis <antonis.lilis@gmail.com> Date: Thu, 17 Apr 2025 18:28:22 +0300 Subject: [PATCH 1/3] Export extraErrorDataIntegration --- packages/core/src/js/integrations/exports.ts | 1 + samples/react-native/src/App.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/src/js/integrations/exports.ts b/packages/core/src/js/integrations/exports.ts index b889ec3716..e87a88c615 100644 --- a/packages/core/src/js/integrations/exports.ts +++ b/packages/core/src/js/integrations/exports.ts @@ -34,4 +34,5 @@ export { inboundFiltersIntegration, linkedErrorsIntegration as browserLinkedErrorsIntegration, rewriteFramesIntegration, + extraErrorDataIntegration, } from '@sentry/react'; diff --git a/samples/react-native/src/App.tsx b/samples/react-native/src/App.tsx index 0e18f9071b..46a489952a 100644 --- a/samples/react-native/src/App.tsx +++ b/samples/react-native/src/App.tsx @@ -126,6 +126,7 @@ Sentry.init({ }, namePlaceholder: 'Fullname', }), + Sentry.extraErrorDataIntegration(), ); return integrations.filter(i => i.name !== 'Dedupe'); }, From f753052e62e03488a73f28dcde7835c1b22fc54f Mon Sep 17 00:00:00 2001 From: Antonis Lilis <antonis.lilis@gmail.com> Date: Fri, 18 Apr 2025 15:32:49 +0300 Subject: [PATCH 2/3] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 758bd7ea20..6c629add47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Prevent crash on iOS during profiling stop when debug images are missing ([#4738](https://github.com/getsentry/sentry-react-native/pull/4738)) - Attach only App Starts within the 60s threshold (fixed comparison units, use ms) ([#4746](https://github.com/getsentry/sentry-react-native/pull/4746)) - Add missing `popTimeToDisplayFor` in to the Android Old Arch Native interface([#4751](https://github.com/getsentry/sentry-react-native/pull/4751)) +- Export `extraErrorDataIntegration` from `@sentry/core` ([#4762](https://github.com/getsentry/sentry-react-native/pull/4762)) ### Dependencies From 7fa28f8422f52c72df577934bb667aa1268cf759 Mon Sep 17 00:00:00 2001 From: Antonis Lilis <antonis.lilis@gmail.com> Date: Wed, 23 Apr 2025 11:46:21 +0300 Subject: [PATCH 3/3] Fix changelog --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b15ddaaf1b..860b376d0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ > make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first. <!-- prettier-ignore-end --> +## Unreleased + +### Fixes + +- Export `extraErrorDataIntegration` from `@sentry/core` ([#4762](https://github.com/getsentry/sentry-react-native/pull/4762)) + ## 6.11.0 ### Features @@ -38,7 +44,6 @@ - Prevent crash on iOS during profiling stop when debug images are missing ([#4738](https://github.com/getsentry/sentry-react-native/pull/4738)) - Attach only App Starts within the 60s threshold (fixed comparison units, use ms) ([#4746](https://github.com/getsentry/sentry-react-native/pull/4746)) - Add missing `popTimeToDisplayFor` in to the Android Old Arch Native interface([#4751](https://github.com/getsentry/sentry-react-native/pull/4751)) -- Export `extraErrorDataIntegration` from `@sentry/core` ([#4762](https://github.com/getsentry/sentry-react-native/pull/4762)) ### Changes