Releases: subsoap/defsave
Releases · subsoap/defsave
v1.2.6
Patch Notes:
- Replaced JSON-based data serialization with sys.serialize and sys.deserialize functions for improved reliability and performance.
- Added defsave_ext module with encode_base64 and decode_base64 functions to convert between byte buffers and base64 strings.
- Introduced defsave.use_serialize variable to enable the new serialization method.
Benefits:
- Avoids issues with JSON encoding creating null userdata for sparse array elements.
- Eliminates the "Cannot serialise table: excessively sparse array" error when using highly sparse arrays.
- Provides a more efficient and robust approach to data serialization and deserialization.
To use the new serialization method, set defsave.use_serialize to true.
Thanks @KorolevSoftware !
v1.2.5
Remove old json.lua and use builtin JSON now. When DefSave was first made Defold didn't have a builtin json.encode, but now it does and so it should be used.
Thanks @KorolevSoftware !
v1.2.4
v1.2.3
v1.2.2
Use localStorage for HTML5 builds
v1.2.0
v1.1.0
First release!
Will begin to do releases now...
Using semantic versioning https://semver.org/