Skip to content

chore(core): Bump react-native and metro devDependencies to 0.86.0#6316

Merged
antonis merged 7 commits into
mainfrom
antonis/bump-core-rn-devdep-0.86.0
Jun 23, 2026
Merged

chore(core): Bump react-native and metro devDependencies to 0.86.0#6316
antonis merged 7 commits into
mainfrom
antonis/bump-core-rn-devdep-0.86.0

Merge branch 'main' into antonis/bump-core-rn-devdep-0.86.0

ddf10f8
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed Jun 22, 2026 in 0s

1 issue

find-bugs: Found 1 issue (1 medium)

Medium

Fallback from `hot` to `dev` skips debug ID injection for all Metro 0.84+ dev builds, not just HMR - `packages/core/src/js/tools/sentryMetroSerializer.ts:60`

On Metro 0.84+ (where hot is absent from transformOptions), the ternary falls back to graph.transformOptions.dev, which is true for any development build—not just hot-reload sessions. This causes debug ID injection to be silently skipped for command-line dev bundles (react-native bundle --dev true) when using Metro 0.84+.


⏱ 6m 42s · 1.1M in / 52.5k out · $1.87

Annotations

Check warning on line 60 in packages/core/src/js/tools/sentryMetroSerializer.ts

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: find-bugs

Fallback from `hot` to `dev` skips debug ID injection for all Metro 0.84+ dev builds, not just HMR

On Metro 0.84+ (where `hot` is absent from `transformOptions`), the ternary falls back to `graph.transformOptions.dev`, which is `true` for any development build—not just hot-reload sessions. This causes debug ID injection to be silently skipped for command-line dev bundles (`react-native bundle --dev true`) when using Metro 0.84+.