build(deps): bump mongoose from 8.4.5 to 8.5.1 #480

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/mongoose-8.5.1 into main
dependabot[bot] commented 2024-07-15 09:09:33 -07:00 (Migrated from github.com)

Bumps mongoose from 8.4.5 to 8.5.1.

Release notes

Sourced from mongoose's releases.

8.5.1 / 2024-07-12

  • perf(model): performance improvements for insertMany() #14724
  • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #14728 #14722
  • fix(model): handle transactionAsyncLocalStorage option with insertMany() #14743
  • types: make _id required on Document type #14735 #14660
  • types: fix ChangeStream.close to return a Promise like the driver #14740 orgads

8.5.0 / 2024-07-08

  • perf: memoize toJSON / toObject default options #14672
  • feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #14699 #14268
  • feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #14691
  • feat: allow setting array default value to null #14717 #6691
  • feat(mongoose): allow drivers to set global plugins #14682
  • feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #14681 #14611
  • fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #14732 #9885
  • fix(query): remove count() and findOneAndRemove() from query chaining #14692 #14689
  • fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #14679 #8302
  • types(models+query): infer return type from schema for 1-level deep nested paths #14632
  • types(connection): make transaction() return type match the executor function #14661 #14656
  • docs: fix docs links in index.md mirasayon
Changelog

Sourced from mongoose's changelog.

8.5.1 / 2024-07-12

  • perf(model): performance improvements for insertMany() #14724
  • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #14728 #14722
  • fix(model): handle transactionAsyncLocalStorage option with insertMany() #14743
  • types: make _id required on Document type #14735 #14660
  • types: fix ChangeStream.close to return a Promise like the driver #14740 orgads

8.5.0 / 2024-07-08

  • perf: memoize toJSON / toObject default options #14672
  • feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #14699 #14268
  • feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #14691
  • feat: allow setting array default value to null #14717 #6691
  • feat(mongoose): allow drivers to set global plugins #14682
  • feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #14681 #14611
  • fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #14732 #9885
  • fix(query): remove count() and findOneAndRemove() from query chaining #14692 #14689
  • fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #14679 #8302
  • types(models+query): infer return type from schema for 1-level deep nested paths #14632
  • types(connection): make transaction() return type match the executor function #14661 #14656
  • docs: fix docs links in index.md mirasayon
Commits
  • 1972f7f chore: release 8.5.1
  • 70e8e19 Merge pull request #14743 from Automattic/vkarpov15/gh-14738
  • 3646952 fix(model): handle transactionAsyncLocalStorage option with insertMany()
  • 090297e Merge pull request #14740 from orgads/stream-close-promise
  • 0fbe1d4 Fix ChangeStream.close to return a Promise<void> like the driver
  • d30a3b9 Merge pull request #14724 from Automattic/vkarpov15/gh-14719
  • 8223f91 refactor: rename to $__toObjectShallow() based on code review comments
  • 9dc2e8a Merge branch 'master' into vkarpov15/gh-14719
  • 7d742e2 style: fix lint
  • b698c28 perf(model): skip $toObject() for insertMany with only primitive values
  • 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.4.5 to 8.5.1. <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.5.1 / 2024-07-12</h1> <ul> <li>perf(model): performance improvements for insertMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/14724">#14724</a></li> <li>fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value <a href="https://redirect.github.com/Automattic/mongoose/issues/14728">#14728</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14722">#14722</a></li> <li>fix(model): handle transactionAsyncLocalStorage option with insertMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/14743">#14743</a></li> <li>types: make _id required on Document type <a href="https://redirect.github.com/Automattic/mongoose/issues/14735">#14735</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14660">#14660</a></li> <li>types: fix ChangeStream.close to return a Promise<!-- raw HTML omitted --> like the driver <a href="https://redirect.github.com/Automattic/mongoose/issues/14740">#14740</a> <a href="https://github.com/orgads">orgads</a></li> </ul> <h1>8.5.0 / 2024-07-08</h1> <ul> <li>perf: memoize toJSON / toObject default options <a href="https://redirect.github.com/Automattic/mongoose/issues/14672">#14672</a></li> <li>feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() <a href="https://redirect.github.com/Automattic/mongoose/issues/14699">#14699</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14268">#14268</a></li> <li>feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema <a href="https://redirect.github.com/Automattic/mongoose/issues/14691">#14691</a></li> <li>feat: allow setting array default value to null <a href="https://redirect.github.com/Automattic/mongoose/issues/14717">#14717</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/6691">#6691</a></li> <li>feat(mongoose): allow drivers to set global plugins <a href="https://redirect.github.com/Automattic/mongoose/issues/14682">#14682</a></li> <li>feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set <a href="https://redirect.github.com/Automattic/mongoose/issues/14681">#14681</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14611">#14611</a></li> <li>fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() <a href="https://redirect.github.com/Automattic/mongoose/issues/14732">#14732</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/9885">#9885</a></li> <li>fix(query): remove count() and findOneAndRemove() from query chaining <a href="https://redirect.github.com/Automattic/mongoose/issues/14692">#14692</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14689">#14689</a></li> <li>fix: remove default connection if setting createInitialConnection to false after Mongoose instance created <a href="https://redirect.github.com/Automattic/mongoose/issues/14679">#14679</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/8302">#8302</a></li> <li>types(models+query): infer return type from schema for 1-level deep nested paths <a href="https://redirect.github.com/Automattic/mongoose/issues/14632">#14632</a></li> <li>types(connection): make transaction() return type match the executor function <a href="https://redirect.github.com/Automattic/mongoose/issues/14661">#14661</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14656">#14656</a></li> <li>docs: fix docs links in index.md <a href="https://github.com/mirasayon">mirasayon</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.5.1 / 2024-07-12</h1> <ul> <li>perf(model): performance improvements for insertMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/14724">#14724</a></li> <li>fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value <a href="https://redirect.github.com/Automattic/mongoose/issues/14728">#14728</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14722">#14722</a></li> <li>fix(model): handle transactionAsyncLocalStorage option with insertMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/14743">#14743</a></li> <li>types: make _id required on Document type <a href="https://redirect.github.com/Automattic/mongoose/issues/14735">#14735</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14660">#14660</a></li> <li>types: fix ChangeStream.close to return a Promise<!-- raw HTML omitted --> like the driver <a href="https://redirect.github.com/Automattic/mongoose/issues/14740">#14740</a> <a href="https://github.com/orgads">orgads</a></li> </ul> <h1>8.5.0 / 2024-07-08</h1> <ul> <li>perf: memoize toJSON / toObject default options <a href="https://redirect.github.com/Automattic/mongoose/issues/14672">#14672</a></li> <li>feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() <a href="https://redirect.github.com/Automattic/mongoose/issues/14699">#14699</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14268">#14268</a></li> <li>feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema <a href="https://redirect.github.com/Automattic/mongoose/issues/14691">#14691</a></li> <li>feat: allow setting array default value to null <a href="https://redirect.github.com/Automattic/mongoose/issues/14717">#14717</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/6691">#6691</a></li> <li>feat(mongoose): allow drivers to set global plugins <a href="https://redirect.github.com/Automattic/mongoose/issues/14682">#14682</a></li> <li>feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set <a href="https://redirect.github.com/Automattic/mongoose/issues/14681">#14681</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14611">#14611</a></li> <li>fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() <a href="https://redirect.github.com/Automattic/mongoose/issues/14732">#14732</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/9885">#9885</a></li> <li>fix(query): remove count() and findOneAndRemove() from query chaining <a href="https://redirect.github.com/Automattic/mongoose/issues/14692">#14692</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14689">#14689</a></li> <li>fix: remove default connection if setting createInitialConnection to false after Mongoose instance created <a href="https://redirect.github.com/Automattic/mongoose/issues/14679">#14679</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/8302">#8302</a></li> <li>types(models+query): infer return type from schema for 1-level deep nested paths <a href="https://redirect.github.com/Automattic/mongoose/issues/14632">#14632</a></li> <li>types(connection): make transaction() return type match the executor function <a href="https://redirect.github.com/Automattic/mongoose/issues/14661">#14661</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14656">#14656</a></li> <li>docs: fix docs links in index.md <a href="https://github.com/mirasayon">mirasayon</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/1972f7f04ce92bcef097a40d7c223122e56fb029"><code>1972f7f</code></a> chore: release 8.5.1</li> <li><a href="https://github.com/Automattic/mongoose/commit/70e8e193b859edf806fab1fbb8ba75de49028fd5"><code>70e8e19</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14743">#14743</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14738">gh-14738</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/3646952acc46d1d16e792f1a72c293a0150c4494"><code>3646952</code></a> fix(model): handle <code>transactionAsyncLocalStorage</code> option with <code>insertMany()</code></li> <li><a href="https://github.com/Automattic/mongoose/commit/090297e7fc904f4d43f6af953e905939e9ef4669"><code>090297e</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14740">#14740</a> from orgads/stream-close-promise</li> <li><a href="https://github.com/Automattic/mongoose/commit/0fbe1d439b1e42bd5e621dc0b63aa8312f0586c0"><code>0fbe1d4</code></a> Fix ChangeStream.close to return a Promise&lt;void&gt; like the driver</li> <li><a href="https://github.com/Automattic/mongoose/commit/d30a3b9ed14f321a1158cf3625dfe868084e2f26"><code>d30a3b9</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14724">#14724</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14719">gh-14719</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/8223f91fbb6738c625fc99c671c2c4035b7274c6"><code>8223f91</code></a> refactor: rename to $__toObjectShallow() based on code review comments</li> <li><a href="https://github.com/Automattic/mongoose/commit/9dc2e8ac6b00d5f1e69b94a039fd116ca1928481"><code>9dc2e8a</code></a> Merge branch 'master' into vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14719">gh-14719</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/7d742e2175c2a2374779361d2eed5aaf88e7c922"><code>7d742e2</code></a> style: fix lint</li> <li><a href="https://github.com/Automattic/mongoose/commit/b698c2825cc50c8cefec3a8035c8eb7dea7bb80f"><code>b698c28</code></a> perf(model): skip $toObject() for insertMany with only primitive values</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.4.5...8.5.1">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.4.5&new-version=8.5.1)](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>
dependabot[bot] commented 2024-08-05 09:29:18 -07:00 (Migrated from github.com)

Superseded by #495.

Superseded by #495.

Pull request closed

Sign in to join this conversation.
No description provided.