Skip to content

Remove deprecated APIs in the next major #6969

Open

Description

@antonis

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)

  • initialScope option (options.ts). Use Sentry.getGlobalScope().setTag(...) / setUser(...) instead.
  • ReactNativeClient.captureUserFeedback (client.ts). Use Sentry.captureFeedback instead. Also update the remaining test TODO in test/client.test.ts.
  • ignoredDisplayNames prop on TouchEventBoundary (touchevents.tsx). Use ignoreNames instead.
  • useThreadsForMessageStack option (options.ts). Use beforeSend instead.
  • bufferSize on ReactNativeTransportOptions (options.ts). Use the root maxQueueSize option instead.
  • instrumentLangGraph re-export (index.ts). Use instrumentStateGraph instead.
  • startTimeToInitialDisplaySpan / startTimeToFullDisplaySpan (tracing/timetodisplay.tsx). Use the <TimeToInitialDisplay> / <TimeToFullDisplay> components instead.
  • Internal captureAppStart (tracing/integrations/appStart.ts). Use Sentry.appLoaded() instead.

Tracked separately

Follow-up

Activity

  1. linear-code commented on Oct 29, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions