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 1 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
This release fixes a few minor bugs, significantly improves overall performance, and introduces the db.register() method, which allows you to define c
This release fixes a few minor bugs, significantly improves overall performance, and introduces the db.register() method, which allows you to define custom SQL functions.
0d4e336 added the db.register() method, allowing you to register custom SQL functions f3daddb prepared statements and transactions can now be reused even after the table schema changes 6fff040 pluck() and safeIntegers() can no longer be invoked within an each() callback function
ba97614 updated sqlite to 3.18.0 6b65dc3..1283e97 completely rewrote benchmarks d2921ac minor performance improvement for .each()
ba97614 updated sqlite to 3.18.0
6b65dc3..1283e97 completely rewrote benchmarks
d2921ac minor performance improvement for .each()
One column per quarter.
550fd8d added readonly mode via new Database(filename, {readonly: true}) 404c739 improved performance of transaction objects
550fd8d added readonly mode via new Database(filename, {readonly: true})
404c739 improved performance of transaction objects
Nothing published for this version
5041cd8 updated copyright year 9588787 defaultSafeIntegers() now has the same semantics as safeIntegers() 59af62a removed event emitter from database
5041cd8 updated copyright year
9588787 defaultSafeIntegers() now has the same semantics as safeIntegers()
59af62a removed event emitter from database prototype
0faf7a4 databases now open and close synchronously, instead requiring developers to use the event emitter interface
852df57 added electron support
852df57 added electron support
4935a1e updated to sqlite3 3.15.0
4935a1e updated to sqlite3 3.15.0
7dc4add Merge pull request #10 from bengotow/bengotow/ia32-support f9969da fix support for ia32 on Windows
7dc4add Merge pull request #10 from bengotow/bengotow/ia32-support f9969da fix support for ia32 on Windows
Nothing published for this version
29e04d6 added support for microsoft windows
29e04d6 added support for microsoft windows
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
3779fc9 read-only statements that do not return data can now be executed with .run()
3779fc9 read-only statements that do not return data can now be executed with .run()
This removes the .readonly property and introduces the .returnsData property as its replacement. Statements are no longer semantically segregated based on whether they modify data, but rather whether they return data. There are two major reasons for this:
.prepare('BEGIN;').run() than to .prepare('BEGIN;').get()CREATE TABLE foo (bar) and CREATE TABLE IF NOT EXISTS foo (bar) should use the same execution method (.run())ab3e15d fixed inconsistent parameter binding logic 5a73a4e greatly improved string performance
ab3e15d fixed inconsistent parameter binding logic 5a73a4e greatly improved string performance
Nothing published for this version
5a019b7 fixed minor bug with binding parameters
5a019b7 fixed minor bug with binding parameters
Nothing published for this version
82863fd exposed the "memory" property on database objects
82863fd exposed the "memory" property on database objects
Nothing published for this version
98a037a fixed edge case bug when binding buffers and using .each()
98a037a fixed edge case bug when binding buffers and using .each()
Nothing published for this version
The first production-ready release of better-sqlite3.
The first production-ready release of better-sqlite3.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →