You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: History.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,17 @@
1
+
5.12.2 / 2021-03-22
2
+
===================
3
+
* fix(QueryCursor): consistently execute `post('find')` hooks with an array of docs #10015#9982[IslandRhythms](https://github.com/IslandRhythms)
4
+
* fix(schema): support setting `ref` as an option on an array SchemaType #10029
5
+
* fix(query): apply schema-level `select` option from array schematypes #10029
6
+
* fix(schema): avoid possible prototype pollution with `Schema()` constructor #10035[zpbrent](https://github.com/zpbrent)
7
+
* fix(model): make bulkWrite skip timestamps with timestamps: false #10050[SoftwareSing](https://github.com/SoftwareSing)
8
+
* fix(index.d.ts): make query methods return `QueryWithHelpers` so query helpers pass through chaining #10040
9
+
* fix(index.d.ts): add `upserted` array to `updateOne()`, `updateMany()`, `update()` result #10042
10
+
* fix(index.d.ts): add back `Aggregate#project()` types that were mistakenly removed in 5.12.0 #10043
11
+
* fix(index.d.ts): always allow setting `type` in Schema to a SchemaType class or a Schema instance #10030
12
+
* docs(transactions): introduce `session.withTransaction()` before `session.startTransaction()` because `withTransaction()` is the recommended approach #10008
13
+
* docs(mongoose+browser): fix broken links to info about `mongoose.Types`#10016
0 commit comments