feat!: upgrade React Native and Nitro - #150
Merged
Merged
Conversation
Regenerate native bindings and adapt Swift fragment handling to immutable generated structs.
Upgrade the example and native toolchain to React Native 0.87.1, regenerate bindings with Nitrogen 0.37.1, and migrate custom view props to the immutable ReactProp API. BREAKING CHANGE: react-native-nitro-modules ^0.37.1 is now required.
Regenerate the Nitro 0.37 bindings against the HTML-free spec to resolve the generated-file conflicts.
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.
Description
Upgrades the library and example to React Native 0.87.1, React 19.2.3, Nitro Modules 0.37.1, and Nitrogen 0.37.1. Regenerates the Nitro view bindings, migrates the custom component descriptor and ReactProp reads to the Nitro 0.37 APIs, and aligns the Android, iOS, Jest, TypeScript, and CI toolchains.
React Native 0.87 adds textAlign start and end plus the wavy text decoration style. NitroText does not implement those native values yet, so this change rejects them with explicit TypeErrors instead of using unsafe casts.
Type of Change
Testing
Validated with 160 Jest tests, TypeScript checking, ESLint, Prettier, the package build, Android assembleDebug for all configured ABIs, and an iOS Debug simulator build.
Checklist
Additional Notes
BREAKING CHANGE: react-native-nitro-modules version 0.37.1 or newer within the 0.37 release line is now required.
React Native 0.87 is New Architecture only, so obsolete old-architecture CI matrix coverage was removed. A JavaScript validation workflow now gates tests, type checking, lint, formatting, and package builds.