feat: Upgrade Nitro to 0.37 for View improvements - #4164
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mrousavy
commented
Aug 20, 2026
`*` in peerDependencies does not match prereleases, so bun could not dedupe the peer onto the hoisted 0.37.0-beta.0 and installed a second copy at 0.36.5 under each package. That auto-installed peer state also broke `bun install --frozen-lockfile` in CI - the lockfile round-trips byte-identically, so regenerating it never helped. Pin it via a root override for now.
Regenerates specs with nitrogen 0.37.0-beta.1, which migrates the View prop types from `CachedProp` to `ReactProp`. beta.1 also re-adds legacy `CachedProp` as deprecated, so `react-native-nitro-image@0.15.1` - whose generated code still uses `CachedProp::isDirty`/`::value` - compiles again. That was what broke Build Android on beta.0.
Superseded by #4165 - marking the peer dependency optional stops the package manager from resolving a second, stable Nitro next to the pre-release, so the root override is no longer needed. Verified from a clean node_modules: exactly one Nitro copy (0.37.0-beta.1) and `bun install --frozen-lockfile` passes.
mrousavy
force-pushed
the
feat/upgrade-nitro-view-improvements
branch
from
August 20, 2026 16:44
aca972e to
d2b7108
Compare
Nitro 0.37.0 and nitrogen 0.37.0 are now stable; nitrogen's generated output is identical to 0.37.0-beta.1, so no spec changes were needed. Nitro Image 0.15.2 is regenerated with nitrogen 0.37.0 (no more deprecated `CachedProp`) and marks its `react-native-nitro-modules` peer dependency as optional.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.