Releases: OP-Engineering/op-sqlite
2.0.0
What's Changed
- Support absolute paths by @ospfranco in #19
- [ANDROID] Remove native log library by @ospfranco in #20
New Contributors
- @ospfranco made their first contribution in #19
Full Changelog: 1.0.14...2.0.0
The use of the location
param has changed! This is a breaking change! check out the README
Bug and crash fixes
Add support for commit and rollback hooks
Support for update hook
You can now create a callback that will be called whenever data on the database changes.
Prevent crash when reloading JS Bundle
When reloading the JS Bundle (via codepush or via bundle reload packages), pending operations/transactions would crash after executing and trying to access the JS Context. This is now solved by terminating all sql pending operations and waiting for the threads to be joined, before being re-created again.
Should fix all the crashes when using CodePush or the Expo version of CodePush.
Better errors
Thrown errors have better descriptions, from statement preparation to execution errors.
Fixed support for Blobs (TypedArrays/ArrayBuffers)
1.0.8 Fixed blob support
Support multiple statements in a single call
Multiple statements in a single string are now supported
In memory db support
Adds support for in-memory databases