mongoose 5.11.16 → 5.11.17
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 +11 -0
- package/dist/browser.umd.js +48 -48
- package/index.d.ts +1 -1
- package/lib/connection.js +1 -1
- package/lib/helpers/populate/assignVals.js +1 -1
- package/lib/model.js +10 -1
- package/lib/types/core_array.js +2 -8
- package/lib/types/documentarray.js +28 -0
- package/lib/types/map.js +13 -0
- package/package.json +1 -1
package/History.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
5.11.17 / 2021-02-17
|
|
2
|
+
====================
|
|
3
|
+
* fix(populate): handle `perDocumentLimit` when multiple documents reference the same populated doc #9906
|
|
4
|
+
* fix(document): handle directly setting embedded document array element with projection #9909
|
|
5
|
+
* fix(map): cast ObjectId to string inside of MongooseMap #9938 [HunterKohler](https://github.com/HunterKohler)
|
|
6
|
+
* fix(model): use schema-level default collation for indexes if index doesn't have collation #9912
|
|
7
|
+
* fix(index.d.ts): make `SchemaTypeOptions#type` optional again to allow alternative typeKeys #9927
|
|
8
|
+
* fix(index.d.ts): support `{ type: String }` in schema definition when using SchemaDefinitionType generic #9911
|
|
9
|
+
* docs(populate+schematypes): document the `$*` syntax for populating every entry in a map #9907
|
|
10
|
+
* docs(connection): clarify that `Connection#transaction()` promise resolves to a command result #9919
|
|
11
|
+
|
|
1
12
|
5.11.16 / 2021-02-12
|
|
2
13
|
====================
|
|
3
14
|
* fix(document): skip applying array element setters when init-ing an array #9889
|