Mongoose v5.11.3 Release Notes
Release Date: 2020-12-03 // over 3 years ago-
- fix(index.d.ts): make Mongoose collection inherit MongoDB collection #9637 #9630 AbdelrahmanHafez
- fix(index.d.ts): add
Document#_id
so documents have an id by default #9632 - fix(index.d.ts): allow inline schema definitions for nested properties #9639 Green-Cat
- fix(index.d.ts): add support for missing error message definitions #9638 SaifAlsabe
- fix(schema+discriminator): support defining recursive embedded discriminators by passing document array schematype to discriminator #9600
- fix(index.d.ts): make it possible to use
LeanDocument
with arrays #9620 - fix(index.d.ts): add
ModelUpdateOptions
as alias forQueryOptions
for backwards compat #9637