mongoose 5.13.5 → 5.13.6

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,17 @@
1
+ 5.13.6 / 2021-08-09
2
+ ===================
3
+ * fix: upgrade mongodb driver -> 3.6.11 #10543 [maon-fp](https://github.com/maon-fp)
4
+ * fix(schema): throw more helpful error when defining a document array using a schema from a different copy of the Mongoose module #10453
5
+ * fix: add explicit check on constructor property to avoid throwing an error when checking objects with null prototypes #10512
6
+ * fix(cursor): make sure to clear stack every 1000 docs when calling `next()` to avoid stack overflow with large batch size #10449
7
+ * fix(index.d.ts): allow calling new Model(...) with generic Model param #10526
8
+ * fix(index.d.ts): update type declarations of Schema.index method #10538 #10530 [Raader](https://github.com/Raader)
9
+ * fix(index.d.ts): add useNewUrlParser and useUnifiedTopology to ConnectOptions #10500
10
+ * fix(index.d.ts): add missing type for diffIndexes #10547 [bvgusak](https://github.com/bvgusak)
11
+ * fix(index.d.ts): fixed incorrect type definition for Query's .map function #10544 [GCastilho](https://github.com/GCastilho)
12
+ * docs(schema): add more info and examples to Schema#indexes() docs #10446
13
+ * chore: add types property to package.json #10557 [thiagokisaki](https://github.com/thiagokisaki)
14
+
1
15
  5.13.5 / 2021-07-30
2
16
  ===================
3
17
  * perf(index.d.ts): improve typescript type checking performance #10515 [andreialecu](https://github.com/andreialecu)