Skip to content

Releases: olliNiinivaara/SQLiteral

4.0.1

28 Oct 08:51
Compare
Choose a tag to compare

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

19 Aug 16:39
Compare
Choose a tag to compare
  • 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

27 Mar 10:30
Compare
Choose a tag to compare
  • catching CatchableError instead of Exception in transaction template

3.0.0

16 Nov 16:07
Compare
Choose a tag to compare
  • new implementation for Text values (see various toDb -procs)
  • nimble file typo fix

2.0.2

20 Sep 13:32
Compare
Choose a tag to compare
  • logs every statement preparation only once (instead of from every thread)
  • more realistic example

2.0.1

11 Aug 17:15
Compare
Choose a tag to compare
  • removed spurious debug echo
  • better logging
  • better example

robustness

17 Mar 08:24
Compare
Choose a tag to compare
  • 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

1.3.0

19 Feb 16:50
Compare
Choose a tag to compare
  • take a backup concurrently
  • database open supports multiple schemas
  • partition states removed

1.2.0

23 Nov 13:27
Compare
Choose a tag to compare
  • requires nim 1.4.0+ (older versions might work too, but not tested)
  • supports string views with --experimental:views compile flag
  • onCommitCallback
  • Text deprecated
  • partition states deprecated

Improved logging

04 May 11:44
c2412fc
Compare
Choose a tag to compare
  • at open, statements are logged while being prepared
  • length of logged sql parameters can be truncated (default value: 50 chars)
  • exec and rows procs targeting Pstmts will log sql parameters

new template: transactionsDisabled