npm / @op-engineering/op-sqlite
@op-engineering/op-sqlite
What changed in @op-engineering/op-sqlite 6 to 19, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
9 breaking2 security20 new APIs and options5 performance7 behavior and defaults1 tooling21 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@op-engineering/op-sqlite 196 changes
Breaking changes 1
The Node package is built for Node's own ESM loader, affecting how developers can load it in Node.js.
New APIs and options 3
Adds swiftpmConfig.name for React Native SwiftPM autolinking.
Error codes are now exposed to developers.
Synchronous batch execution was added.
Behavior and default changes 1
The connection's worker thread is joined on close instead of at garbage collection.
Fixes and other changes 1
Rollback behavior for execute batch was improved.
@op-engineering/op-sqlite 1813 changes
Breaking changes 1
crsqlite has been removed.
Security 1
Fixes a use-after-free in the commit hook callback.
New APIs and options 3
Adds support for using op-sqlite on watchOS.
Prepared statements now provide executeSync.
Storage database names can now be customized.
Performance 1
Skips redundant sqlite3_clear_bindings and long long disambiguation on the hot insert path.
Tooling 1
Initial SPM support was added, allowing developers to use SPM with the package.
Fixes and other changes 6
Finalized handles are now preserved.
Transaction commits are now awaited, so callers can rely on commit completion before continuing.
Skips the explicit Kotlin plugin when AGP provides built-in Kotlin.
Unsubscribing a reactive query no longer touches a closed connection.
Fixes the missing Package.swift in the NPM release, so the package includes this file.
Compatibility fixes for 0.87 were added.
@op-engineering/op-sqlite 176 changes
New APIs and options 2
Adds the failOnCreate option.
Read-only databases are now supported.
Performance 1
Various performance improvements were made; the notes do not specify which operations are affected.
Behavior and default changes 1
Raw execution now returns column names.
Fixes and other changes 2
Excludes the libsql_experimental and turso_sdk_kit xcframeworks to fix the sqlcipher iOS build.
Fixes web support for Expo web.
@op-engineering/op-sqlite 167 changes
Breaking changes 1
delete no longer takes any parameters, changing how developers call it.
New APIs and options 3
Adds a method to convert strings more efficiently.
The key-value Storage class can now close its database.
Exposes sqlite3_interrupt() as db.interrupt().
Behavior and default changes 1
The native implementation now uses the SQLCipher key API.
Fixes and other changes 2
Manual UTF-8 parsing was reverted, changing how UTF-8 parsing is handled.
Native ATTACH/DETACH parameters are now bound.
@op-engineering/op-sqlite 1522 changes
New APIs and options 6
Adds React Native Web support.
Adds Turso support.
Memory databases are now supported for Node.
Adds partial, experimental support for using @op-engineering/op-sqlite with Node.js.
Exposes flushPendingReactiveQueries as an API.
Adds a synchronous raw execution endpoint.
Performance 3
libsql switches to a dylib, reducing disk size.
Tried performance optimizations; the notes do not specify their effects.
Simple result creation is faster.
Behavior and default changes 3
On Android, user-supplied sqliteFlags can override performanceMode defaults.
sqlite-vec is updated to support 16kb pages.
Encryption keys can now be empty.
Fixes and other changes 10
Android now uses SQLITE_STRICT_SUBTYPE=1 to match iOS.
Android now uses SQLITE_THREADSAFE=2 to match iOS.
Fixes incorrect boolean casting on macOS.
Fixes sub array insertion.
Updated sqlitevec signatures; the notes do not specify which signatures changed.
Fixes null Android build config flags.
Fixes a threading performance regression.
Fixes a botched podspec script, which may affect iOS package builds.
Fixes invalidated modules not resolving promises.
Fixes the Android external directory absolute path being null.
@op-engineering/op-sqlite 144 changes
Breaking changes 2
The openSync parameter previously named syncInterval is now libsqlSyncInterval.
The openSync parameter was renamed to libsqlSyncInterval.
Security 1
Passed parameters are sanitized recursively to look for array buffers.
New APIs and options 1
A new openSync parameter enables offline writes for libsql.
@op-engineering/op-sqlite 131 changes
Breaking changes 1
Upgrading to this version requires updating your SQLCipher database; test changes before upgrading.
@op-engineering/op-sqlite 121 changes
Behavior and default changes 1
The attach function was reworked; the notes do not specify further details.
@op-engineering/op-sqlite 101 changes
Breaking changes 1
The ._array API was removed.
@op-engineering/op-sqlite 91 changes
Breaking changes 1
The API was refactored into a simpler form, which may change how developers write code using the package.
@op-engineering/op-sqlite 63 changes
Breaking changes 1
moveAssetsDatabase is now asynchronous, so callers must account for its async behavior.
New APIs and options 2
moveAssetsDatabase supports specifying a custom Android path.
moveAssetsDatabase supports an overwrite flag.