Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.36 KB

CHANGELOG.md

File metadata and controls

45 lines (31 loc) · 1.36 KB

[v0.3.3]

July 1, 2016

  • Default delete set to false #10

[v0.3.2]

April 26, 2016

  • Correct field name into documentation, validateBeforeDelete

[v0.3.1]

April 20, 2016

  • Add option to disable validation on delete #6

[v0.3.0]

Mar 11, 2016

  • Bulk delete and restore
  • Remove requirement for callback in delete() and restore()

[v0.2.1]

Feb 1, 2016

  • Add option to override static model methods (count, find, findOne, findOneAndUpdate, update)
  • Add additional methods for overridden static methods:
only not deleted documents only deleted documents all documents
count() countDeleted countWithDeleted
find() findDeleted findWithDeleted
findOne() findOneDeleted findOneWithDeleted
findOneAndUpdate() findOneAndUpdateDeleted findOneAndUpdateWithDeleted
update() updateDeleted updateWithDeleted

[v0.1.1]

Aug 1, 2014

  • Initial version
  • Add deleted (true-false) key on document
  • Add deletedAt key to store time of deletion
  • Add deletedBy key to record who deleted document
  • Restore deleted documents, restore() method