dependabot npm(deps): bump mongoose from 6.1.10 to 6.2.0
Bumps mongoose from 6.1.10 to 6.2.0.
Release notes
Sourced from mongoose's releases.
6.2.0 / 2022-02-02
- feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 AbdelrahmanHafez
- feat(query): cast literals in
$expr
where possible #10663- feat(schema+mongoose): add pluginTags to allow applying global plugins to only schemas with matching tags #9780
- feat(discriminator): support overwriteModels:true to reuse discriminator names #11244 #10931 IslandRhythms
- feat(index.d.ts): add DocType generic param to Model functions that return queries to better support projections #11156
- feat(error): export MongooseServerSelectionError #11202
- feat(schematype): add validators, path, isRequired to public API and TypeScript types #11139
- fix(model): make exists(...) return lean document with _id or null instead of boolean #11142 AbdelrahmanHafez
- fix(model): support storing versionKey in nested paths #10980
- fix(index.d.ts): add options to
bulkSave()
type def #11201 Uzlopak- fix(index.d.ts): better support for query projections #11210 EugeneKorshenko
Changelog
Sourced from mongoose's changelog.
6.2.0 / 2022-02-02
- feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 AbdelrahmanHafez
- feat(query): cast literals in
$expr
where possible #10663- feat(schema+mongoose): add pluginTags to allow applying global plugins to only schemas with matching tags #9780
- feat(discriminator): support overwriteModels:true to reuse discriminator names #11244 #10931 IslandRhythms
- feat(index.d.ts): add DocType generic param to Model functions that return queries to better support projections #11156
- feat(error): export MongooseServerSelectionError #11202
- feat(schematype): add validators, path, isRequired to public API and TypeScript types #11139
- fix(model): make exists(...) return lean document with _id or null instead of boolean #11142 AbdelrahmanHafez
- fix(model): support storing versionKey in nested paths #10980
- fix(index.d.ts): add options to
bulkSave()
type def #11201 Uzlopak- fix(index.d.ts): better support for query projections #11210 EugeneKorshenko
Commits
-
bea37de
chore: release 6.2.0 -
998e778
Merge pull request #11316 from Automattic/6.2 -
7f3a43e
Merge pull request #11315 from Automattic/revert-11222-syncIndexes-global-option -
950ba35
Revert "Sync indexes global option" -
7fe18af
Merge branch 'master' into 6.2 -
ae4faa1
fix: correctly revert #11236 -
f67e1ca
chore: revert #11236 -
6f8accb
Merge pull request #11266 from AbdelrahmanHafez/gh-11039 -
cc6a697
Merge branch 'master' into 6.2 -
a367262
fix failing tests - Additional commits viewable in compare view