Releases: JujuAdams/db
Releases · JujuAdams/db
2.2.0 (beta)
- Updates supported GameMaker version to 2024.14
- Lots more documentation
- Renames
db_save()anddb_load()todb_debug_save()anddb_debug_load()to better indicate their proper use. Please always use asynchronous save/load for your games for compatibility cross-platform! - By default,
db_debug_save()anddb_buffer_write()will now use GameMaker's nativejson_stringify()function when accurate floats aren't needed. This is faster and more forwards compatible with newer versions of GameMaker - Adds
db_get_debug_string() - Adds
db_buffer_create() - Adds
db_patch()to merge JSON into a database - Can now set initial data when calling
db_create() - Removes
setChangedoptional argument fromdb_set_raw_data(). Please calldb_set_changed()manually db_write()anddb_read()can now access the root element directlydb_buffer_read()can now consume the input bufferdb_set_timestamp()'s value now defaults to the current (local) time- Fixes a crash in
db_delete() db_duplicate()now uses GameMaker'svariable_clone()function- Improves
is_db() - Adds support for asset references when saving data e.g. an object index will be appropriately converted to a handle. Handles are automatically unparsed when loading