What changed in better-sqlite3 from 12 to 13
4 releases numbered after v12.12.0 up to and including v13.0.3, stable releases only. v12.12.0 and v13.0.3 are the newest stable releases of 12 and 13 we track; this page follows them as new ones ship.
- 1 removes or deprecates something
11 changes across 4 releases
- Removed deprecated prebuild-install dependency
Original release notes, newest first
The list above is our reading of these notes; the originals from WiseLibs are here, one fold per release.
v13.0.3
What's Changed
- 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
v13.0.2
What's Changed
- add gypfile option to package.json by @neoxpert in https://github.com/WiseLibs/better-sqlite3/pull/1505
- Update SQLite to version 3.53.4 by @JoshuaWise in https://github.com/WiseLibs/better-sqlite3/pull/1506
- validate the parameters of table properly by @theosotr in https://github.com/WiseLibs/better-sqlite3/pull/1504
- fix: this dependabot configuration does not set a co... in... by @anupamme in https://github.com/WiseLibs/better-sqlite3/pull/1508
- fixed process aborting from terminating worker threads (https://github.com/WiseLibs/better-sqlite3/issues/1507)
New Contributors
- @theosotr made their first contribution in https://github.com/WiseLibs/better-sqlite3/pull/1504
- @anupamme made their first contribution in https://github.com/WiseLibs/better-sqlite3/pull/1508
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v13.0.1...v13.0.2
v13.0.1
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).
v13.0.0
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.
What's Changed
- Refactored codebase to use node-addon-api by @JoshuaWise in https://github.com/WiseLibs/better-sqlite3/pull/1498
- Added a new
db.explain()method, for running EXPLAIN queries without needing to supply bound parameters. - Added a new
preparedStatement.toString()method, for getting the expanded SQL of a prepared statement. - Fix
SqliteErrorcross-realm andError.isErrorcompatibility by @dennismutuku2005 in https://github.com/WiseLibs/better-sqlite3/pull/1473
New Contributors
- @dennismutuku2005 made their first contribution in https://github.com/WiseLibs/better-sqlite3/pull/1473
Full Changelog: https://github.com/WiseLibs/better-sqlite3/compare/v12.12.0...v13.0.0