Releases: OP-Engineering/op-sqlite
react-native-macOS support
It now compiles under macOS 10.13 (High Sierra)
Prepared Statements
What's Changed
- Prepared Statements by @ospfranco in #24
- Fixes some memory leaks while hot reloading
Full Changelog: 2.0.1...2.0.2
Fixes Expo Reload
Fixes reload/hot reload on expo dev client
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