Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.06 KB

CHANGELOG.md

File metadata and controls

48 lines (37 loc) · 2.06 KB

Lapis Changelog

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)

0.2.5 - September 8, 2023

  • Fix existing data not being frozen on load (#20)

0.2.4 - August 3, 2023

  • Fix game:BindToClose not waiting for documents to close

0.2.3 - July 19, 2023

  • Fix silly mistake where I don't return the collection from createCollection

0.2.2 - July 19, 2023

  • Remove write cooldown throttling since write cooldowns were removed (#11)
  • Fix save merging algorithm (#13)
  • Added new throttle queue which allows load/save/close requests from different keys to be processed at the same time (#15)

0.2.1 - June 10, 2023

  • Move TestEZ and DataStoreServiceMock to dev dependencies
  • Remove unused files from published package

0.2.0 - May 24, 2023

  • Renamed Collection:openDocument to Collection:load
  • Renamed retryAttempts config setting to saveAttempts
  • Renamed acquireLockAttempts config setting to loadAttempts
  • Renamed acquireLockDelay config setting to loadRetryDelay
  • Fixed edge case that allowed documents to load even when their migration version exceeded the server's latest migration