GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace deprecated `_INTERNAL_flushLogsBuffer` with `flushLogsBuffer` · Issue #7108 · getsentry/sentry-react-native

Replace deprecated _INTERNAL_flushLogsBuffer with flushLogsBuffer #7108

New issue
Copy link
New issue
Copy link
Backlog
Backlog
Replace deprecated _INTERNAL_flushLogsBuffer with flushLogsBuffer#7108
Copy link
Labels
Next MajorReact-NativeTask

Description

@antonis
antonis
opened on Nov 25, 2026
Issue body actions

Context

@sentry/core is dropping its _INTERNAL_-prefixed exports (getsentry/sentry-javascript#26744). _INTERNAL_flushLogsBuffer is renamed to flushLogsBuffer. The old name stays as a deprecated alias for now because React Native still uses it. The alias can't be removed until we switch.

This is the only _INTERNAL_ export from @sentry/core that the RN SDK uses.

⚠️ This will be implemented in the next major.

Usages

  • packages/core/src/js/client.ts: called on the client's flush event and from the idle timer after afterCaptureLog, when enableLogs is on.
  • packages/core/test/client.test.ts: three tests use jest.spyOn(SentryCore, '_INTERNAL_flushLogsBuffer'). The export name is a string here, so the type checker won't catch it. Rename these by hand.

Tasks

  • Bump @sentry/core to a release that exports flushLogsBuffer (ref(core): Drop unused internal exports and rename log/metric capture helpers sentry-javascript#26744 merged and released).
  • Replace _INTERNAL_flushLogsBuffer with flushLogsBuffer in client.ts and the test spies.
  • Tell the JS SDK team the alias is no longer used by RN, so it can be removed.

Notes

  • Users won't see any change, and no changelog entry is needed. We can make the switch as soon as the new name is released, before the next major if that's convenient. It is tracked for the next major because the JS SDK can only drop the alias after we switch.
  • Related: Remove deprecated APIs in the next major #6969

Activity

  1. antonis
    added
    React-Native
    Task
    Next Major
    on Nov 25, 2026
  2. linear-code commented on Nov 25, 2026

    @linear-code
    linear-codeBot
    on Nov 25, 2026 – with Linear Code
    More actions

    RN-888

  3. antonis
    changed the title [-]Next major: replace deprecated `_INTERNAL_flushLogsBuffer` with `flushLogsBuffer`[/-] [+]Replace deprecated `_INTERNAL_flushLogsBuffer` with `flushLogsBuffer`[/+] on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Next MajorReact-NativeTask

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.