Skip to content

react-native: improve integration and prepare 0.2.3-rc - #399

Merged
melekr merged 5 commits into
mainfrom
release/0.2.3-rc
Sep 29, 2026
Merged

melekr merged 5 commits into
mainfrom
release/0.2.3-rc

Conversation

@melekr

@melekr melekr commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Improve React Native error handling, client disposal, and package consumption for customer RC testing.

react-native: contain reporting failures and restore owned handlers

  • Reporting failures cannot replace application errors.

react-native, sdk-core: preserve client lifecycle across disposal and reinitialization

Disposal restores handlers only while Backtrace owns them, preserves replacement clients, and remains retry-able when custom cleanup fails.

react-native, sdk-core, browser, node, session-replay: prepare and verify release candidate packages

  • Generate the agent version without runtime package.json imports, declare promise and pretty-format dependencies, and build during npm pack.
  • Prepare @backtrace/react-native@0.2.3-rc.0 with an exact dependency on @backtrace/sdk-core@0.8.4-rc.0. Both use the rc publication tag.
  • Update sibling dependency ranges and build-hook callers to preserve workspace compatibility.
    Add regression tests, artifact verification, CI checks, and release/source-map documentation.

ref: BT-7796, BT-7797, BT-7798

- Observe asynchronous submission failures, prevent recursive reporting, and preserve application error-handler delegation.
- Restore handlers only while owned, release disposed client references, and safely format arbitrary promise rejections.
… reinitialization

- Make React Native disposal idempotent while allowing cleanup retries. Only clear the core singleton when disposing its current instance.
- Cover replacement clients, failed cleanup, and rotated breadcrumb contents in submitted reports.
…rify release candidate packages

- Prepare react-native 0.2.3-rc.0 with exact sdk-core 0.8.4-rc.0.
- Generate build-safe agent versions, declare runtime dependencies, and build both packages during npm pack.
- Keep sibling workspace dependencies and release scripts compatible.
- Add artifact verification, CI checks, and integration documentation.
@melekr
melekr requested a review from KishanPRao September 29, 2026 17:22
@melekr
melekr merged commit b565868 into main Sep 29, 2026
12 checks passed
@melekr
melekr deleted the release/0.2.3-rc branch September 29, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants