mongoose-diff-history
Version:
Manage Mongo Collection diff History and versions
24 lines (14 loc) • 1.04 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [2.1.0](https://github.com/mimani/mongoose-diff-history/compare/v2.0.0...v2.1.0) (2020-05-04)
### Features
- support `strict` mode as set in model config or query opts ([9fe281d](https://github.com/mimani/mongoose-diff-history/commit/9fe281da56ce298a9293cebe8f7c59f8908627ec))
## [2.0.0](https://github.com/mimani/mongoose-diff-history/compare/v1.6.1...v2.0.0) (2020-04-24)
### ⚠ BREAKING CHANGES
- lean no longer forced false for saveDiffs, may cause
issues for some
### Bug Fixes
- cannot use \$timestamps, lean not respected ([6a24f4d](https://github.com/mimani/mongoose-diff-history/commit/6a24f4d73c1700c1971552d25a1ad0096b8eb7b7))
- fix lean option override in findOneAndUpdate pre hook
- fix findOneAndUpdate pre hook
- findOneAndUpdate pre hook is not working as expected when timestamps autogeneration is enabled