All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
This release contains a bug where calling :Set() before calling :Get() can yield. This will not be an issue for most consumers, but be aware of it.
- Added
DataStore2.SaveAllAsync
. - Fix
:IncrementAsync
throwing an error on combined data stores. - Fix
:Set
on combined data stores having the potential to yield. - Fix a crash relating to backups.
- Fix
GetTable
not working appropriately when using different default table keys. - Fix
GetTable
not working appropriately when using combined data stores. - Fix
:IncrementAsync
not returning a Promise. - Fix
OnUpdate
being fired twice when usingUpdate
to update data. - Fix
BindToClose
memory leak, breaking other BindToClose scripts, and potential error.
- Added :GetAsync(), :GetTableAsync, and :IncrementAsync(), which are promise versions of their non-async counterparts.
- :SaveAsync() now returns a promise.
- If data can't save when a player leaves, it'll no longer halt Studio.
- Added a Settings module and
DataStore2.PatchGlobalSettings
to manipulate settings of DataStore2. - Added a setting (SavingMethod) for using standard data stores instead of the berezaa method. It can currently be set to "OrderedBackups" (the default) or "Standard".