Skip to content

Release 11.2.6

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Dec 15:43
48483f0

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

New Contributors

Full Changelog: 11.2.5...11.2.6