Skip to content

Commit f148e62

Browse files
committed
chore: release 6.2.5
1 parent 3441ba0 commit f148e62

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
6.2.5 / 2022-03-09
2+
==================
3+
* fix(mongoose): add isObjectIdOrHexString() to better capture the most common use case for `isValidObjectId()` #11419
4+
* fix(query): prevent modifying discriminator key in updates using operators other than `$set` #11456
5+
* fix(populate+types): call foreignField functions with doc as 1st param, better typings for `localField` and `foreignField` functions #11321
6+
* fix(populate): return an array when using populate count on an array localField #11307
7+
* fix(query): avoid error when using $not with arrays #11467
8+
* perf: only deep clone validators if necessary #11412 [Uzlopak](https://github.com/Uzlopak)
9+
* fix(types): rename definition files to lowercase to avoid typescript bug #11469
10+
* fix(types): aggregate.sort() accepts a string but also `{ field: 'asc'|'ascending'|'desc'|'descending' }` #11479 [simonbrunel](https://github.com/simonbrunel)
11+
* fix(types): extract and refactor aggregationcursor and querycursor #11488 [Uzlopak](https://github.com/Uzlopak)
12+
* fix(types): extract and refactor schemaoptions #11484 [Uzlopak](https://github.com/Uzlopak)
13+
* fix(types): make first param to `Query.prototype.populate()` a string #11475 [minhthinhls](https://github.com/minhthinhls)
14+
* fix(types): improve type checking for doc arrays in schema definitions #11241
15+
* docs: fix length comparaison in lean.test.js #11493 [zazapeta](https://github.com/zazapeta)
16+
* docs(timestamps): fix typo #11481 [saibbyweb](https://github.com/saibbyweb)
17+
* docs: fix broken link to rawResult #11459 [chhiring90](https://github.com/chhiring90)
18+
119
6.2.4 / 2022-02-28
220
==================
321
* fix(query): correctly return full deleteOne(), deleteMany() result #11211

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.2.4",
4+
"version": "6.2.5",
55
"author": "Guillermo Rauch <[email protected]>",
66
"keywords": [
77
"mongodb",

0 commit comments

Comments
 (0)