Skip to content

Commit

Permalink
chore: release 6.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 9, 2022
1 parent 3441ba0 commit f148e62
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
6.2.5 / 2022-03-09
==================
* fix(mongoose): add isObjectIdOrHexString() to better capture the most common use case for `isValidObjectId()` #11419
* fix(query): prevent modifying discriminator key in updates using operators other than `$set` #11456
* fix(populate+types): call foreignField functions with doc as 1st param, better typings for `localField` and `foreignField` functions #11321
* fix(populate): return an array when using populate count on an array localField #11307
* fix(query): avoid error when using $not with arrays #11467
* perf: only deep clone validators if necessary #11412 [Uzlopak](https://github.com/Uzlopak)
* fix(types): rename definition files to lowercase to avoid typescript bug #11469
* fix(types): aggregate.sort() accepts a string but also `{ field: 'asc'|'ascending'|'desc'|'descending' }` #11479 [simonbrunel](https://github.com/simonbrunel)
* fix(types): extract and refactor aggregationcursor and querycursor #11488 [Uzlopak](https://github.com/Uzlopak)
* fix(types): extract and refactor schemaoptions #11484 [Uzlopak](https://github.com/Uzlopak)
* fix(types): make first param to `Query.prototype.populate()` a string #11475 [minhthinhls](https://github.com/minhthinhls)
* fix(types): improve type checking for doc arrays in schema definitions #11241
* docs: fix length comparaison in lean.test.js #11493 [zazapeta](https://github.com/zazapeta)
* docs(timestamps): fix typo #11481 [saibbyweb](https://github.com/saibbyweb)
* docs: fix broken link to rawResult #11459 [chhiring90](https://github.com/chhiring90)

6.2.4 / 2022-02-28
==================
* fix(query): correctly return full deleteOne(), deleteMany() result #11211
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": "6.2.4",
"version": "6.2.5",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit f148e62

Please sign in to comment.