Releases: olliNiinivaara/SQLiteral
Releases · olliNiinivaara/SQLiteral
4.0.1
4.0.0
- 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
- catching CatchableError instead of Exception in transaction template
3.0.0
- new implementation for Text values (see various toDb -procs)
- nimble file typo fix
2.0.2
- logs every statement preparation only once (instead of from every thread)
- more realistic example
2.0.1
- removed spurious debug echo
- better logging
- better example
robustness
- 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
- take a backup concurrently
- database open supports multiple schemas
- partition states removed
1.2.0
- 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
- 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