From ca2c0153f35060e4761431f52c97385ec221ce79 Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Tue, 26 Nov 2024 12:02:08 +0100 Subject: [PATCH 1/2] fix(cocoapods): Add missing `React-RCTFabric` dependency --- CHANGELOG.md | 2 +- packages/core/RNSentry.podspec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99da2ce40..d1b09d2a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ ### Features -- Add Replay Custom Masking for iOS, Android and Web ([#4224](https://github.com/getsentry/sentry-react-native/pull/4224), [#4265](https://github.com/getsentry/sentry-react-native/pull/4265), [#4272](https://github.com/getsentry/sentry-react-native/pull/4272)) +- Add Replay Custom Masking for iOS, Android and Web ([#4224](https://github.com/getsentry/sentry-react-native/pull/4224), [#4265](https://github.com/getsentry/sentry-react-native/pull/4265), [#4272](https://github.com/getsentry/sentry-react-native/pull/4272), [#4314](https://github.com/getsentry/sentry-react-native/pull/4314)) ```jsx import * as Sentry from '@sentry/react-native'; diff --git a/packages/core/RNSentry.podspec b/packages/core/RNSentry.podspec index 07c81023a..d3b9a95f2 100644 --- a/packages/core/RNSentry.podspec +++ b/packages/core/RNSentry.podspec @@ -52,6 +52,7 @@ Pod::Spec.new do |s| "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" } + s.dependency "React-RCTFabric" # Required for Fabric Components (like RCTViewComponentView) s.dependency "React-Codegen" s.dependency "RCT-Folly" s.dependency "RCTRequired" From 90374bf8c3225cf8df788ab3cab45967f1239d37 Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Tue, 26 Nov 2024 14:36:10 +0100 Subject: [PATCH 2/2] fix(exports): Return --- CHANGELOG.md | 6 ++++++ packages/core/src/js/index.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac352d28a..9c63492c6 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. +## Unreleased + +### Fixes + +- Return `lastEventId` export from `@sentry/core` ([#4315](https://github.com/getsentry/sentry-react-native/pull/4315)) + ## 6.4.0-beta.1 ### Features diff --git a/packages/core/src/js/index.ts b/packages/core/src/js/index.ts index b52131fbd..f62a8624e 100644 --- a/packages/core/src/js/index.ts +++ b/packages/core/src/js/index.ts @@ -41,6 +41,7 @@ export { setCurrentClient, addEventProcessor, metricsDefault as metrics, + lastEventId, } from '@sentry/core'; export {