Releases: ospfranco/react-native-quick-sqlite
7.0.0
Extensions Support
You can now easily enable compile-time SQLite extensions by specifying compilation flags. Check out the README for more instructions on how to achieve this.
Adds support for RN 0.70
Adds support for RN 0.70
Fix AAR finding on older RN versions
Starting 0.69 RN embeds AAR versions of certain dependencies, which forced changes on the build gradle to handle multiple .aar files. Which in turn caused to break the library for older versions. I modified the build.gradle script to make it work with older RN versions.
4.0.2
- New Async Transactions
- Update SQLite to 3.39.2
- Fix retrieving strings with NULL characters in them
JavaScript Transactions Support
Transactions were internally supported via batchExecuteSql
method, but now there is a new transaction
method. It's more idiomatic and useful if you need to check intermediate results. It's only meant for sync callbacks, an async version will be implemented next.
Column metadata
Column metadata is now returned when performing select queries. Should help when the data has been coerced to basic types but the SQL field is different.
Async workloads
After a lot of work, we have finally managed to add async callbacks to the library! 🎉
Thanks a lot to @EduFrazao whose help has been vital to getting this working! Also, to @sergeymild, who's repo showed us how to do async callbacks with the JSI.
Changes
- Methods now have async equivalents, if you don't want to block your UI while SQLite processes your data
- SQLite has been bumped to version 3.38.1
Please open an issue if you are facing any sort of bug, this was a major refactoring of the library.
v3.0.0
Update SQLite and minor fixes
v2.0.2
- SQLite has been updated to version 3.38.0
- Typescript types have been fixed to reflect the correct response