Releases: 2shady4u/godot-sqlite
Maintenance Update & Add `default_extension` property
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.4.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
- HTML5
What's new?
- Added an additional property
default_extension
which enables the user to define his/her own database extension; see the relevant sections in the documentation. - Switched out the MacOSX build to the universal build target which should work on both arm64 and x86_64 devices.
- Switched out the Windows build with one cross-compiled on Linux with MinGW. While this results in larger binary size, this should avoid the issue with missing VC++ redistributables that most beginning users run into (see #33, #57). The binary compiled using MSVC is still available in Github Actions, as found here.
- Added compiled godot-cpp static binaries to the
addons/godot-sqlite/bin/ios/
-folder and added them as dependencies for the iOS binaries. - Fixed a crash in the HTML exported build due to the EMScripten version being out-of-date (2.0.17 -> 2.0.25, see #65).
Enter the Virtual File System
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
- HTML5 (requires Godot 3.3+)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- Added a custom VFS to allow read-only databases to be exported inside of Godot's
*.pck
-file. Basically this VFS internally takes care of all the file handling using the Godot API. Unfortunately, this also means that the database cannot be opened in read/write mode in any other program as Godot's implementation doesn't allow for files to be opened in shareable manner. - An additional
read_only
-variable has been added to toggle the usage of this VFS. - Added an additional example to the demo-project to showcase the proper usage of the new
read_only
-variable. - Expanded the
README.md
with proper documentation of the new functionalities. - A cross-compilation build for Windows is now downloadable in Github Actions here (see #33).
- A build for MacOS ARM64 is now downloadable in Github Actions here (see #47).
Add missing "Server"-entry and switch to Godot's Base64
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
- HTML5 (requires Godot 3.3+)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- Switched to Godot's implementation of Base64 instead of depending on an external library.
- Added much requested 'How To Use'-section and and cleaned up the
README.md
in general. - Re-added missing "Server"-entry to the
gdsqlite.gdnlib
-file (as discussed in #50).
The Web DLC
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.3
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
- HTML5 (requires Godot 3.3+)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- Added a brand-new exported binary for HTML5 which now makes Godot-SQLite available for web builds! 🥳
- Latest deployed web build of the demo-project is hosted here to stop any naysayers from claiming that it doesn't work!
- Cleaned up
README.md
and added some additional troubleshooting sections...
There's a BLOB in my JSON!
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2.3
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- BLOBs can now be imported and exported from/to JSON using the
base64
format - BLOBs can now be used in the
update_rows()
-function - Added support for exporting triggers to JSON
- Thanks to @Geo25rey, a legacy build for Linux (using Ubuntu 16.04) is now downloadable in Github Actions
Export fixes and no more BLOB leakage!
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2.3
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- Fix exported and Android builds not working due to directory privileges.
- Fix transactions not properly being terminated after failure of an SQlite query.
- Fix error_message erroneously being reset after calling query("END_TRANSACTION;")
- Plug memory leaks by switching to latest master of godot-cpp.
BLOBs and bindings and transactions, Oh My!
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
DISLAIMER: Usage of BLOBs results in memory leakage that still has to be patched in the main godot-cpp
-repository!
Status of the pull request for this issue can be glanced at here.
What's new?
- Support for BLOBs has finally been implemented!
- Parameter bindings are now possible using the brand-new
query_with_bindings()
-function. See the README.md for relevant documentation. - Direct access to the
last_insert_rowid
-variable is now possible. - The
insert_rows()
,update_rows()
anddelete_rows()
-functions are now encapsulated inside of a TRANSACTION, with significant speed increase as a result. - And several other small code refactors...
Add support for Android & iOS
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
- Android (arm64-v8a, armeabi-v7a & x86)
- iOS (arm64 & armv7)
DISLAIMER: iOS is still untested! (as of 24/12/2020)
What's new?
- Compiled libraries are now available for both Android and iOS.
- Build-system now uses Github Actions for automatically generating compiled libraries for all targets from latest commit on master.
- Fixed a small casting issue from
godot:Variant
togodot:String
that was giving trouble for Android compilation.
Fix memory de-allocation issue related to CharString
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
What's new?
- Fixed a CharString issue that occasionally gave rise to crashes due to double memory de-allocation by removing it all-together. This also seems to get rid of a lot of syntax errors spawned by SQLite.
Add custom SQLite functions and fix overflow bug
Download the demo-project and/or the necessary binaries below.
Godot version
Godot v3.2
Supported Operating systems:
- Mac OS X
- Linux
- Windows
What's new?
- Fixed an integer overflow bug when returning an integer to Godot.
- Added the ability to create custom scalar SQLite functions and bind them to Godot functions.
- Recompiled all binaries from scratch using the up-to-date Godot GDNative bindings.