Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2021

Bumps mongoose from 5.13.0 to 6.0.6.

Changelog

Sourced from mongoose's changelog.

6.0.6 / 2021-09-15

  • perf(index.d.ts): streamline SchemaDefinitionType and SchemaTypeOptions to reduce number of instantiations and speed up lib checking #10349
  • perf(document): make $locals a getter/setter, avoid creating unnecessary undefined properties in Document constructor, remove unnecessary event listeners #10400
  • fix(connection): use username parameter for MongoDB driver instead of user #10727 saveman71
  • fix(update): handle casting $or and $and in array filters #10696
  • fix(connection): allow calling connection helpers before calling mongoose.connect() #10706
  • fix(document): correctly handle subpaths of arrays that contain non-alphanumeric chars like - #10709
  • fix(index.d.ts): correct return value for findOneAndUpdate(), findByIdAndUpdate() to support query helpers #10658
  • fix(index.d.ts): add missing methods to ValidationError & ValidatorError classes #10725 medfreeman
  • perf(subdocument): make internal $isSingleNested and $isDocumentArrayElement properties constants on the prototype rather than setting them on every instance #10400
  • docs: improve Document#populate documentation, tests #10728 saveman71

6.0.5 / 2021-09-06

  • fix(model): allow calling Model.validate() static with POJO array #10669
  • fix(cast): let $expr through in query filters if strict mode enabled #10662
  • fix(map): propagate flattenMaps option down to nested maps #10653
  • fix(setDefaultsOnInsert): avoid adding unnecessary auto _id to $setOnInsert #10646
  • fix(schema): support object with values and message syntax for Number enums #10648
  • fix(index.d.ts): fix Document#populate() type #10651 thiagokisaki
  • fix(index.d.ts): allow using $in and $nin on array paths #10605
  • fix(index.d.ts): make _id required in query results and return value from create() #10657
  • docs: update deprecations.md to reflect version 6 #10673 multiwebinc
  • docs: fix typo in queries.md #10681 yogabonito
  • docs: fix typo in models.md #10680 yogabonito
  • ci: add test for ubuntu-20.04 #10679 YC

5.13.9 / 2021-09-06

  • fix(populate): avoid setting empty array on lean document when populate result is undefined #10599
  • fix(document): make depopulate() handle populated paths underneath document arrays #10592
  • fix: peg @​types/bson version to 1.x || 4.0.x to avoid stubbed 4.2.x release #10678
  • fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with extends Document and any #10647
  • fix(index.d.ts): allow specifying weights as an IndexOption #10586
  • fix: upgrade to mpath v0.8.4 re: security issue #10683

6.0.4 / 2021-09-01

  • fix(schema): handle maps of maps #10644
  • fix: avoid setting defaults on insert on a path whose subpath is referenced in the update #10624
  • fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with extends Document and any #10617
  • fix(index.d.ts): allow using type: [documentDefinition] when defining a doc array in a schema #10605
  • docs: remove useNewUrlParser, useUnifiedTopology, some other legacy options from docs #10631 #10632
  • docs(defaults): clarify that setDefaultsOnInsert is true by default in 6.x #10643
  • test: use async/await instead of co #10633 AbdelrahmanHafez

6.0.3 / 2021-08-30

  • fix: handle buffering with find() now that find() no longer accepts a callback #10639 #10634 #10610

... (truncated)

Commits
  • 445804a chore: release 6.0.6
  • bf64ed5 Merge pull request #10670 from AbdelrahmanHafez/refactor-callbacks-async-await
  • 168e498 Merge branch 'master' of github.com:Automattic/mongoose
  • 73e461e docs(deprecations): remove useUnifiedTopology, useNewUrlParser, useCreateInde...
  • 530e105 Merge pull request #10725 from medfreeman/fix-validation-classes-types
  • 04b4d07 Merge pull request #10727 from saveman71/fix-10726
  • 8bc8f5b Merge pull request #10728 from saveman71/better-document-populate-doc
  • 007842e fix(update): handle casting $or and $and in array filters
  • cdb2dc0 Improve Document#populate documentation, tests
  • c9f5992 Fix username parameter for MongoDB driver
  • 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.0 to 6.0.6.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.13.0...6.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 16, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 21, 2021

Superseded by #182.

@dependabot dependabot bot closed this Sep 21, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/services/bot/mongoose-6.0.6 branch September 21, 2021 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant