Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): bump mongoose from 8.5.1 to 8.5.3 (#1260)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.5.1 to 8.5.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.5.3 / 2024-08-13</h1> <ul> <li>fix(document): call required functions on subdocuments underneath nested paths with correct context <a href="https://redirect.github.com/Automattic/mongoose/issues/14801">#14801</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14788">#14788</a></li> <li>fix(populate): avoid throwing error when no result and <code>lean()</code> set <a href="https://redirect.github.com/Automattic/mongoose/issues/14799">#14799</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14794">#14794</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14759">#14759</a> <a href="https://github.com/MohOraby">MohOraby</a></li> <li>fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility <a href="https://redirect.github.com/Automattic/mongoose/issues/14774">#14774</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14771">#14771</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14623">#14623</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14394">#14394</a></li> <li>types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & <a href="https://redirect.github.com/Automattic/mongoose/issues/14800">#14800</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14793">#14793</a></li> <li>types: support schema type inference based on schema options timestamps as well <a href="https://redirect.github.com/Automattic/mongoose/issues/14773">#14773</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13215">#13215</a> <a href="https://github.com/ark23CIS">ark23CIS</a></li> <li>types(cursor): indicate that cursor.next() can return null <a href="https://redirect.github.com/Automattic/mongoose/issues/14798">#14798</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14787">#14787</a></li> <li>types: allow mongoose.connection.db to be undefined <a href="https://redirect.github.com/Automattic/mongoose/issues/14797">#14797</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14789">#14789</a></li> <li>docs: add schema type widening advice <a href="https://redirect.github.com/Automattic/mongoose/issues/14790">#14790</a> <a href="https://github.com/JstnMcBrd">JstnMcBrd</a></li> </ul> <h1>8.5.2 / 2024-07-30</h1> <ul> <li>perf(clone): avoid further unnecessary checks if cloning a primitive value <a href="https://redirect.github.com/Automattic/mongoose/issues/14762">#14762</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14394">#14394</a></li> <li>fix: allow setting document array default to null <a href="https://redirect.github.com/Automattic/mongoose/issues/14769">#14769</a> <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>fix(model): support session: null option for save() to opt out of automatic session option with transactionAsyncLocalStorage <a href="https://redirect.github.com/Automattic/mongoose/issues/14744">#14744</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14736">#14736</a></li> <li>fix(model+document): avoid depopulating manually populated doc as getter value <a href="https://redirect.github.com/Automattic/mongoose/issues/14760">#14760</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14759">#14759</a></li> <li>fix: correct shardkey access in buildBulkWriteOps <a href="https://redirect.github.com/Automattic/mongoose/issues/14753">#14753</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14752">#14752</a> <a href="https://github.com/adf0nt3s">adf0nt3s</a></li> <li>fix(query): handle casting $switch in $expr <a href="https://redirect.github.com/Automattic/mongoose/issues/14755">#14755</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14751">#14751</a></li> <li>types: allow calling SchemaType.cast() without parent and init parameters <a href="https://redirect.github.com/Automattic/mongoose/issues/14756">#14756</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14748">#14748</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/9076">#9076</a></li> <li>docs: fix a wrong example in v6 migration guide <a href="https://redirect.github.com/Automattic/mongoose/issues/14758">#14758</a> <a href="https://github.com/abdelrahman-elkady">abdelrahman-elkady</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.3 / 2024-08-13</h1> <ul> <li>fix(document): call required functions on subdocuments underneath nested paths with correct context <a href="https://redirect.github.com/Automattic/mongoose/issues/14801">#14801</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14788">#14788</a></li> <li>fix(populate): avoid throwing error when no result and <code>lean()</code> set <a href="https://redirect.github.com/Automattic/mongoose/issues/14799">#14799</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14794">#14794</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14759">#14759</a> <a href="https://github.com/MohOraby">MohOraby</a></li> <li>fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility <a href="https://redirect.github.com/Automattic/mongoose/issues/14774">#14774</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14771">#14771</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14623">#14623</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14394">#14394</a></li> <li>types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & <a href="https://redirect.github.com/Automattic/mongoose/issues/14800">#14800</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14793">#14793</a></li> <li>types: support schema type inference based on schema options timestamps as well <a href="https://redirect.github.com/Automattic/mongoose/issues/14773">#14773</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13215">#13215</a> <a href="https://github.com/ark23CIS">ark23CIS</a></li> <li>types(cursor): indicate that cursor.next() can return null <a href="https://redirect.github.com/Automattic/mongoose/issues/14798">#14798</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14787">#14787</a></li> <li>types: allow mongoose.connection.db to be undefined <a href="https://redirect.github.com/Automattic/mongoose/issues/14797">#14797</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14789">#14789</a></li> <li>docs: add schema type widening advice <a href="https://redirect.github.com/Automattic/mongoose/issues/14790">#14790</a> <a href="https://github.com/JstnMcBrd">JstnMcBrd</a></li> </ul> <h1>8.5.2 / 2024-07-30</h1> <ul> <li>perf(clone): avoid further unnecessary checks if cloning a primitive value <a href="https://redirect.github.com/Automattic/mongoose/issues/14762">#14762</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14394">#14394</a></li> <li>fix: allow setting document array default to null <a href="https://redirect.github.com/Automattic/mongoose/issues/14769">#14769</a> <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>fix(model): support session: null option for save() to opt out of automatic session option with transactionAsyncLocalStorage <a href="https://redirect.github.com/Automattic/mongoose/issues/14744">#14744</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14736">#14736</a></li> <li>fix(model+document): avoid depopulating manually populated doc as getter value <a href="https://redirect.github.com/Automattic/mongoose/issues/14760">#14760</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14759">#14759</a></li> <li>fix: correct shardkey access in buildBulkWriteOps <a href="https://redirect.github.com/Automattic/mongoose/issues/14753">#14753</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14752">#14752</a> <a href="https://github.com/adf0nt3s">adf0nt3s</a></li> <li>fix(query): handle casting $switch in $expr <a href="https://redirect.github.com/Automattic/mongoose/issues/14755">#14755</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14751">#14751</a></li> <li>types: allow calling SchemaType.cast() without parent and init parameters <a href="https://redirect.github.com/Automattic/mongoose/issues/14756">#14756</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14748">#14748</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/9076">#9076</a></li> <li>docs: fix a wrong example in v6 migration guide <a href="https://redirect.github.com/Automattic/mongoose/issues/14758">#14758</a> <a href="https://github.com/abdelrahman-elkady">abdelrahman-elkady</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/7c5b62b13ae6d818debd7d56ed629fe9bb8b84ae"><code>7c5b62b</code></a> chore: release 8.5.3</li> <li><a href="https://github.com/Automattic/mongoose/commit/2291182b512eab4a18057ae80d46e3ae5fe353a3"><code>2291182</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14803">#14803</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/1635">gh-1635</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/c3bd03e74db62d557483a4a6c25c00333a8bf09b"><code>c3bd03e</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14800">#14800</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14793">gh-14793</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/9742d5a8a83da46a97593d3e2a4a44a5cf6515e5"><code>9742d5a</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14801">#14801</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14788">gh-14788</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/28b50f01f90717ab896a3ea10d8526805250fab0"><code>28b50f0</code></a> fix(document): make sure depopulate does not convert hydrated arrays to vanil...</li> <li><a href="https://github.com/Automattic/mongoose/commit/1472719741a6e398a9e3da5e41003578840b4517"><code>1472719</code></a> fix(document): call required functions on subdocuments underneath nested path...</li> <li><a href="https://github.com/Automattic/mongoose/commit/f98b46307fa7a8487b469823c75cbb72e13c8193"><code>f98b463</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14799">#14799</a> from MohOraby/fix/<a href="https://redirect.github.com/Automattic/mongoose/issues/14794">gh-14794</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/a9ff3f1db398d2b0ba2b05f4f02afaffea751435"><code>a9ff3f1</code></a> types: make HydratedSingleSubdocument and HydratedArraySubdocument merge type...</li> <li><a href="https://github.com/Automattic/mongoose/commit/0cb96b92a2bf549c6e8233b68425622f260460bc"><code>0cb96b9</code></a> check if rawDocs[key] and val are instance of Document</li> <li><a href="https://github.com/Automattic/mongoose/commit/4fa87e94e1cb20632e492b0e94a1183ada044b02"><code>4fa87e9</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/14798">#14798</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/14787">gh-14787</a></li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.5.1...8.5.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.5.1&new-version=8.5.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>
- Loading branch information