Skip to content

0.2.6

Compare
Choose a tag to compare
@nezuo nezuo released this 24 Oct 23:00
· 110 commits to master since this release
5acef53
  • 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)