Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5549f26

Browse files
committed
chore: release 5.12.2
1 parent 4b1aaac commit 5549f26

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

History.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff 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
14+
115
5.12.1 / 2021-03-18
216
===================
317
* fix: update mongodb -> 3.6.5 to fix circular dependency warning #9900

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mongoose",
33
"description": "Mongoose MongoDB ODM",
4-
"version": "5.12.1",
4+
"version": "5.12.2",
55
"author": "Guillermo Rauch <[email protected]>",
66
"keywords": [
77
"mongodb",

0 commit comments

Comments
 (0)