Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nezuo committed Jul 26, 2024
1 parent ec136ff commit 8e84263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Lapis Changelog

## Unreleased Changes
* Added `Collection:read` to view a document's data without editing or session locking it. ([#59])

[#59]: https://github.com/nezuo/lapis/pull/59

## 0.3.1 - July 6, 2024
* Added `Document:keyInfo()`. It returns the last updated `DataStoreKeyInfo` returned from loading, saving, or closing the document. ([#50])
Expand Down
1 change: 0 additions & 1 deletion src/Collection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ function Collection:read(key)

if self.options.validate ~= nil then
local validateOk, valid, message = pcall(self.options.validate, migrated)

if not validateOk then
return Promise.reject(`'validate' threw an error: {valid}`)
elseif not valid then
Expand Down

0 comments on commit 8e84263

Please sign in to comment.