Skip to content

v11.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@chrispader chrispader released this 02 Dec 11:29
9952b1d

NitroSQLite 11.0.0-alpha.1 is the first alpha of 11.0.0, that runs fully on Nitro V1 and now also support NitroUI. This is an alpha, so APIs and requirements can still change before 11.0.0 is stable. Please report any issues you find.

Install it from the alpha tag. In React Native apps:

npm install --save-exact react-native-nitro-sqlite@alpha react-native-nitro-modules@1.0.0-alpha.nightly.138.g43e09c161101

In NitroUI apps:

npm install --save-exact nitro-sqlite@alpha

Install the companion packages you use from alpha too, such as react-native-nitro-sqlite-vec@alpha or nitro-sqlite-drizzle@alpha. Use --save-exact (--exact for Yarn and Bun) for every alpha package. Without it, npm saves ^11.0.0-alpha.1, and that range also matches the older 11.0.0-nitro-v1.x builds.

The stable 10.x line stays on the latest tag, so installing without a tag still gives you 10.x.

Nitro V1

NitroSQLite now uses Nitro V1. In our benchmarks against 10.4.0, large reads and asynchronous batch writes are faster on iOS and Android, and other operations perform within 3% of 10.4.0.

NitroUI

NitroUI apps can now use NitroSQLite without React Native. The new nitro-sqlite package registers the same SQLite engine and TypeScript API with NitroUI on iOS and Android. It reads the same NitroSQLite_* Info.plist keys as the React Native package.

nitro-sqlite-vec, nitro-sqlite-drizzle, nitro-sqlite-kysely, nitro-sqlite-mikro-orm and nitro-sqlite-typeorm are the NitroUI versions of the React Native integration packages. They use the same ORM and Drizzle sources. The examples/nitro-ui app runs the same tests and benchmarks as the React Native example.

See Install on NitroUI to set it up.

Requirements

11.0.0 raises the minimum versions. For React Native:

  • React Native 0.88 or newer with the New Architecture, which also needs Node 22.13 or newer and Android minSdk 24.
  • Expo SDK 58, if you use Expo.
  • react-native-nitro-modules 1.0.0-alpha.nightly.138.g43e09c161101. The generated bindings must match this exact version.
  • On iOS, a deployment target of iOS 16.0 or later, Swift Package Manager instead of CocoaPods, and Xcode with Swift 6.4 or newer.

For NitroUI, use NitroUI SDK 0.2.0 with Nitro Core 1.0.0-alpha.nightly.137.gd4793c40b8b8, and on iOS a deployment target of iOS 16.0 or later and Xcode with Swift 6.4 or newer.

macOS and visionOS

11.0.0 doesn't support macOS (react-native-macos) or visionOS for now, because of incompatibilities with Nitro V1. I'm working on it. Apps on those platforms should stay on NitroSQLite 10.x.

Breaking changes

SQLiteError replaces NitroSQLiteError, and thrown errors now have the name SQLiteError. The old export still refers to the same class. Several exported types have shorter names, such as Connection and NativeQueryResult, and the old names remain as deprecated aliases. Native helper headers drop their NitroSQLite prefix, so NitroSQLiteOperations.hpp becomes SQLiteOperations.hpp.

The Android bindings moved to the com.margelo.nitro.nitrosqlite package. Autolinking handles this, but native code that calls RNNitroSQLiteOnLoad.initializeNative() directly needs the new package. On iOS, the NitroSQLite_DatabaseLocation and NitroSQLite_AppGroup Info.plist keys take precedence, and the RNNitroSQLite_* keys keep working when the new keys are absent.

Trying the alpha

  1. Upgrade your app to React Native 0.88 or newer, or to Expo SDK 58.
  2. Install react-native-nitro-sqlite@alpha, the companion packages you use from alpha, and react-native-nitro-modules@1.0.0-alpha.nightly.138.g43e09c161101, all with exact versions.
  3. On iOS, set the deployment target to 16.0 or later and switch your app to Swift Package Manager. Expo apps opt in with "experiments": { "swiftPackageManager": true } in the app config, then run prebuild.
  4. If your code checks error.name === 'NitroSQLiteError', check for 'SQLiteError' or use instanceof SQLiteError.
  5. Rebuild your app.

iOS setup · Expo setup · Nitro V1 migration guide


11.0.0-alpha.1 (2026-12-02)

🐛 Bug Fixes

  • add repository metadata to nitro-sqlite and check it before publishing (#635) (605c5d9)
  • keep prerelease channels separate in the release plan (#636) (f8c809c)