Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nezuo committed Oct 24, 2023
1 parent 90cd8b1 commit 2d49eef
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 2d49eef

Please sign in to comment.