Skip to content

v2.0.2

Compare
Choose a tag to compare
@mernxl mernxl released this 11 May 22:42
· 62 commits to master since this release

2.0.2 (2019-05-11)

Bug Fixes

  • dependencies: document must have an _id before saving issue (2fec767)
    @see Automattic/mongoose#5073 pre-save hooks not triggered if set after initialising model for mongoose >= 4.8.0, so all models whose Assigner was initialised using MongooseIdAssigner constructor will fail, but those with MongooseIdAssigner.plugin is ok.

  • typings: use FieldConfigTypes on FieldConfig type field instead of hard-coding (af56d13)