node-sqlite

SQLite client wrapper around sqlite3 for Node.js applications with SQL-based migrations API written in Typescript

MIT License

Downloads
402.6K
Stars
866
Committers
40

Bot releases are hidden (Show)

node-sqlite - v4.0.1 Release Latest Release

Published by theogravity over 4 years ago

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 the sqlite3 driver vs the library.
    • Allows support for alternative drivers such as sqlite3-offline as long as they match the node-sqlite3
      API.
  • 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 and parallelize (PRs are welcomed!)

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 and cache 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 a boolean.
  • Can no longer specify a custom Promise library. Uses native Promise instead.
node-sqlite - v3.0.6

Published by theogravity over 4 years ago

node-sqlite - v4.0.0-beta.7

Published by theogravity over 4 years ago

node-sqlite - v4.0.0-beta.4

Published by theogravity over 4 years ago

node-sqlite -

Published by theogravity over 5 years ago

node-sqlite -

Published by theogravity over 5 years ago

node-sqlite -

Published by theogravity almost 7 years ago