diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c179b..e564f27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## 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]) +* 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])