Release 11.2.6
This is a big release! The threading model of the library has been changed to have only one of thread per connection. This will get rid of a lot of race conditions people have been encountering at the price of making the library a smidge slower, but correctness comes before speed.
You can now have multiple connections per database, which is how sqlite is meant to be used. You should have ONLY ONE write connection though, otherwise you might get issues still:
import {open} from "@op-engineering/op-sqlite"
let readConnection = open({name: "db.sqlite"})
let writeConnection = open({name: "db.sqlite"})
What's Changed
- Migrate libsql and sqlcipher by @rflopezm in #207
- Concurrency model change by @ospfranco in #204
New Contributors
Full Changelog: 11.2.5...11.2.6