Repository navigation
Open
Labels
Description
Description
Several APIs and options are still exported after one or more majors, some with JSDoc that says "will be removed in the next major version". Remove them in the next major.
Items that already have their own issue are listed for reference only.
To remove (no dedicated issue)
-
initialScopeoption (options.ts). UseSentry.getGlobalScope().setTag(...)/setUser(...)instead. -
ReactNativeClient.captureUserFeedback(client.ts). UseSentry.captureFeedbackinstead. Also update the remaining test TODO intest/client.test.ts. -
ignoredDisplayNamesprop onTouchEventBoundary(touchevents.tsx). UseignoreNamesinstead. -
useThreadsForMessageStackoption (options.ts). UsebeforeSendinstead. -
bufferSizeonReactNativeTransportOptions(options.ts). Use the rootmaxQueueSizeoption instead. -
instrumentLangGraphre-export (index.ts). UseinstrumentStateGraphinstead. -
startTimeToInitialDisplaySpan/startTimeToFullDisplaySpan(tracing/timetodisplay.tsx). Use the<TimeToInitialDisplay>/<TimeToFullDisplay>components instead. - Internal
captureAppStart(tracing/integrations/appStart.ts). UseSentry.appLoaded()instead.
Tracked separately
- Remove
_experimentsreplay options compat shim in v9 #5882:_experiments.replaysSessionSampleRate/replaysOnErrorSampleRate - Remove deprecated
_experiments.androidProfilingOptionsin v9 #6681:_experiments.androidProfilingOptions - Remove deprecated
enableExperimentalViewRendererreplay option in v9 #6680:enableExperimentalViewRenderer - Remove deprecated FeedbackWidget API aliases #5932:
FeedbackWidget*aliases - Feedback: Remove FAB #5896:
FeedbackButton,showFeedbackButton,hideFeedbackButton - [TimeToDisplay] Remove the deprecated
recordprop #6143: TTID/TTFDrecordprop - Remove deprecated
sendDefaultPiiin next major #6001:sendDefaultPii
Follow-up
- Remove the related
// TODO: No longer an experiment on major version.notes intest/sdk.test.ts. - Document each removal in the v8 → v9 migration guide (Write sentry-react-native v8 --> v9 migration guide incl. upgrade-assistance agent prompt #6735).
- Consider a check that flags
@deprecatedAPIs older than one major, so this list doesn't build up again.
Activity
linear-code commentedon Oct 29, 2026
RN-841