Skip to content

Releases

6.0.0

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 31 Jul 11:33

6.0.0 Release notes (2026-07-31)

Breaking changes

  • inreadonlymode property and setReadonly proc are deprecated. Moreover, setReadonly does not execute any pragmas anymore, it only internally starts skipping all transactions.

Other

  • new setExclusivemode proc for changing the database connection locking mode between NORMAL and EXCLUSIVE
  • openDatabase proc accepts a new exclusive boolean parameter for setting database connection locking mode: true (default) = EXCLUSIVE, false = NORMAL
  • new getInt32 and getTheInt32 getters
  • about proc accepts a new tolog boolean parameter. if false (default), info is echoed to stdout. If true, info is sent to logger procedure.

5.0.1

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 13 Feb 12:11

5.0.1 Release notes (2025-02-13)

  • withRow template fix by removing a superfluous dirty pragma

5.0.0

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 22 Dec 14:31

Release notes (2024-12-22)

  • statements from more than one enum list can be used
  • a statement is prepared automatically on first use
  • all used statements are finalized automatically on close
  • only the Nim default memory managers (ARC and ORC family) are supported
  • errors that are not sqlite errors are logged with error code 10000
  • failing to close raises an SQLError
  • json_extract, json_patch, json_valid, and json_tree procs removed as too high level (esp. now that multiple statement lists are supported)

4.0.1

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 28 Oct 08:51

4.0.1 Release notes (2024-10-28)

  • Compatibility with Nim 2.2
  • Dark mode support in docs
  • Threaded JSON example uses malebolgia instead of threadpools
  • Nim 1.x is not supported anymore, please upgrade now

4.0.0

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 19 Aug 16:39
  • Compatibility with Nim 2
  • Single-threaded mode is not supported anymore (breaking change)
  • Avoid crashing from trying to get filesize of in-memory database in about
  • Unlimited amount of threads supported
  • New finalizeStatements proc (semi-breaking change)
  • New interrupt proc
  • Various minor performance and other fixes

3.0.1

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 27 Mar 10:30
  • catching CatchableError instead of Exception in transaction template

3.0.0

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 16 Nov 16:07
  • new implementation for Text values (see various toDb -procs)
  • nimble file typo fix

2.0.2

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 20 Sep 13:32
  • logs every statement preparation only once (instead of from every thread)
  • more realistic example

2.0.1

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 11 Aug 17:15
  • removed spurious debug echo
  • better logging
  • better example

robustness

Choose a tag to compare

@olliNiinivaara olliNiinivaara released this 17 Mar 08:24
  • breaking API change: New prepareStatements() proc must be used
  • new thread-isolating data structures guarantee interference-free db operations
  • better support for experimental:views -based zero-copy strings
  • JSON helper functions, JSON in documentation example
  • Selected errors during schema migrations can ignored
  • backup processes can be canceled
  • getStatus proc for https://www.sqlite.org/c3ref/c_dbstatus_options.html
  • getAsStrings -proc for getting all result rows as a sequence of strings
  • logger also checks that statements receive enough parameters