Skip to content

Releases: denodrivers/sqlite3

v0.7.2

01 Jan 16:53
59ffd58
Compare
Choose a tag to compare

What's Changed

  • fix: Statement Finalizer causing double free when DB is explicitly closed by @DjDeveloperr in #79

Full Changelog: 0.7.1...0.7.2

v0.7.1

30 Dec 17:58
a1c7e4d
Compare
Choose a tag to compare

There was a typo in filename for Windows prebuilt binary such that it failed to load. This patch fixes it.

v0.7.0

30 Dec 17:45
d2fe962
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @nsf made their first contribution in #74

Full Changelog: 0.6.1...0.7.0

v0.6.1

02 Oct 15:55
50d789b
Compare
Choose a tag to compare

There was an error in release 0.6.0 which made downloading the prebuilt binaries fail. 0.6.1 patches that.

v0.6.0

02 Oct 10:34
266ccf5
Compare
Choose a tag to compare

Changelog

  • fix: keep reference to buffers before passing their pointers (#59)
  • feat!: add Statement#value which returns only first row as array and changed Statement#get to return row as object instead (previously it returned as array which was confusing, see #58) (#60)

This release includes breaking changes to Statement#get method. For the old behavior of get method, use value instead.

v0.5.3

13 Sep 06:37
Compare
Choose a tag to compare

What's Changed

  • chore: fix doc link by @web2033 in #55
  • perf: use custom sqlite library on unix by @littledivy in #56

New Contributors

  • @web2033 made their first contribution in #55

Full Changelog: 0.5.2...0.5.3

v0.5.2

04 Sep 16:40
3966388
Compare
Choose a tag to compare

What's Changed

  • fix: accept bind parameters in Statement#get by @DjDeveloperr in #53
  • perf: make bigints optional in query results as they slow down fastapi calls (off by default, turn on using int64 option when creating database object) by @DjDeveloperr in #54

Full Changelog: 0.5.1...0.5.2

v0.5.1

03 Sep 08:17
65a08a2
Compare
Choose a tag to compare
  • fix: Database#run/exec and Statement#run now return number of changes made as well.
  • perf: optimized a case when there's no bind parameters needed in Statement
  • doc: add better documentation (doc.md)

v0.5.0 - Rewrite

02 Sep 17:23
6ef549c
Compare
Choose a tag to compare

This release contains breaking changes as a result of a rewrite.

There are a lot of changes in the API, mostly focused on making it more easier to use and performant.
The API now is similar to that of better-sqlite3.

Updates:

  • Many performance optimizations, FFI layer now leverages fastapi calls. Now much more faster than x/sqlite (WASM based), and also faster than Node.js better-sqlite3.
  • Methods like queryArray/Object have been removed in favor of using prepared statements (which they previously were just a wrapper of).
  • Transactions API has been added.
  • PreparedStatement renamed to Statement and its API has been changed quite a lot.

Check out the documentation here for this new version.

image

v0.4.4

21 Aug 11:44
8324685
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.3...0.4.4