Skip to content

NitroSQLite 10.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Oct 14:02
680c305

NitroSQLite 10.1.0 adds opt-in SQLite SEE encryption support and a Node.js mock backed by better-sqlite3. We've improved repeated batch execution and query-result conversion, upgraded bundled SQLite to 3.53.4, and enabled RTree indexes by default. This release includes the connection ownership fix shipped in 10.0.1, along with the newer changes on main.

Encryption and Node.js testing

You can now pass an encryption key when opening a database built with the licensed SQLite Encryption Extension. SEE source is not bundled with NitroSQLite; enabling it requires your licensed source and a native rebuild. See the encryption guide for setup and key handling. #410

The new react-native-nitro-sqlite/mock entry point runs against better-sqlite3 in Node.js. It supports independent connections, prepared statements, transactions, and batches for tests that need a real SQLite engine. Install better-sqlite3 separately when using the mock. #395, #420

Query performance and SQLite support

Grouped batch parameters reuse a prepared statement for repeated executions of the same SQL. Query results also avoid an extra native row copy during conversion to JavaScript. #387, #389

Bundled SQLite is now 3.53.4, and its symbols are isolated from other SQLite engines linked into the same app. RTree is enabled by default for spatial and range indexes. See the queries and indexes guide. #392, #390, #425

Reliability and upgrading

Connections close with the NitroSQLite owner that opened them, so replacing a runtime can reopen the same database. We've also improved transaction cleanup and error reporting, restored undefined parameters as SQL NULL, preserved embedded NUL bytes in text results, and corrected column metadata types. Android temporary files now use the app cache. The changelog below links each fix.

Update both packages to 10.1.0 if you use sqlite-vec, install Pods again on Apple platforms, and rebuild your native app. SQLite 3.53 changes floating-point-to-text conversion from 15 to 17 significant digits, so check code that depends on exact SQL text formatting. The TypeORM dependency is now 1.1.1. #426

The documentation website now includes guides and a generated API reference.


10.1.0 (2026-10-01)

✨ Features

  • add better-sqlite3 Node mock (#395) (8331394)
  • add opt-in SQLite SEE encryption support (#410) (f7cdfd5)
  • extend Node mock with connections and statements (#420) (b934d7b)

💨 Performance Improvements

  • convert positional query results without native row copies (#389) (bc43ba0)
  • example: make SQLite benchmarks reproducible (#412) (e92e176)
  • example: sample process memory in benchmarks (#414) (4508c9b)
  • reuse prepared statements for grouped batch parameters (#387) (234bf34)

🐛 Bug Fixes

  • android: use app cache for SQLite temporary files (#406) (3c0e78d)
  • bundle Android release from example app (#385) (8dc98a1)
  • correct SQLite column metadata types (#313) (35185bc), closes #305
  • docs: space API symbol actions below headings (#416) (fb0f5bd)
  • enable SQLite RTree by default (#425) (d51cd54)
  • include parameter context in SQLite binding errors (#314) (2cc28d5), closes #309
  • isolate bundled SQLite symbols from other engines (#390) (604f040)
  • locate hoisted Hermes compiler for Android release (#388) (faffcf4)
  • preserve embedded NUL bytes in SQLite text results (#386) (bfddf53)
  • preserve loadFile transaction errors (#315) (b393c5f), closes #308
  • restore undefined SQL query parameters (#382) (4c3a2c9)
  • roll back failed transaction commits (#316) (46b6e7d), closes #307
  • scope database connections to their NitroSQLite owner (#421) (6dd1049)
  • use example entry for Android release bundle (#384) (0528831)

🏗️ Project configuration and build flow

  • align Dependabot labels with repository taxonomy (#396) (d315290)
  • deps: align React Native Harness at 1.5.0 (#362) (3dfe21e)
  • deps: bump actions/setup-java from 5 to 6 (#322) (a1eca3f)
  • deps: bump actions/setup-node from 6 to 7 (#296) (ee112cf)
  • deps: bump actions/setup-node from 6 to 7 (#417) (b02ceb2)
  • deps: upgrade bundled SQLite to 3.53.4 (#392) (6904792)
  • deps: upgrade TypeORM to 1.1.1 (#426) (9dae708)
  • guard Babel and Expo status bar major updates (#422) (fb11218)
  • limit Dependabot updates for RN toolchain (#405) (d3f07c0)
  • point to correct socials (#268) (4e4535d)
  • prepare 10.1.0 release (#431) (680c305)

📚 Documentation

  • add NitroSQLite documentation website (#358) (00c5c4a)
  • guide AI agents to NitroSQLite skill (#366) (739363e)