Skip to content

0.3.1

Compare
Choose a tag to compare
@nezuo nezuo released this 06 Jul 22:56
· 30 commits to master since this release
  • Added Document:keyInfo(). It returns the last updated DataStoreKeyInfo returned from loading, saving, or closing the document. (#50)
  • Migrations can now update the data mutably. Note: The value still needs to be returned from the migration function. (#51)
  • Gracefully handle validate throwing an error in Collection:load. Before it would keep retrying the load and spam the console with confusing errors. (#52)
  • Allow defaultData to be a function. The return value will be validated when a new document is created. (#53)
  • Migrations can now be marked as backwardsCompatible. This allows documents to be loaded on servers with an older version as long as they are compatible.
    For more information, see the docs. (#54)
  • The validate option for collections is now optional. (#56)
  • Add freezeData option to collections to allow mutable updates to documents. (#57)