From 50beea0779573c7304ce3c9c01398732ce1083dc Mon Sep 17 00:00:00 2001 From: nezuo Date: Tue, 24 Oct 2023 15:56:31 -0700 Subject: [PATCH] Add note to document:beforeClose change --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e564f27..f7b30c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## 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.