build(deps): bump mongoose from 8.9.0 to 8.9.2 #590

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/mongoose-8.9.2 into main 2024-12-21 15:48:45 -08:00
dependabot[bot] commented 2024-12-21 15:47:48 -08:00 (Migrated from github.com)

Bumps mongoose from 8.9.0 to 8.9.2.

Release notes

Sourced from mongoose's releases.

8.9.2 / 2024-12-19

  • fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name #15112 #15109
  • fix(map): clean modified subpaths when overwriting values in map of subdocs #15114 #15108
  • fix(aggregate): pull session from transaction local storage for aggregation cursors #15094 IchirokuXVI
  • types: correctly handle union types in BufferToBinary and related helpers #15103 #15102 #15057
  • types: add UUID to RefType #15115 #15101
  • docs: remove link to Mongoose 5.x docs from dropdown #15116
  • docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() #15113 #15107

8.9.1 / 2024-12-16

  • fix(connection): remove heartbeat check in load balanced mode #15089 #15042 #14812
  • fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs #15099 #15088 #15092
  • fix(model): handle discriminators in castObject() #15096 #15075
  • fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call #15093 #15056
  • fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc #15080 #15048
  • fix(document+schema): improve error message for get() on invalid path #15098 #15071
  • docs: remove more callback doc references & some small other changes #15095
Changelog

Sourced from mongoose's changelog.

8.9.2 / 2024-12-19

  • fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name #15112 #15109
  • fix(map): clean modified subpaths when overwriting values in map of subdocs #15114 #15108
  • fix(aggregate): pull session from transaction local storage for aggregation cursors #15094 IchirokuXVI
  • types: correctly handle union types in BufferToBinary and related helpers #15103 #15102 #15057
  • types: add UUID to RefType #15115 #15101
  • docs: remove link to Mongoose 5.x docs from dropdown #15116
  • docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() #15113 #15107

8.9.1 / 2024-12-16

  • fix(connection): remove heartbeat check in load balanced mode #15089 #15042 #14812
  • fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs #15099 #15088 #15092
  • fix(model): handle discriminators in castObject() #15096 #15075
  • fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call #15093 #15056
  • fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc #15080 #15048
  • fix(document+schema): improve error message for get() on invalid path #15098 #15071
  • docs: remove more callback doc references & some small other changes #15095
Commits

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.0 to 8.9.2. <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.2 / 2024-12-19</h1> <ul> <li>fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name <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(map): clean modified subpaths when overwriting values in map of subdocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15114">#15114</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15108">#15108</a></li> <li>fix(aggregate): pull session from transaction local storage for aggregation cursors <a href="https://redirect.github.com/Automattic/mongoose/issues/15094">#15094</a> <a href="https://github.com/IchirokuXVI">IchirokuXVI</a></li> <li>types: correctly handle union types in BufferToBinary and related helpers <a href="https://redirect.github.com/Automattic/mongoose/issues/15103">#15103</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15102">#15102</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15057">#15057</a></li> <li>types: add UUID to RefType <a href="https://redirect.github.com/Automattic/mongoose/issues/15115">#15115</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15101">#15101</a></li> <li>docs: remove link to Mongoose 5.x docs from dropdown <a href="https://redirect.github.com/Automattic/mongoose/issues/15116">#15116</a></li> <li>docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() <a href="https://redirect.github.com/Automattic/mongoose/issues/15113">#15113</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15107">#15107</a></li> </ul> <h1>8.9.1 / 2024-12-16</h1> <ul> <li>fix(connection): remove heartbeat check in load balanced mode <a href="https://redirect.github.com/Automattic/mongoose/issues/15089">#15089</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15042">#15042</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14812">#14812</a></li> <li>fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15099">#15099</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15088">#15088</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15092">#15092</a></li> <li>fix(model): handle discriminators in castObject() <a href="https://redirect.github.com/Automattic/mongoose/issues/15096">#15096</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15075">#15075</a></li> <li>fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call <a href="https://redirect.github.com/Automattic/mongoose/issues/15093">#15093</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15056">#15056</a></li> <li>fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc <a href="https://redirect.github.com/Automattic/mongoose/issues/15080">#15080</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15048">#15048</a></li> <li>fix(document+schema): improve error message for get() on invalid path <a href="https://redirect.github.com/Automattic/mongoose/issues/15098">#15098</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15071">#15071</a></li> <li>docs: remove more callback doc references &amp; some small other changes <a href="https://redirect.github.com/Automattic/mongoose/issues/15095">#15095</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.2 / 2024-12-19</h1> <ul> <li>fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name <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(map): clean modified subpaths when overwriting values in map of subdocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15114">#15114</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15108">#15108</a></li> <li>fix(aggregate): pull session from transaction local storage for aggregation cursors <a href="https://redirect.github.com/Automattic/mongoose/issues/15094">#15094</a> <a href="https://github.com/IchirokuXVI">IchirokuXVI</a></li> <li>types: correctly handle union types in BufferToBinary and related helpers <a href="https://redirect.github.com/Automattic/mongoose/issues/15103">#15103</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15102">#15102</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15057">#15057</a></li> <li>types: add UUID to RefType <a href="https://redirect.github.com/Automattic/mongoose/issues/15115">#15115</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15101">#15101</a></li> <li>docs: remove link to Mongoose 5.x docs from dropdown <a href="https://redirect.github.com/Automattic/mongoose/issues/15116">#15116</a></li> <li>docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() <a href="https://redirect.github.com/Automattic/mongoose/issues/15113">#15113</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15107">#15107</a></li> </ul> <h1>8.9.1 / 2024-12-16</h1> <ul> <li>fix(connection): remove heartbeat check in load balanced mode <a href="https://redirect.github.com/Automattic/mongoose/issues/15089">#15089</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15042">#15042</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14812">#14812</a></li> <li>fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15099">#15099</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15088">#15088</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15092">#15092</a></li> <li>fix(model): handle discriminators in castObject() <a href="https://redirect.github.com/Automattic/mongoose/issues/15096">#15096</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15075">#15075</a></li> <li>fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call <a href="https://redirect.github.com/Automattic/mongoose/issues/15093">#15093</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15056">#15056</a></li> <li>fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc <a href="https://redirect.github.com/Automattic/mongoose/issues/15080">#15080</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15048">#15048</a></li> <li>fix(document+schema): improve error message for get() on invalid path <a href="https://redirect.github.com/Automattic/mongoose/issues/15098">#15098</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15071">#15071</a></li> <li>docs: remove more callback doc references &amp; some small other changes <a href="https://redirect.github.com/Automattic/mongoose/issues/15095">#15095</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/efae3baec02a9b0a0660e2e35e154f0e6309d297"><code>efae3ba</code></a> chore: release 8.9.2</li> <li><a href="https://github.com/Automattic/mongoose/commit/4317850d6b75f83a42e20756af5553ee9c4de7f3"><code>4317850</code></a> docs: fix markdown lint</li> <li><a href="https://github.com/Automattic/mongoose/commit/3b594a6038b8302098e5c3b73f8bc634173c4d7b"><code>3b594a6</code></a> fix dangling merge conflict in changelog</li> <li><a href="https://github.com/Automattic/mongoose/commit/6375e66faeab96ba917cf23f78c102c7f8d8d0a3"><code>6375e66</code></a> Merge branch '7.x'</li> <li><a href="https://github.com/Automattic/mongoose/commit/c53668e1271429fd0c8936a376f2152c08561733"><code>c53668e</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15116">#15116</a> from Automattic/vkarpov15/remove-5x</li> <li><a href="https://github.com/Automattic/mongoose/commit/e436f6a2c559c8a3db0eeeedefaa18e8e64e796d"><code>e436f6a</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15115">#15115</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15101">gh-15101</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/c00b674243667de49bb19b2ca924ab490d044da8"><code>c00b674</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15103">#15103</a> from Automattic/vkarpov15/gh-15057-2</li> <li><a href="https://github.com/Automattic/mongoose/commit/c39315447dcd8ddeaa559f87f277f78a64ca5f8c"><code>c393154</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15114">#15114</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15108">gh-15108</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/edcfd3db275343794d74b85dc6a4fd24afd73875"><code>edcfd3d</code></a> docs: remove link to Mongoose 5.x docs from dropdown</li> <li><a href="https://github.com/Automattic/mongoose/commit/585abde9f671e9c5827eed2b2c0be89a9a0002a1"><code>585abde</code></a> types: add UUID to RefType</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.9.0...8.9.2">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.0&new-version=8.9.2)](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 2024-12-21 15:47:54 -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.