NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3459 most downloaded on npm
The fastest and simplest library for SQLite in Node.js.
Last release 2 months ago
05 Aug 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
91 versions withdrawn
withdrawn after publishing
10 years old
159 releases · first in 2016
use Ubuntu 22.04-arm by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1510
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v13.0.2...v13.0.3
add gypfile option to package.json by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1505
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v13.0.1...v13.0.2
One column per quarter.
Fixed a regression in parameter binding where it would be overly strict and reject plain objects from other realms (e.g., in jest tests).
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v13.0.0...v13.0.1
Fixed a regression in parameter binding where it would be overly strict and reject plain objects from other realms (e.g., in jest tests).
As a result, we've removed the deprecated `prebuild-install` dependency, and now prebuilt binaries are published directly with the better-sqlite3 code…
Version 13.0.0 marks a major milestone, as it's the first version of better-sqlite3 to run on the N-API. This means prebuilt binaries should theoretically work across different versions of Node.js and Electron, and perhaps even other runtimes like Bun. As a result, we've removed the deprecated prebuild-install dependency, and now prebuilt binaries are published directly with the better-sqlite3 code itself. If your platform/architecture doesn't have a prebuilt binary, it should compile during install as before.
db.explain() method, for running EXPLAIN queries without needing to supply bound parameters.preparedStatement.toString() method, for getting the expanded SQL of a prepared statement.SqliteError cross-realm and Error.isError compatibility by @dennismutuku2005 in https://github.com/WiseLibs/better-sqlite3/pull/1473Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.12.0...v13.0.0
Fix Electron v42 build errors on Windows by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1488
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.11.0...v12.11.1
Bump the github-actions group across 1 directory with 4 updates by @dependabot[bot] in https://github.com/WiseLibs/better-sqlite3/pull/1451
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.10.0...v12.10.1
Update SQLite to version 3.53.1 by @JoshuaWise in https://github.com/WiseLibs/better-sqlite3/pull/1467
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.9.1...v12.10.0
Update SQLite to version 3.53.0 in https://github.com/WiseLibs/better-sqlite3/pull/1464
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.8.0...v12.9.0
Readme: requires Node.js v20 or later by @Prinzhorn in https://github.com/WiseLibs/better-sqlite3/pull/1443
From the SQLite team:
Some important issues have been found with version 3.52.0. In order to give us time to deal with those issues, we plan to withdraw the 3.52.0 release. In its place, we will put up a new 3.51.3 patch release that includes a fix for the recently discovered WAL-reset bug as well as other patches. This will happen probably within about the next twelve hours.
Hence, if you were planning to upgrade to 3.52.0 tomorrow (Friday, 2026-03-14), perhaps it would be better to wait a day or so for 3.51.3.
At some point we will do version 3.52.1 which will hopefully resolve the issues that have arisen with the 3.52.0 release.
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.7.1...v12.8.0
fix build: update node-abi version in package.json to ^4.25.0 by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1439
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.6.1...v12.6.2
Update SQLite to version 3.51.2 in https://github.com/WiseLibs/better-sqlite3/pull/1436
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.5.0...v12.6.0
Update SQLite to version 3.51.1 in https://github.com/WiseLibs/better-sqlite3/pull/1424
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.4.6...v12.5.0
Fix npm publishing by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1423
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.4.5...v12.4.6
Add support for Node v25 and Electron 39+ prebuilds by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1422
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.4.4...v12.4.5
Include all source files in package by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1405
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.4.0...v12.4.1
Update the Windows runner on build workflow to windows-2022 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1388
windows-2022 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1388Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.2.0...v12.3.0
Update SQLite to version 3.50.2 in https://github.com/WiseLibs/better-sqlite3/pull/1387
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.1.1...v12.2.0
Add support for electron v37 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1386
v37 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1386Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.1.0...v12.1.1
Use node-abi 4.9.0 by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1385
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.0.0...v12.1.0
BREAKING CHANGE: drop EOL Node.js v18 and Electron v26, v27, and v28. Add node v24 to build matrix. by @mceachen in https://github.com/WiseLibs/better…
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.10.0...v12.0.0
Increase timeout test because of GitHub Action by @Prinzhorn in https://github.com/WiseLibs/better-sqlite3/pull/1351
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.9.1...v11.10.0
Use the node:18-bullseye image for Linux x64 builds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1349
node:18-bullseye image for Linux x64 builds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1349Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.9.0...v11.9.1
Fix small typo in api.md by @hMihaiDavid in https://github.com/WiseLibs/better-sqlite3/pull/1324
v35 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1340ubuntu-22.04 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1341Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.8.1...v11.9.0
Fixed SQLITE_ENABLE_UPDATE_DELETE_LIMIT due to breaking change in SQLite core (closes https://github.com/WiseLibs/better-sqlite3/issues/1318)
SQLITE_ENABLE_UPDATE_DELETE_LIMIT due to breaking change in SQLite core (closes https://github.com/WiseLibs/better-sqlite3/issues/1318)Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.8.0...v11.8.1
Prebuild for Electron 34 by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1316
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.7.2...v11.8.0
fix: electron prebuilds on linux arm by @SvetBorislavov in https://github.com/WiseLibs/better-sqlite3/pull/1311
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.7.1...v11.7.2
Update SQLite to version 3.47.2 in https://github.com/WiseLibs/better-sqlite3/pull/1303
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.6.0...v11.7.0
Issue #1271: Added several missing SQLite Error codes. by @Meztlicoatl in https://github.com/WiseLibs/better-sqlite3/pull/1273
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.5.0...v11.6.0
Added NodeJS 23 Support by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1283
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.4.0...v11.5.0
Prebuild for Electron 33 by @oliverschwendener in https://github.com/WiseLibs/better-sqlite3/pull/1279
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.3.0...v11.4.0
Add new patch infra. by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1239
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.2.1...v11.3.0
Prebuild for Electron 32 by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1242
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.2.0...v11.2.1
Support builds for Electron v32 by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1226
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.1.2...v11.2.0
Use node bullseye to build arm images by @viceice in https://github.com/WiseLibs/better-sqlite3/pull/1216
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.1.1...v11.1.2
Fix macOS x64 builds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1210
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v11.1.0...v11.1.1
Major version was bumped due to dropping support of Node.js v21 and Electron v25.
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v10.1.0...v11.0.0
Major version was bumped due to dropping support of Node.js v21 and Electron v25.
Update SQLite to version 3.46.0 by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1190
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v10.0.0...v10.1.0
Update troubleshooting.md by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1178
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.6.0...v10.0.0
Add support for electron v30 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1175
v30 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1175Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.5.0...v9.6.0
Update SQLite to version 3.45.2 by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1173
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.5...v9.5.0
Fixed pre-built binaries for some platforms.
Fixed pre-built binaries for some platforms. (https://github.com/WiseLibs/better-sqlite3/issues/1168)
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.4...v9.4.5
fix: support SpatiaLite extension by @merceyz in https://github.com/WiseLibs/better-sqlite3/pull/1137
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.3...v9.4.4
Temporarily disable builds for electron v29 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1148
v29 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1148Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.2...v9.4.3
We'll get a new release out as soon as we can.
We'll get a new release out as soon as we can.
v29 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1147Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.1...v9.4.2
Build arm based macOS builds natively by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1135
arm based macOS builds natively by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1135arm64 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1141Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.4.0...v9.4.1
Update SQLite to version 3.45.1 in https://github.com/WiseLibs/better-sqlite3/pull/1133
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.3.0...v9.4.0
Update SQLite to version 3.45.0
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.2.2...v9.3.0
This is identical to v9.2.1, but GitHub Actions failed to fully publish the binaries due to a network error, and failed to re-run the build job.
This is identical to v9.2.1, but GitHub Actions failed to fully publish the binaries due to a network error, and failed to re-run the build job.
Add support for electron v28 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1113
v28 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1113Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.2.0...v9.2.1
Upgrade GitHub actions/checkout and actions/setup-node by @cclauss in https://github.com/WiseLibs/better-sqlite3/pull/1107
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.1.1...v9.2.0
Fix macOS and future Alpine prebuilds by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1100
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.1.0...v9.1.1
Update SQLite to version 3.44.0 by @mceachen in https://github.com/WiseLibs/better-sqlite3/pull/1097
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v9.0.0...v9.1.0
The major number was bumped as this build drops official support for Node 16, which is EOL.
The major number was bumped as this build drops official support for Node 16, which is EOL.
v27 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1082v16 (runtime EOL) by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1061Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.7.0...v9.0.0
Update SQLite to version 3.43.1 by @JoshuaWise in https://github.com/WiseLibs/better-sqlite3/pull/1077
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.6.0...v8.7.0
upgraded to SQLite 3.43.0 by @JoshuaWise in 6ee3399932c73c0f34d1b2e604d50b44a4e94f6f
nativeBinding supports addon object by @destyk in https://github.com/WiseLibs/better-sqlite3/pull/974Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.5.2...v8.6.0
prebuild for Node on macOS+arm64 and Windows+ia32 by @verhovsky in https://github.com/WiseLibs/better-sqlite3/pull/1002
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.5.1...v8.5.2
Add support for electron v26 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1042
v26 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1042Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.5.0...v8.5.1
Add support for electron v25 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1013
v25 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/1013Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.4.0...v8.5.0
Move repetitive build commands into environment variables by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/989
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.3.0...v8.4.0
Fixed several typos inside docs by @qwerty541 in https://github.com/WiseLibs/better-sqlite3/pull/980
v24 prebuilds by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/983ubuntu-20.04 by @m4heshd in https://github.com/WiseLibs/better-sqlite3/pull/982Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v8.2.0...v8.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →