Skip to content

feat!: upgrade React Native and Nitro - #150

Merged
patrickkabwe merged 3 commits into
mainfrom
chore/upgrade-rn-0.87-nitro-0.37
Sep 17, 2026
Merged

patrickkabwe merged 3 commits into
mainfrom
chore/upgrade-rn-0.87-nitro-0.37

Conversation

@patrickkabwe

Copy link
Copy Markdown
Owner

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

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other

Testing

  • Tested on iOS
  • Tested on Android
  • Added/updated tests

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

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (not needed)
  • No breaking changes (clearly documented below)

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.

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.
@patrickkabwe
patrickkabwe merged commit 497a69c into main Sep 17, 2026
3 checks passed
@patrickkabwe
patrickkabwe deleted the chore/upgrade-rn-0.87-nitro-0.37 branch September 17, 2026 22:26
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.

1 participant