Skip to content

v0.1.0

Choose a tag to compare

@hannojg hannojg released this 01 Dec 17:05
· 59 commits to main since this release
a28093d

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": false in app.json to 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
    • restore gesture recognizer arrays (#839)
    • read a view's frame in its window (#795)
    • add justify text alignment to Text (#817)
  • 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
    • stop waiting for the first frame when launching on Android (#754)
    • pass the dev server when launching Debug builds (#753)
    • reuse the running Activity when Android launches the app again (#755)
  • Dev
    • remember a server passed at launch, except for test runs (#752)
  • Example
    • read Appearance.getColorScheme() on tap instead of during render (#791)
  • Renderer
    • iOS list showing first blank frames (#816)
    • animate only the properties an animation changes on Android (#812)

Performance

  • Dev
    • reuse the Android reload overlay between reloads (#719)
    • skip the refresh glow for fast hot updates (#718)
  • 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
    • restore create-nitro-ui package name (#819)
    • rename create-nitro-ui to create-nitro-app (#818)

Full changelog