Releases: kriasoft/node-sqlite
Releases · kriasoft/node-sqlite
v4.0.1 Release
New major version 4!
This version has been written in Typescript with a target of node.js v10 or greater.
If you are using an older version of node < 10, use the 3.x version of the library instead.
What's new:
- ZERO dependencies!
- This should make troubleshooting the library vs the
sqlite3
driver easier. Most issues relate
to thesqlite3
driver vs the library. - Allows support for alternative drivers such as
sqlite3-offline
as long as they match thenode-sqlite3
API.
- This should make troubleshooting the library vs the
- Re-written in Typescript.
- All existing features maintained.
- Existing unit tests were cleaned up and pass, new tests added.
- Better documentation. See
README.md
. - New CI process - pull requests merged into master will run tests, build, and auto-publish to NPM.
- Parity with the
node-sqlite3
API.- Exceptions are
serialize
andparallelize
(PRs are welcomed!)
- Exceptions are
Breaking Changes:
sqlite3
is no longer a dependency of this project. You must install it first
before using this wrapper library.- This allows for usage of alternative libraries.
- This means
verbose
andcache
modes must be enabled before using the library. - The
README.md
file explains how to do this.
- Opening a new database has changed. See
README.md
for example. - migrations API:
force
is now aboolean
. - Can no longer specify a custom
Promise
library. Uses nativePromise
instead.
v4.0.0-beta.7
Update readme
v4.0.0-beta.4
Fix typescript defs
v3.0.6
Update README with v4 link
v3.0.2
Version bump
v3.0.1
Merge branch 'master' of ssh://github.com/kriasoft/node-sqlite
v2.9.0
v2.9.0