Skip to content

Commit

Permalink
Merge pull request #27 from nezuo/release-0.2.6
Browse files Browse the repository at this point in the history
Update changelog
  • Loading branch information
nezuo authored Oct 24, 2023
2 parents 90cd8b1 + e842d60 commit 5acef53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 5acef53

Please sign in to comment.