Repository navigation
Releases
v0.2.1
v0.2.0
Stack screens now support native modal sheets on iOS and Android through presentation: 'modal'. Use sheetAllowedDetents, sheetInitialDetentIndex, sheetGrabberVisible, and sheetCornerRadius to configure the sheet. Modal options
New apps get the redesigned starter with bunx create-nitro-ui@0.2.0 MyApp. To upgrade an existing app, update its NitroUI SDK packages together to 0.2.0 and rebuild the native app.
Features
- Core
- add Linking.openURL (#847)
- Create-nitro-ui
- redesign the default starter app (#585)
- Navigation
- Renderer
Fixes
- Create-nitro-ui
- pass the docs button its tap recognizer (#851)
- Release
- omit chore commits from release notes (#849)
Documentation
- General
- Keyboard
- document
useKeyboardInset(#823)
- document
Other changes
- Dev
- show the Android dev menu in Material's BottomSheetDialog (#709)
v0.1.0
NitroUI 0.1.0 is the first stable release. NitroUI renders React to native iOS and Android views and runs app code on Hermes.
Start a new app with bunx create-nitro-ui@0.1.0 MyApp. For an existing NitroUI app, update its nitro-ui-* dependencies and any shared SDK packages it uses to 0.1.0, then rebuild the native app. Installation guide
Upgrading from an alpha
- Android now lays out content edge to edge by default. Apply
useSafeAreaInsets()where your app needs padding around system bars. Android change - The React Compiler runs on app code by default. Set
"reactCompiler": falseinapp.jsonto opt out. React Compiler change - Pass an array to
gestureRecognizers. Tap, pan, and long-press callbacks receive(recognizer, view). Gesture API change - Apps using the former
react-nitro-*packages need to switch dependencies and migrate their iOS and Android hosts to native project revision 2. Native project upgrade guide
Features
- Android
- enable edge-to-edge by default (#825)
- Bundler
- run the React Compiler by default (#792)
- CLI
- add a React Native migration skill (#828)
- Renderer
- Runtime
- apply a module's android/nitro-ui.gradle before build.gradle (#840)
Fixes
- Bundler
- show syntax errors with their location when the React Compiler is on (#830)
- CLI
- Dev
- remember a server passed at launch, except for test runs (#752)
- Example
- read Appearance.getColorScheme() on tap instead of during render (#791)
- Renderer
Performance
- Dev
- Renderer
- skip unchanged box shadows and image filters (#842)
- Runtime
- download Android reload scripts before closing the old runtime (#720)
Documentation
- General
- switch the logo to the lowercase nitroUI wordmark (#832)
- Performance
- explain how to profile iOS list hitches (#820)
- Skills
- guide agents through missing NitroUI APIs (#821)
Other changes
- Starter
v0.0.1-alpha.19
Upgrading from React Nitro
React Nitro is now NitroUI. Most SDK packages now use the nitro-ui-* prefix. Networking, MMKV, FFI generation, and Hermes use nitro-networking, nitro-mmkv, nitro-ffigen, and nitro-hermes. New apps start with bunx create-nitro-ui.
Existing apps need native project revision 2 on iOS and Android. After switching package names, run bun run nitro-ui upgrade --json to see the migration for your project. Native project upgrade guide · Rename PR
v0.0.1-alpha.18
Features
- Android
- support x86-64 Linux build hosts (#699)
- Layout
- support percentages for sizes and spacing (#701)
- Navigation
- handle Android system Back on the focused screen (#690)
- Networking
- stream response bodies (#725)
- Renderer
- control ScrollView inset adjustment on iOS (#783)
- show or hide ScrollView scroll indicators (#782)
- tint images with style.tintColor (#779)
- rotate views with setRotation and style.rotate (#786)
- position list anchors within the viewport (#688)
- anchor lists by item identity (#644)
- warn on slow list cell binds in development (#758)
- expose the docked keyboard inset (#639)
- make HybridImage public on iOS (#612)
Fixes
- Layout
- keep the full height of Starlight scroll view content (#693)
- Networking
- read Android bodies eagerly and decode declared charsets (#751)
- Runtime
- stop the Android splash screen from covering the dev launcher (#712)
Performance
- Hermes
- build Hermes with -O2 in Debug (#717)
- Navigation
- update Android tab items in place (#694)
- Networking
- read iOS fetch bodies in chunks from a data task (#696)
- Renderer
- Runtime
- load the Android runtime library in the background (#695)
Other changes
v0.0.1-alpha.17
Upgrading from alpha.16
- If your app uses
react-nitro-mmkv, importMMKVand replacecreateMMKV()withnew MMKV(). For a named store, pass the same ID tonew MMKV({ id })to keep reading the existing data. Rebuild the native app after upgrading.
Features
- Bundler
- support native WebP image imports (#648)
- Docs
- add a landing page at the site root (#597)
- Harness
- add react-nitro-harness and react-nitro test (#680)
- Layout
- support native view aspect ratios (#681)
- Release
- group release notes by area (#675)
- Renderer
- Runtime
- Storage
- open MMKV stores with a native constructor (#677)
Fixes
- Bundler
- preserve initializers behind namespace re-exports (#676)
- Layout
- exclude unshipped Lynx files from the Starlight package (#684)
- Release
- wait for npm before creating the GitHub release (#658)
- Renderer
- track iOS image requests per view (#682)
Other changes
- Harness
- port MMKV and nitro-fetch tests to the example app (#685)
- Release
v0.0.1-alpha.16
Upgrading from alpha.15
- The CLI now installs
react-nitro-layout-starlightand uses Lynx Starlight by default. To keep Yoga, addreact-nitro-layout-yoga@0.0.1-alpha.16as a direct app dependency and set"layoutEngine": "react-nitro-layout-yoga"inapp.json. Removereact-nitro-yogaif you installed it directly. Both providers use the newreact-nitro-layoutpackage. After updating your React Nitro packages, runbunx react-nitro prepareand rebuild the native app. - Custom native views now expose
layoutNodePtrin place ofyogaNodePtr. Renderer extensions can usegetViewLayoutNode(view)in place ofgetViewYogaNode(view). Rebuild custom modules against the updated view spec. - On Android,
NitroActivitynow extendsAppCompatActivity. If your existing app still uses the platform theme from the old starter, update the parent ofReactNitroThemeinandroid/app/src/main/res/values/styles.xmland any night-mode override toTheme.Material3.DayNight.NoActionBar. Apps with a compatible AppCompat theme can keep it.
Features
- Android
- use AppCompatActivity and a Material 3 theme (#601)
- Example
- follow dark mode in the example app colors (#603)
- Layout
- support Starlight and Yoga as build-time providers (#623)
- Navigation
- allow hiding the native stack header (#636)
- Networking
- send HTTP methods and request bodies (#625)
- Renderer
- Runtime
Fixes
- Dev
- drop the unused react-nitro-runtime types from the tsconfig (#607)
- Navigation
- Renderer
- Runtime
- accept nullable Gradle extra property type (#632)