v2.0.2
2.0.2 (2019-05-11)
Bug Fixes
-
dependencies:
document must have an _id before saving
issue (2fec767)
@see Automattic/mongoose#5073pre-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 FieldConfigtype
field instead of hard-coding (af56d13)