Skip to content

Commit bea37de

Browse files
committed
chore: release 6.2.0
1 parent 998e778 commit bea37de

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
6.2.0 / 2022-02-02
2+
==================
3+
* feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
4+
* feat(query): cast literals in `$expr` where possible #10663
5+
* feat(schema+mongoose): add pluginTags to allow applying global plugins to only schemas with matching tags #9780
6+
* feat(discriminator): support overwriteModels:true to reuse discriminator names #11244 #10931 [IslandRhythms](https://github.com/IslandRhythms)
7+
* feat(index.d.ts): add DocType generic param to Model functions that return queries to better support projections #11156
8+
* feat(error): export MongooseServerSelectionError #11202
9+
* feat(schematype): add validators, path, isRequired to public API and TypeScript types #11139
10+
* fix(model): make exists(...) return lean document with _id or null instead of boolean #11142 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
11+
* fix(model): support storing versionKey in nested paths #10980
12+
* fix(index.d.ts): add options to `bulkSave()` type def #11201 [Uzlopak](https://github.com/Uzlopak)
13+
* fix(index.d.ts): better support for query projections #11210 [EugeneKorshenko](https://github.com/EugeneKorshenko)
14+
115
6.1.10 / 2022-02-01
216
===================
317
* fix(mongoose): correctly handle destructured isValidObjectId #11304

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

0 commit comments

Comments
 (0)