Skip to content

Commit

Permalink
chore: release 5.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 22, 2021
1 parent 4b1aaac commit 5549f26
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions History.md
@@ -1,3 +1,17 @@
5.12.2 / 2021-03-22
===================
* fix(QueryCursor): consistently execute `post('find')` hooks with an array of docs #10015 #9982 [IslandRhythms](https://github.com/IslandRhythms)
* fix(schema): support setting `ref` as an option on an array SchemaType #10029
* fix(query): apply schema-level `select` option from array schematypes #10029
* fix(schema): avoid possible prototype pollution with `Schema()` constructor #10035 [zpbrent](https://github.com/zpbrent)
* fix(model): make bulkWrite skip timestamps with timestamps: false #10050 [SoftwareSing](https://github.com/SoftwareSing)
* fix(index.d.ts): make query methods return `QueryWithHelpers` so query helpers pass through chaining #10040
* fix(index.d.ts): add `upserted` array to `updateOne()`, `updateMany()`, `update()` result #10042
* fix(index.d.ts): add back `Aggregate#project()` types that were mistakenly removed in 5.12.0 #10043
* fix(index.d.ts): always allow setting `type` in Schema to a SchemaType class or a Schema instance #10030
* docs(transactions): introduce `session.withTransaction()` before `session.startTransaction()` because `withTransaction()` is the recommended approach #10008
* docs(mongoose+browser): fix broken links to info about `mongoose.Types` #10016

5.12.1 / 2021-03-18
===================
* fix: update mongodb -> 3.6.5 to fix circular dependency warning #9900
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "5.12.1",
"version": "5.12.2",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit 5549f26

Please sign in to comment.