mongoose 5.13.2 → 5.13.3

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,14 @@
1
+ 5.13.3 / 2021-07-16
2
+ ===================
3
+ * fix(model): avoid throwing error when bulkSave() called on a document with no changes #10437
4
+ * fix(timestamps): apply timestamps when creating new subdocs with `$addToSet` and with positional operator #10447
5
+ * fix(schema): allow calling Schema#loadClass() with class that has a static getter with no setter #10436
6
+ * fix(model): handle re-applying object defaults after explicitly unsetting #10442 [semirturgay](https://github.com/semirturgay)
7
+ * fix: bump mongodb driver -> 3.6.10 #10440 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
8
+ * fix(index.d.ts): consistently use NativeDate instead of Date for Date validators and timestamps functions #10426
9
+ * fix(index.d.ts): allow calling `discriminator()` with non-document #10452 #10421 [DouglasGabr](https://github.com/DouglasGabr)
10
+ * fix(index.d.ts): allow passing ResultType generic to Schema#path() #10435
11
+
1
12
  5.13.2 / 2021-07-03
2
13
  ===================
3
14
  * fix: hardcode @types/node version for now to avoid breaking changes from DefinitelyTyped/DefinitelyTyped#53669 #10415