Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 8, 2022

Bumps mongoose from 5.13.14 to 6.3.6.

Release notes

Sourced from mongoose's releases.

6.3.6 / 2022-06-07

  • fix(update): apply timestamps to nested subdocs within $push and $addToSet #11775
  • fix(document): use shallow clone instead of deep clone for toObject() options #11776
  • fix: avoid checking for ObjectId with instanceof #11891 noseworthy
  • fix(types): Allow sorting by text score #11893
  • fix(types): allow schematype get() functions to return undefined #11561
  • fix(types): add Schema.discriminator #11855 Uzlopak
  • fix(types): discriminator generic type not being passed to schema #11898 GCastilho

6.3.5 / 2022-05-30

  • fix(document): avoid infinite recursion when calling toObject() on self-referencing document #11756
  • fix(document): avoid manually populating documents that are manually populated in another doc with different unpopulatedValue #11442
  • fix(document): fix ObjectId conversion for external schemas #11841 coyotte508
  • fix: fix codeql warnings #11817 Uzlopak
  • fix(types): allow passing TVirtuals to Schema class #11543
  • fix(types): Type of Connection.transaction() #11825 dwrss
  • docs(typescript): add coverage for TypeScript query helpers #11709
  • docs: fix documention of error handling #11844 Uzlopak
  • docs: typings mongoose.Error should reference to MongooseError #11850 Uzlopak
  • chore: improve issue templates #11794 Uzlopak
  • chore: use ts-benchmark instead of internal TS benchmarking #11798 mohammad0-0ahmad

6.3.4 / 2022-05-19

  • fix(schema): disallow using schemas with schema-level projection with map subdocuments #11698
  • fix(document): avoid setting nested paths to null when they're undefined #11723
  • fix: allow using comment with findOneAndUpdate(), count(), distinct() and hint with findOneAndUpdate() #11793
  • fix(document): clean modified subpaths when setting nested path to null after modifying subpaths #11764
  • fix(types): allow calling deleteModel() with RegExp in TypeScript #11812
  • docs(typescript): add section on PopulatedDoc to TypeScript populate docs #11685

6.3.3 / 2022-05-09

  • perf: avoid leaking memory when using populate() with QueryCursor because of reusing populate options with _docs #11641
  • fix(types): add _id back for LeanDocument #11769 #11761 taxilian
  • fix(model): add skipValidation option for bulkWrite() to allow skipping validation for insertOne and replaceOne #11663
  • fix(document): correctly $__reset() subdocuments that are under nested paths #11672
  • fix(query): handle casting BSONRegExp instances as RegExps in queries #11597
  • fix: correctly cast $not in $expr #11689
  • perf: optimize size of browser bundle, use buffer v.5.7.1 package to match buffer package of mongodb in browser bundle #11765 Uzlopak
  • docs: Query.populate docs do not include using an array of strings for the path param #11768 #11641 AbdelrahmanHafez
  • chore: add GitHub workflow to close stale "can't reproduce", "help", "needs clarification" issues #11753 Uzlopak
  • chore: remove Makefile dependency for compiling docs #11751 Uzlopak

6.3.2 / 2022-05-02

  • perf: avoid registering event listeners on subdocuments to reduce memory usage #11541
  • fix(setDefaultsOnInsert): set default if sibling of nested path is $set #11668

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.3.6 / 2022-06-07

  • fix(update): apply timestamps to nested subdocs within $push and $addToSet #11775
  • fix(document): use shallow clone instead of deep clone for toObject() options #11776
  • fix: avoid checking for ObjectId with instanceof #11891 noseworthy
  • fix(types): Allow sorting by text score #11893
  • fix(types): allow schematype get() functions to return undefined #11561
  • fix(types): add Schema.discriminator #11855 Uzlopak
  • fix(types): discriminator generic type not being passed to schema #11898 GCastilho

6.3.5 / 2022-05-30

  • fix(document): avoid infinite recursion when calling toObject() on self-referencing document #11756
  • fix(document): avoid manually populating documents that are manually populated in another doc with different unpopulatedValue #11442
  • fix(document): fix ObjectId conversion for external schemas #11841 coyotte508
  • fix: fix codeql warnings #11817 Uzlopak
  • fix(types): allow passing TVirtuals to Schema class #11543
  • fix(types): Type of Connection.transaction() #11825 dwrss
  • docs(typescript): add coverage for TypeScript query helpers #11709
  • docs: fix documention of error handling #11844 Uzlopak
  • docs: typings mongoose.Error should reference to MongooseError #11850 Uzlopak
  • chore: improve issue templates #11794 Uzlopak
  • chore: use ts-benchmark instead of internal TS benchmarking #11798 mohammad0-0ahmad

6.3.4 / 2022-05-19

  • fix(schema): disallow using schemas with schema-level projection with map subdocuments #11698
  • fix(document): avoid setting nested paths to null when they're undefined #11723
  • fix: allow using comment with findOneAndUpdate(), count(), distinct() and hint with findOneAndUpdate() #11793
  • fix(document): clean modified subpaths when setting nested path to null after modifying subpaths #11764
  • fix(types): allow calling deleteModel() with RegExp in TypeScript #11812
  • docs(typescript): add section on PopulatedDoc to TypeScript populate docs #11685

6.3.3 / 2022-05-09

  • perf: avoid leaking memory when using populate() with QueryCursor because of reusing populate options with _docs #11641
  • fix(types): add _id back for LeanDocument #11769 #11761 taxilian
  • fix(model): add skipValidation option for bulkWrite() to allow skipping validation for insertOne and replaceOne #11663
  • fix(document): correctly $__reset() subdocuments that are under nested paths #11672
  • fix(query): handle casting BSONRegExp instances as RegExps in queries #11597
  • fix: correctly cast $not in $expr #11689
  • perf: optimize size of browser bundle, use buffer v.5.7.1 package to match buffer package of mongodb in browser bundle #11765 Uzlopak
  • docs: Query.populate docs do not include using an array of strings for the path param #11768 #11641 AbdelrahmanHafez
  • chore: add GitHub workflow to close stale "can't reproduce", "help", "needs clarification" issues #11753 Uzlopak
  • chore: remove Makefile dependency for compiling docs #11751 Uzlopak

6.3.2 / 2022-05-02

  • perf: avoid registering event listeners on subdocuments to reduce memory usage #11541
  • fix(setDefaultsOnInsert): set default if sibling of nested path is $set #11668

... (truncated)

Commits
  • b0043b7 chore: release 6.3.6
  • 3c46ed0 fix: avoid unnecessarily creating object every time calling schema.discrimina...
  • f82f7df Merge pull request #11855 from Uzlopak/type-discriminator
  • 0612349 Merge pull request #11898 from GCastilho/fix/discriminator-type-inheritance
  • 58746bc fix(types): allow schematype get() functions to return undefined
  • 7791217 Merge branch 'master' of github.com:Automattic/mongoose
  • 958175b fix(update): apply timestamps to nested subdocs within $push and $addToSet
  • 651d02d Merge pull request #11906 from eltociear/patch-4
  • 2c5df90 fix(index): comment typo
  • 54786dc fix(document): use shallow clone instead of deep clone for toObject() options
  • 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.14 to 6.3.6.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.13.14...6.3.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 the dependencies Pull requests that update a dependency file label Jun 8, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 14, 2022

Superseded by #57.

@dependabot dependabot bot closed this Jun 14, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-6.3.6 branch June 14, 2022 03:16
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant