Skip to content

Releases: OP-Engineering/op-sqlite

2.0.0

04 Dec 13:54
3375904
Compare
Choose a tag to compare

What's Changed

New Contributors

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

26 Nov 12:48
57b3c08
Compare
Choose a tag to compare

What's Changed

  • fix: metadata type to 'UNKNOWN' when type is NULL by @KusStar in #14
  • Add methods to remove hooks by @KusStar in #15

New Contributors

Full Changelog: 1.0.13...1.0.14

Add support for commit and rollback hooks

17 Nov 16:51
1af8d7f
Compare
Choose a tag to compare

Support for update hook

17 Nov 14:54
3eacc12
Compare
Choose a tag to compare

You can now create a callback that will be called whenever data on the database changes.

Prevent crash when reloading JS Bundle

16 Nov 12:56
45e1a7f
Compare
Choose a tag to compare

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

15 Nov 08:42
263bb96
Compare
Choose a tag to compare

Thrown errors have better descriptions, from statement preparation to execution errors.

Fixed support for Blobs (TypedArrays/ArrayBuffers)

13 Nov 09:05
eb6133b
Compare
Choose a tag to compare

Support multiple statements in a single call

09 Nov 17:51
ec0919b
Compare
Choose a tag to compare

Multiple statements in a single string are now supported

In memory db support

09 Nov 13:41
0280f49
Compare
Choose a tag to compare