mongoose 5.12.13 → 5.12.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/History.md CHANGED
@@ -1,3 +1,16 @@
1
+ 5.12.14 / 2021-06-15
2
+ ====================
3
+ * fix(schema): check that schema type is an object when setting isUnderneathDocArray #10361 [vmo-khanus](https://github.com/vmo-khanus)
4
+ * fix(document): avoid infinite recursion when setting single nested subdoc to array #10351
5
+ * fix(populate): allow populating nested path in schema using `Model.populate()` #10335
6
+ * fix(drivers): emit operation-start/operation-end events to allow inspecting when operations start and end
7
+ * fix(index.d.ts): improve typings for virtuals #10350 [thiagokisaki](https://github.com/thiagokisaki)
8
+ * fix(index.d.ts): correct constructor type for Document #10328
9
+ * fix(index.d.ts): add `ValidationError` as a possible type for `ValidationError#errors` #10320 [IslandRhythms](https://github.com/IslandRhythms)
10
+ * fix: remove unnecessary async devDependency that's causing npm audit warnings #10281
11
+ * docs(typescript): add schemas guide #10308
12
+ * docs(model): add options parameter description to `Model.exists()` #10336 [Aminoiz](https://github.com/Aminoiz)
13
+
1
14
  5.12.13 / 2021-06-04
2
15
  ====================
3
16
  * perf(document): avoid creating nested paths when running `$getAllSubdocs()` #10275