Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

build(deps): bump mongoose from 5.13.7 to 6.2.2 #131

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 21, 2022

Bumps mongoose from 5.13.7 to 6.2.2.

Release notes

Sourced from mongoose's releases.

6.2.2 / 2022-02-16

  • fix: fix QueryCursor and AggregationCursor compatibility with Node v17.5 #11381 benjamingr
  • fix: better esm support, no necessity for setting allowSyntheticDefaultImports and esModuleInterop #11343 Uzlopak
  • fix(model): apply projection parameter to hydrate() #11375
  • fix: fix issue with creating arrays of length > 10000 #11405 Uzlopak
  • fix(document): minimize single nested subdocs #11247
  • fix(connection): handle reopening base connection with useDb() #11240
  • perf: use property access instead of get() helper where possible #11389 Uzlopak
  • fix: use isArray() instead of instanceof Array #11393 Uzlopak
  • perf: improve performance of cast$expr() #11388 Uzlopak
  • perf: remove startsWith() from isOperator() #11400 Uzlopak
  • fix(index.d.ts): extract PipelineStage into separate file #11368 Uzlopak
  • fix(index.d.ts): fix $search highlight path option type #11373 lmX2015
  • docs: update changelog file to CHANGELOG.md #11365 AbdelrahmanHafez
  • docs: fix broken links #11388 #11377 saibbyweb
  • docs: remove double determiners in connections docs #11340 Erma32

6.2.1 / 2022-02-07

  • perf: improve performance especially of validate and clone #11298 Uzlopak
  • perf: remove regexp-clone #11327 Uzlopak
  • fix(document): handle initing nested properties in non-strict documents #11309
  • fix(query): cast $elemMatch underneath $all #11314
  • fix(populate): respect schema-level strictPopulate option #11290
  • fix: set default for dotted path projection #11293 noseworthy
  • fix(model): correctly handle writeConcern.w = 0 when saving #11300
  • fix(model): throw VersionError when saving with no changes and optimisticConcurrency = true #11295
  • fix(query): avoid adding $each to $addToSet on mixed arrays #11284
  • fix(index.d.ts): allow using type: [Schema.Types.ObjectId] for ObjectId arrays #11194
  • fix(index.d.ts): make Types.DocumentArray TMethodsAndOverrides #11061
  • fix(index.d.ts): support passing generic to createCollection() and collection() for integration with MongoDB Node driver's collection class #11131
  • fix(index.d.ts): add strictPopulate to MongooseOptions #11276
  • docs: mark Mongoose 6 as compatible with MongoDB 4 #11320 JavaScriptBach
  • docs: remove documentation for useNestedStrict #11313 mark-langer
  • docs: add "new" to ObjectId class in aggregate.js docs #11322 JavanPoirier
  • chore: handle eslint configuration in .eslintrc.json #11326 Uzlopak
  • refactor: add parenthesis for constructors in tests #11330 apeltop

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

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.2.2 / 2022-02-16

  • fix: fix QueryCursor and AggregationCursor compatibility with Node v17.5 #11381 benjamingr
  • fix: better esm support, no necessity for setting allowSyntheticDefaultImports and esModuleInterop #11343 Uzlopak
  • fix(model): apply projection parameter to hydrate() #11375
  • fix: fix issue with creating arrays of length > 10000 #11405 Uzlopak
  • fix(document): minimize single nested subdocs #11247
  • fix(connection): handle reopening base connection with useDb() #11240
  • perf: use property access instead of get() helper where possible #11389 Uzlopak
  • fix: use isArray() instead of instanceof Array #11393 Uzlopak
  • perf: improve performance of cast$expr() #11388 Uzlopak
  • perf: remove startsWith() from isOperator() #11400 Uzlopak
  • fix(index.d.ts): extract PipelineStage into separate file #11368 Uzlopak
  • fix(index.d.ts): fix $search highlight path option type #11373 lmX2015
  • docs: update changelog file to CHANGELOG.md #11365 AbdelrahmanHafez
  • docs: fix broken links #11388 #11377 saibbyweb
  • docs: remove double determiners in connections docs #11340 Erma32

6.2.1 / 2022-02-07

  • perf: improve performance especially of validate and clone #11298 Uzlopak
  • perf: remove regexp-clone #11327 Uzlopak
  • fix(document): handle initing nested properties in non-strict documents #11309
  • fix(query): cast $elemMatch underneath $all #11314
  • fix(populate): respect schema-level strictPopulate option #11290
  • fix: set default for dotted path projection #11293 noseworthy
  • fix(model): correctly handle writeConcern.w = 0 when saving #11300
  • fix(model): throw VersionError when saving with no changes and optimisticConcurrency = true #11295
  • fix(query): avoid adding $each to $addToSet on mixed arrays #11284
  • fix(index.d.ts): allow using type: [Schema.Types.ObjectId] for ObjectId arrays #11194
  • fix(index.d.ts): make Types.DocumentArray TMethodsAndOverrides #11061
  • fix(index.d.ts): support passing generic to createCollection() and collection() for integration with MongoDB Node driver's collection class #11131
  • fix(index.d.ts): add strictPopulate to MongooseOptions #11276
  • docs: mark Mongoose 6 as compatible with MongoDB 4 #11320 JavaScriptBach
  • docs: remove documentation for useNestedStrict #11313 mark-langer
  • docs: add "new" to ObjectId class in aggregate.js docs #11322 JavanPoirier
  • chore: handle eslint configuration in .eslintrc.json #11326 Uzlopak
  • refactor: add parenthesis for constructors in tests #11330 apeltop

6.2.0 / 2022-02-02

  • feat: upgrade MongoDB driver to 4.3.1
  • 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

... (truncated)

Commits
  • fb3eb3a chore: release 6.2.2
  • f96c36d Merge pull request #11405 from Uzlopak/call-not-apply
  • 30fd927 chore: update opencollective sponsors
  • fbb73f2 fix broken MongooseArray
  • cf875ee chore: setup node when running tidelift alignment workflow
  • 33feb26 style: fix lint
  • 0221233 Merge pull request #11400 from Uzlopak/improve-aggregate-isOperator
  • 96c067e Merge pull request #11399 from Uzlopak/why-not-ObjectAssign
  • 7c46428 Merge pull request #11393 from Uzlopak/ArrayIsArray
  • d427563 Merge pull request #11368 from Uzlopak/extract-types-PipelineState
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.7 to 6.2.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.13.7...6.2.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 21, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 28, 2022

Superseded by #140.

@dependabot dependabot bot closed this Feb 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-6.2.2 branch February 28, 2022 05:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants