Releases: kkharji/sqlite.lua
Releases Β· kkharji/sqlite.lua
v1.2.2
tests: auto disable network related tests (#141) * added .editorconfig to ease contributing to the project * tests: autodisable test in absence of curl When running the test in the nix sandbox, there is no internet access and this specific test fails. The best solution would probably be to download these files only when they dont exist. The current fix skips the test when curl is not available and allows to move on.
π release v1.2.1
π release v1.2.0
β¨ Features
3420a3a make opts.lazy false by default and add opts.keep_open
Before lazy was default and there was no way of changing that. I've
decided to make it optional because it seems that:-
People expects sqlite {} or sqlite:extend {} to create all the
defined table in advance. -
Performance impact of initializing db object is only 1.0 slower in
microseconds, so it seems to not be as important as I thought it
would:-- test/lazy.lua Benchmark #1: 'Logical Component' Time(mean Β± Ο): 23.7 ΞΌs Β± 18.7 ΞΌs Range(min β¦ max): 17.4 ΞΌs β¦ 102.3 ΞΌs 20 runs Benchmark #2: 'Full Initialization' Time(mean Β± Ο): 28.7 ΞΌs Β± 12.9 ΞΌs Range(min β¦ max): 24.1 ΞΌs β¦ 83.1 ΞΌs 20 runs Summary 'Logical Component' ran 1.2 Β± 1.1 times faster than 'Full Initialization'
-
- 3d89dc1 add Bookmark Manager Example
π Bug Fixes
edf642e fix Emmylua completion
This used to work, but maybe with new versions of sumneko_lua. It
stopped working.
π release v1.1.0
π release v1.0.0 (#105)
β»οΈ refactor
- rename emmyclass to be prefixed by
sqlite - enforce
sqliteprefix on exported docs. a hack till tree-sitter-lua@#33 is closed - rename export module to
sqlitewith backward compatibility with warring (for now) - remove date from changelog template to avoid unnecessary commits + run daily.
β¨ New
- add examples for all
sqliteapi functions and use code-block in place of@usage - add support for installing sqlite.lua wtih luarocks (WIP)
- add CI workflow to create github release among other things
- add script to auto-generate
rockspecon every release. - extended
sqlite_dbandsqlite_tbloriginal methods after overwrite can be accessed through pre-appending__.
π₯ Breaking
- remove dot notation support totally.
- rename
sqlite.db:tablesqlite.db:tblwith a simple depreciation warning - Add deprecation warnings for using
sqlnamespace. sqlite.tbl:newis changed tosqlite.tbl.newto matchsqlite.db.new- change
sqlite.tbl.newsignature to accept optional db object as last param.
π Fixes
sqlite.libstrfun use "now" instead of nil.sqlite.libstrfun doesn't work inside table schema.