Skip to content

Commit 392ae0a

Browse files
committed
Merge branch 'master' into 6.9
2 parents 32a0d08 + 3fc7054 commit 392ae0a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
6.8.5 / 2023-01-23
2+
==================
3+
* fix(query): correctly pass context when casting $elemMatch #12915 #12909 #12902 [MohOraby](https://github.com/MohOraby)
4+
15
6.8.4 / 2023-01-17
26
==================
37
* fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889

docs/populate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ Alternatively, you can check out the [mongoose-autopopulate plugin](http://npmjs
883883
<h3 id="transform-populated-documents"><a href="#transform-populated-documents">Transform populated documents</a></h3>
884884

885885
You can manipulate populated documents using the `transform` option.
886-
If you specify a `transform` function, Mongoose will call this function on every populated document in the result wiwith two arguments: the populated document, and the original id used to populate the document.
886+
If you specify a `transform` function, Mongoose will call this function on every populated document in the result with two arguments: the populated document, and the original id used to populate the document.
887887
This gives you more control over the result of the `populate()` execution.
888888
It is especially useful when you're populating multiple documents.
889889

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mongoose",
33
"description": "Mongoose MongoDB ODM",
4-
"version": "6.8.4",
4+
"version": "6.8.5",
55
"author": "Guillermo Rauch <guillermo@learnboost.com>",
66
"keywords": [
77
"mongodb",

0 commit comments

Comments
 (0)