diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c179b..f7b30c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ ## Unreleased Changes +## 0.2.6 - October 24, 2023 +* Added types ([#24]) +* Added `document:beforeClose` callback to make final changes to a document before it closes ([#25]) + * This callback works even when the document is closed by `game:BindToClose`. +* Added APIs to set a document's `DataStoreKeyInfo:GetUserIds()` ([#26]) + * Changed `Collection:load(key: string)` to `Collection:load(key: string, defaultUserIds: {number}?)` + * `defaultUserIds` only applies if it's the first time the document has ever been loaded. + * Added `Document:addUserId(userId: number)` + * Added `Document:removeUserId(userId: number)` + +[#24]: https://github.com/nezuo/lapis/pull/24 +[#25]: https://github.com/nezuo/lapis/pull/25 +[#26]: https://github.com/nezuo/lapis/pull/26 + ## 0.2.5 - September 8, 2023 * Fix existing data not being frozen on load ([#20]) diff --git a/wally.toml b/wally.toml index 2fd4900..7e0c3c5 100644 --- a/wally.toml +++ b/wally.toml @@ -1,6 +1,6 @@ [package] name = "nezuo/lapis" -version = "0.2.5" +version = "0.2.6" registry = "https://github.com/UpliftGames/wally-index" exclude = ["**"] include = ["src", "src/*", "default.project.json", "wally.toml", "LICENSE"]