Skip to content

Commit

Permalink
chore: release 5.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 11, 2021
1 parent 2170a8b commit d7f852f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
5.12.0 / 2021-03-11
===================
* feat(populate): add `transform` option that Mongoose will call on every populated doc #3775
* feat(query): make `Query#pre()` and `Query#post()` public #9784
* feat(document): add `Document#getPopulatedDocs()` to return an array of all populated documents in a document #9702 [IslandRhythms](https://github.com/IslandRhythms)
* feat(document): add `Document#getAllSubdocs()` to return an array of all single nested and array subdocuments #9764 [IslandRhythms](https://github.com/IslandRhythms)
* feat(schema): allow `schema` as a schema path name #8798 [IslandRhythms](https://github.com/IslandRhythms)
* feat(QueryCursor): Add batch processing for eachAsync #9902 [khaledosama999](https://github.com/khaledosama999)
* feat(connection): add `noListener` option to help with use cases where you're using `useDb()` on every request #9961
* feat(index): emit 'createConnection' event when user calls `mongoose.createConnection()` #9985
* feat(connection+index): emit 'model' and 'deleteModel' events on connections when creating and deleting models #9983
* feat(query): allow passing `explain` option to `Model.exists()` #8098 [IslandRhythms](https://github.com/IslandRhythms)

5.11.20 / 2021-03-11
====================
* fix(query+populate): avoid unnecessarily projecting in subpath when populating a path that uses an elemMatch projection #9973
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "5.11.20",
"version": "5.12.0",
"author": "Guillermo Rauch <[email protected]>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit d7f852f

Please sign in to comment.