build(deps): bump mongoose from 8.9.2 to 8.9.3 #746

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/mongoose-8.9.3 into main 2025-01-06 14:36:19 -08:00
dependabot[bot] commented 2025-01-06 09:05:06 -08:00 (Migrated from github.com)

Bumps mongoose from 8.9.2 to 8.9.3.

Release notes

Sourced from mongoose's releases.

8.9.3 / 2024-12-30

  • fix(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135 #15112 #15109
  • fix(model): handle document array paths set to non-array values in Model.castObject() #15124 #15075
  • fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas #15131 #15071
  • fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #15126
  • perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs #15136 #10449
  • types: make BufferToBinary avoid Document instances #15123 #15122
  • types(model+query): avoid stripping out virtuals when calling populate with paths generic #15132 #15111
  • types(schema): add missing removeIndex #15134
  • types: add cleanIndexes() to IndexManager interface #15127
  • docs: move search endpoint to netlify #15119
Changelog

Sourced from mongoose's changelog.

8.9.3 / 2024-12-30

  • fix(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135 #15112 #15109
  • fix(model): handle document array paths set to non-array values in Model.castObject() #15124 #15075
  • fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas #15131 #15071
  • fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #15126
  • perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs #15136 #10449
  • types: make BufferToBinary avoid Document instances #15123 #15122
  • types(model+query): avoid stripping out virtuals when calling populate with paths generic #15132 #15111
  • types(schema): add missing removeIndex #15134
  • types: add cleanIndexes() to IndexManager interface #15127
  • docs: move search endpoint to netlify #15119
Commits
  • f025b29 chore: release 8.9.3
  • c62b72e Merge pull request #15135 from Automattic/vkarpov15/gh-15109-2
  • 8a0f581 Merge pull request #15132 from Automattic/vkarpov15/gh-15111
  • 0bf4563 Merge pull request #15131 from Automattic/vkarpov15/gh-15071-2
  • e3c8756 Update test/types/populate.test.ts
  • b7e1828 Update test/types/populate.test.ts
  • a5e4e61 test: add missing assertion to assert no further warnings
  • ddd95b8 Merge pull request #15136 from Automattic/vkarpov15/gh-10449-2
  • 494df86 Merge pull request #15134 from Automattic/vkarpov15/schema-removeindex
  • 5419077 perf(cursor): clear the stack every time if using populate with batchSize to ...
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 8.9.2 to 8.9.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/releases">mongoose's releases</a>.</em></p> <blockquote> <h1>8.9.3 / 2024-12-30</h1> <ul> <li>fix(schema): make duplicate index error a warning for now to prevent blocking upgrading <a href="https://redirect.github.com/Automattic/mongoose/issues/15135">#15135</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15112">#15112</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15109">#15109</a></li> <li>fix(model): handle document array paths set to non-array values in Model.castObject() <a href="https://redirect.github.com/Automattic/mongoose/issues/15124">#15124</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15075">#15075</a></li> <li>fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas <a href="https://redirect.github.com/Automattic/mongoose/issues/15131">#15131</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15071">#15071</a></li> <li>fix(model): avoid throwing unnecessary error if updateOne() returns null in save() <a href="https://redirect.github.com/Automattic/mongoose/issues/15126">#15126</a></li> <li>perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs <a href="https://redirect.github.com/Automattic/mongoose/issues/15136">#15136</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/10449">#10449</a></li> <li>types: make BufferToBinary avoid Document instances <a href="https://redirect.github.com/Automattic/mongoose/issues/15123">#15123</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15122">#15122</a></li> <li>types(model+query): avoid stripping out virtuals when calling populate with paths generic <a href="https://redirect.github.com/Automattic/mongoose/issues/15132">#15132</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15111">#15111</a></li> <li>types(schema): add missing removeIndex <a href="https://redirect.github.com/Automattic/mongoose/issues/15134">#15134</a></li> <li>types: add cleanIndexes() to IndexManager interface <a href="https://redirect.github.com/Automattic/mongoose/issues/15127">#15127</a></li> <li>docs: move search endpoint to netlify <a href="https://redirect.github.com/Automattic/mongoose/issues/15119">#15119</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md">mongoose's changelog</a>.</em></p> <blockquote> <h1>8.9.3 / 2024-12-30</h1> <ul> <li>fix(schema): make duplicate index error a warning for now to prevent blocking upgrading <a href="https://redirect.github.com/Automattic/mongoose/issues/15135">#15135</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15112">#15112</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15109">#15109</a></li> <li>fix(model): handle document array paths set to non-array values in Model.castObject() <a href="https://redirect.github.com/Automattic/mongoose/issues/15124">#15124</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15075">#15075</a></li> <li>fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas <a href="https://redirect.github.com/Automattic/mongoose/issues/15131">#15131</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15071">#15071</a></li> <li>fix(model): avoid throwing unnecessary error if updateOne() returns null in save() <a href="https://redirect.github.com/Automattic/mongoose/issues/15126">#15126</a></li> <li>perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs <a href="https://redirect.github.com/Automattic/mongoose/issues/15136">#15136</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/10449">#10449</a></li> <li>types: make BufferToBinary avoid Document instances <a href="https://redirect.github.com/Automattic/mongoose/issues/15123">#15123</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15122">#15122</a></li> <li>types(model+query): avoid stripping out virtuals when calling populate with paths generic <a href="https://redirect.github.com/Automattic/mongoose/issues/15132">#15132</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15111">#15111</a></li> <li>types(schema): add missing removeIndex <a href="https://redirect.github.com/Automattic/mongoose/issues/15134">#15134</a></li> <li>types: add cleanIndexes() to IndexManager interface <a href="https://redirect.github.com/Automattic/mongoose/issues/15127">#15127</a></li> <li>docs: move search endpoint to netlify <a href="https://redirect.github.com/Automattic/mongoose/issues/15119">#15119</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/f025b29f2b7ae06b4bb96959eac492c4fbf1a011"><code>f025b29</code></a> chore: release 8.9.3</li> <li><a href="https://github.com/Automattic/mongoose/commit/c62b72eeceeb080b7059f9f5fa67cccac329a249"><code>c62b72e</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15135">#15135</a> from Automattic/vkarpov15/gh-15109-2</li> <li><a href="https://github.com/Automattic/mongoose/commit/8a0f581144beeef6d3c736608dfd35078ae10f7c"><code>8a0f581</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15132">#15132</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15111">gh-15111</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/0bf456374265c13aab95091ad2d89c8071cf0f05"><code>0bf4563</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15131">#15131</a> from Automattic/vkarpov15/gh-15071-2</li> <li><a href="https://github.com/Automattic/mongoose/commit/e3c8756ec3851aa9fead3f7888db7647065624e5"><code>e3c8756</code></a> Update test/types/populate.test.ts</li> <li><a href="https://github.com/Automattic/mongoose/commit/b7e1828c1a8f7b0d0e6e6ab53b58f75a62306849"><code>b7e1828</code></a> Update test/types/populate.test.ts</li> <li><a href="https://github.com/Automattic/mongoose/commit/a5e4e61f76b9c90ac3ac005fb55f5e944e1ed94d"><code>a5e4e61</code></a> test: add missing assertion to assert no further warnings</li> <li><a href="https://github.com/Automattic/mongoose/commit/ddd95b888cec7a1aeaba5127802b3712ef06c184"><code>ddd95b8</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15136">#15136</a> from Automattic/vkarpov15/gh-10449-2</li> <li><a href="https://github.com/Automattic/mongoose/commit/494df86f3188e3b5abbc7d0173f7120b4b4718f9"><code>494df86</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15134">#15134</a> from Automattic/vkarpov15/schema-removeindex</li> <li><a href="https://github.com/Automattic/mongoose/commit/54190771bc45b1533fc2c8da11a957235a90c85e"><code>5419077</code></a> perf(cursor): clear the stack every time if using populate with batchSize to ...</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.9.2...8.9.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongoose&package-manager=npm_and_yarn&previous-version=8.9.2&new-version=8.9.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details>
coderabbitai[bot] commented 2025-01-06 09:05:12 -08:00 (Migrated from github.com)

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.
<!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: skip review by coderabbit.ai --> > [!IMPORTANT] > ## Review skipped > > Bot user detected. > > To trigger a single review, invoke the `@coderabbitai review` command. > > You can disable this status message by setting the `reviews.review_status` to `false` in the CodeRabbit configuration file. <!-- end of auto-generated comment: skip review by coderabbit.ai --> <!-- tips_start --> --- <details> <summary>🪧 Tips</summary> ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit <commit_id>, please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR. ([Beta](https://docs.coderabbit.ai/early-access#beta)) - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### Documentation and Community - Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements. </details> <!-- tips_end -->
Sign in to join this conversation.
No description provided.