Changelog
What changes for app authors in each release. One version covers everything: the npm packages (@zeronative/*),
the Android libraries (io.github.zero-native:*) and the Swift packages.
0.1.1 (2026-12-03)
Section titled “0.1.1 (2026-12-03)”- More React Native style keys and List events, from porting an RN chat app (registry 25):
borderTopColorandborderBottomColor; on<Text>,textShadowColor,textShadowOffset,textShadowRadiusandfontVariant("tabular-nums"and others);onStartReachedon<List>, to page newer rows back into a chat that keeps a window of rows. A bundle that uses them needs an app built with 0.1.1; an older app keeps its own bundle.
Changed
Section titled “Changed”- A new app follows the phone’s light or dark setting, as a new React Native app does (A107).
zn newmakes the Android window theme with a night variant, leavesUIUserInterfaceStyleout of the iOSInfo.plist, and the template’s screens draw their colours and status bar icons withscheme(). Existing apps don’t change. An app with light screens only: keepUIUserInterfaceStyleLight on iOS and a light AppTheme on Android.
- A
<List>row that isn’t drawn yet is blank during a fast scroll. A row component that returns another component (TextRowreturning<Line>) had no row type, so the list drew the file’s first template (often a whole screen) in its place until the row was built; on iOS it also kept those, so memory grew with every new row. - iOS: a
<List>whose rows change no longer grows in memory. UIKit’s cell prefetching left a hidden cell behind each time a row was added above one it had prepared (each new message in a chat), with its content, and never reused it: about 0.4 MB a message and rising CPU in the chat port, and once a list of blank rows. Prefetching is off; JS mounts rows ahead itself and images are loaded ahead. The chat port at rest: 60 → 64 MB over two minutes. - An absolute child of a padded
<Stack>is placed from the padding box (inside the border), as in React Native.end: -6in a bubble withpaddingHorizontal: 11now sits 6 dp past the bubble’s edge; before, the insets counted from inside the padding, so it landed 5 dp inside. A Stack with no padding doesn’t change. insets().bottomis 0 while a docked keyboard is up, so a composer or bottom bar padded with it sits on the keyboard (as React Native’s KeyboardStickyView), instead of the navigation bar’s or home indicator’s height above it.- A
<Sheet>whosebackgroundColorchanges at runtime (scheme(), a signal) paints its whole surface in that colour, the handle’s row and the room under the content too, on Android and iOS. Before, only the content did: a white strip on top of every dark-mode sheet. const s = StyleSheet.create({...})at the top of a file no longer crashes the screen at start (ReferenceError: Property 'StyleSheet' doesn't exist), the form the styling guide shows (G1).- A style value imported from a
.tsxfile now fails the build with a clear message: it names the import and says to move it to a.tsfile, which the compiler reads at build time (G2). onEndReachedfires again after the user leaves the end of a<List>and comes back, also when the row count is the same (G0), on Android and iOS. A chat that keeps a fixed window of rows (a page in, a page out) got stuck at the top.- Android:
keyboardDismissMode="interactive"does no keyboard work on a drag when no field has focus (G6). Before, every drag asked the keyboard to show and hide. - A gesture’s
onSettlecomes only when its spring got to the anchor (A136, as React Native Animated’sfinished: false). A ♥ tapped while a flicked card flies out no longer counts a skip. - Android: a rotated
TextFieldtakes taps across its own box (A132). The part drawn past its box still doesn’t. - Android: a
<Sheet>moves up with the keyboard (A139), so a field in it stays above the keyboard; it slides back down when the keyboard closes. A full-height sheet can’t go higher, so its bottom part can still sit under the keyboard. - Android: a growing field keeps its whole box above the keyboard (A138), as on iOS: typing at the end of a
composer low in a
<Scroll>or aListkeeps its bottom edge and the Send button beside it in view, not only the line being typed. - Android: a hardware Enter on a form’s last field closes the keyboard (A129), as the on-screen Next key does, instead of jumping back to an earlier field.
- Android: a new app in dark mode shows no light frame as it starts (A107): the template’s host colour behind the first screen follows the phone.
zn <command> --help(and-h,zn help <command>) prints that command’s flags for everyzn-updatescommand andzn build, instead of a stack trace. An unknown flag prints one line and the command’s help.zn statusshows each channel’s priority (normal too) and which bundles are marked for delete.- A new app’s
bun run ios --device <name>boots that simulator when it isn’t running, and says so when the name is wrong, instead of failing insimctl install.
0.1.0 (2026-11-29)
Section titled “0.1.0 (2026-11-29)”The first release. Pre-1.0: APIs can still change.
What you get
Section titled “What you get”- Screens in TSX, compiled to binary templates and Hermes bytecode, drawn by Jetpack Compose on Android and SwiftUI / UIKit on iOS. Signals update only what changed; there is no React and no virtual DOM at runtime. Core concepts.
- Components (
@zeronative/ui):Column,Row,Stack,Box,Scroll,Text,Pressable,TextField,OtpInput,Image,Icon,Svg,Canvas,Switch,Checkbox,Spinner,Progress,Shimmer,Tabs,Sheet,Modal,Carousel,StatusBar,NativeView, and React Native names such asView,FlatListandTouchableOpacity.Alertandtoastcome from@zeronative/core. A style key that isn’t supported fails the build. Components, Styling and layout. - Navigation: typed routes, push, modal and fade transitions, bottom tabs, deep links, back handling, and screens restored after the OS kills the app. Navigation.
- Lists:
<List>(or<FlatList>) is virtualized, with row kinds, grids, inverted lists, sticky headers, pull-to-refresh, drag to reorder and scroll commands. Lists. - Motion and gestures on the UI thread, with no JS per frame:
animate,enterandexit;useMotion,derive(),usePanand the other gestures,animateLayoutandsharedTag. On both OSes. Motion and gestures. - Data:
fetch(OkHttp on Android, URLSession on iOS: timeouts,FormData, progress),WebSocket,storageandpersistedSignal(MMKV),SecureStore(Android Keystore, iOS Keychain), andFlowStorefor a multi-step flow that must survive the app being killed. Data and networking. - OTA updates: signed bundles and channel pointers (ECDSA P-256, with a backup key), and a phone only takes a
bundle it can run. Rollback, kill switch, staged rollout, bsdiff patches, a launch gate for critical updates, and
an update check started by a silent push.
zn-updatesis the self-hosted server: Bun, Postgres, a folder or Google Cloud Storage, and a web dashboard. OTA updates. - Plugins (20): scanner, document scanner, PDF, WebView, image viewer, Lottie, Markdown (JS only), location,
media, notifications, device info, app updates, Android Play auth, Android ad id (Android only), and Firebase: app,
Crashlytics, Analytics, Messaging, Remote Config and Performance. On iOS, the Firebase plugins and Lottie are Swift
packages of their own (
zero-native-firebase,zero-native-lottie), so an app downloads only the SDKs it uses. Plugins. - The
zncommand (@zeronative/cli, runs on Bun 1.3+):zn newmakes an app with an Android and an iOS host;zn devlive-reloads to an Android phone, the iOS simulator, and with--lanan iPhone on the same Wi-Fi;zn buildbuilds the JS bundle;zn release,zn store-build,zn statusand the other commands drivezn-updates. Getting started, tools/README.md. - Android 7.0 (API 24) and later; iOS 17.0 and later. Android is the reference. iOS has every feature in the parity table; what still differs is listed in Platform differences. Building needs AGP 9.2, Kotlin 2.4, compileSdk 37 and Java 21 for Android, and Xcode 26 for iOS.
Known issues
Section titled “Known issues”- iOS: a server close right at connect can be lost on an iPhone. JS gets
close1006 instead of the server’s code and reason, and the messages sent with it are dropped. A socket that is already open is not affected. Turn a bad token away in the handshake (HTTP 401) instead. 0.1.0 keepsURLSessionWebSocketTask. fetch.md §8. zn otaandzn serverneed a zero-native checkout. From npm they stop and say so;bunx @zeronative/cli newworks from npm. tools/README.md.- iOS: a field at the very end of a
<Scroll>(nothing under it) can stay under the keyboard on iOS 17 and on an iPhone with iOS 18.7, because the Scroll can’t scroll past its end. Put some room under such a field, or pin it under a List. To fix in 0.1.1. Platform differences. - Android: a
Sheetdoesn’t rise with the keyboard, so a text field in it can be hidden behind the keyboard (A139). A growing multiline field low in a<Scroll>or aListkeeps its line being typed in view, but its bottom edge and a Send button beside it can sit just under the keyboard (A138). A field pinned under a List or in aModalis not affected. - Android: a link span that wraps onto a second line inside a tappable row also takes the taps on the row’s words around it (A137).
- iOS: checked on the simulator only, not yet on an iPhone: secure screens under a real screenshot or recording, and motion cost on a 120 Hz screen. A real background launch, an OTA rollback and a 200 MB upload passed on an iPhone 11 on 2026-11-29. Platform differences §3.