Skip to content

Commit 5e78df0

Browse files
authored
build(deps): Bump mongoose from 8.10.0 to 8.11.0 (#294)
![dependabot[bot]](https://badgen.net/badge/icon/dependabot%5Bbot%5D/green?label=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?label=) [<img width="16" alt="Powered by Pull Request Badge" src="https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)<!-- PR-BADGE: PLEASE DO NOT REMOVE THIS COMMENT --> Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.10.0 to 8.11.0. <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.11.0 / 2025-02-26</h1> <ul> <li>feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors <a href="https://redirect.github.com/Automattic/mongoose/issues/15271">#15271</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15265">#15265</a></li> <li>feat(document): add schemaFieldsOnly option to toObject() and toJSON() <a href="https://redirect.github.com/Automattic/mongoose/issues/15259">#15259</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15218">#15218</a></li> <li>feat: introduce populate ordered option for populating in series rather than in parallel for transactions <a href="https://redirect.github.com/Automattic/mongoose/issues/15239">#15239</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15231">#15231</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15210">#15210</a></li> <li>fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store <a href="https://redirect.github.com/Automattic/mongoose/issues/15230">#15230</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15200">#15200</a></li> </ul> <h1>8.10.2 / 2025-02-25</h1> <ul> <li>fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops <a href="https://redirect.github.com/Automattic/mongoose/issues/15266">#15266</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15265">#15265</a></li> <li>fix(debug): avoid printing trusted symbol in debug output <a href="https://redirect.github.com/Automattic/mongoose/issues/15267">#15267</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15263">#15263</a></li> <li>types: make type inference logic resilient to no Buffer type due to missing <code>@​types/node</code> <a href="https://redirect.github.com/Automattic/mongoose/issues/15261">#15261</a></li> </ul> <h1>8.10.1 / 2025-02-14</h1> <ul> <li>perf(document): only call undoReset() 1x/document <a href="https://redirect.github.com/Automattic/mongoose/issues/15257">#15257</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15255">#15255</a></li> <li>perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations <a href="https://redirect.github.com/Automattic/mongoose/issues/15256">#15256</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15253">#15253</a></li> <li>perf: some more micro optimizations for find() and findOne() <a href="https://redirect.github.com/Automattic/mongoose/issues/14906">#14906</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15250">#15250</a></li> <li>fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles <a href="https://redirect.github.com/Automattic/mongoose/issues/15251">#15251</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15241">#15241</a></li> <li>fix: avoid connection buffering on init if autoCreate: false <a href="https://redirect.github.com/Automattic/mongoose/issues/15247">#15247</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15241">#15241</a></li> <li>fix: infer discriminator key if set in $set with overwriteDiscriminatorKey <a href="https://redirect.github.com/Automattic/mongoose/issues/15243">#15243</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15218">#15218</a></li> <li>types(middleware): make this in document middleware the hydrated doc type, not raw doc type <a href="https://redirect.github.com/Automattic/mongoose/issues/15246">#15246</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15242">#15242</a></li> <li>types(schema): support options parameter to Schema.prototype.discriminator() <a href="https://redirect.github.com/Automattic/mongoose/issues/15249">#15249</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15244">#15244</a></li> <li>types(schema): allow calling Schema.prototype.number() with no message arg <a href="https://redirect.github.com/Automattic/mongoose/issues/15237">#15237</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15236">#15236</a></li> <li>docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument <a href="https://redirect.github.com/Automattic/mongoose/issues/15240">#15240</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15211">#15211</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.11.0 / 2025-02-26</h1> <ul> <li>feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors <a href="https://redirect.github.com/Automattic/mongoose/issues/15271">#15271</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15265">#15265</a></li> <li>feat(document): add schemaFieldsOnly option to toObject() and toJSON() <a href="https://redirect.github.com/Automattic/mongoose/issues/15259">#15259</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15218">#15218</a></li> <li>feat: introduce populate ordered option for populating in series rather than in parallel for transactions <a href="https://redirect.github.com/Automattic/mongoose/issues/15239">#15239</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15231">#15231</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15210">#15210</a></li> <li>fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store <a href="https://redirect.github.com/Automattic/mongoose/issues/15230">#15230</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15200">#15200</a></li> </ul> <h1>8.10.2 / 2025-02-25</h1> <ul> <li>fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops <a href="https://redirect.github.com/Automattic/mongoose/issues/15266">#15266</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15265">#15265</a></li> <li>fix(debug): avoid printing trusted symbol in debug output <a href="https://redirect.github.com/Automattic/mongoose/issues/15267">#15267</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15263">#15263</a></li> <li>types: make type inference logic resilient to no Buffer type due to missing <code>@​types/node</code> <a href="https://redirect.github.com/Automattic/mongoose/issues/15261">#15261</a></li> </ul> <h1>8.10.1 / 2025-02-14</h1> <ul> <li>perf(document): only call undoReset() 1x/document <a href="https://redirect.github.com/Automattic/mongoose/issues/15257">#15257</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15255">#15255</a></li> <li>perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations <a href="https://redirect.github.com/Automattic/mongoose/issues/15256">#15256</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15253">#15253</a></li> <li>perf: some more micro optimizations for find() and findOne() <a href="https://redirect.github.com/Automattic/mongoose/issues/14906">#14906</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15250">#15250</a></li> <li>fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles <a href="https://redirect.github.com/Automattic/mongoose/issues/15251">#15251</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15241">#15241</a></li> <li>fix: avoid connection buffering on init if autoCreate: false <a href="https://redirect.github.com/Automattic/mongoose/issues/15247">#15247</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15241">#15241</a></li> <li>fix: infer discriminator key if set in $set with overwriteDiscriminatorKey <a href="https://redirect.github.com/Automattic/mongoose/issues/15243">#15243</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15218">#15218</a></li> <li>types(middleware): make this in document middleware the hydrated doc type, not raw doc type <a href="https://redirect.github.com/Automattic/mongoose/issues/15246">#15246</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15242">#15242</a></li> <li>types(schema): support options parameter to Schema.prototype.discriminator() <a href="https://redirect.github.com/Automattic/mongoose/issues/15249">#15249</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15244">#15244</a></li> <li>types(schema): allow calling Schema.prototype.number() with no message arg <a href="https://redirect.github.com/Automattic/mongoose/issues/15237">#15237</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15236">#15236</a></li> <li>docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument <a href="https://redirect.github.com/Automattic/mongoose/issues/15240">#15240</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15211">#15211</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/4b8380eef5d158193a49b5280248980790b47ab0"><code>4b8380e</code></a> chore: release 8.11.0</li> <li><a href="https://github.com/Automattic/mongoose/commit/c48564d0b8c5a83466cd3a7a8f8c0eb8e9b91d76"><code>c48564d</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15270">#15270</a> from Automattic/8.11</li> <li><a href="https://github.com/Automattic/mongoose/commit/b22e9a8419f225814ca0e0da1fa949c58d74fa63"><code>b22e9a8</code></a> chore: release 8.10.2</li> <li><a href="https://github.com/Automattic/mongoose/commit/00ca5c89f58228a035189b0c7f170632c622c403"><code>00ca5c8</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15274">#15274</a> from Automattic/vkarpov15/add-double</li> <li><a href="https://github.com/Automattic/mongoose/commit/3af7b501f979d61d2fab3a391b67a93159877c97"><code>3af7b50</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15271">#15271</a> from Automattic/vkarpov15/gh-15265-2</li> <li><a href="https://github.com/Automattic/mongoose/commit/6be3df073295641c273c8e4d1524f87428237550"><code>6be3df0</code></a> types: correct schema inference for doubles</li> <li><a href="https://github.com/Automattic/mongoose/commit/a8d2f2f09a3b768205abdfebc341456d860904ba"><code>a8d2f2f</code></a> types: add mongoose.Types.Double</li> <li><a href="https://github.com/Automattic/mongoose/commit/92717192bf8f871de0b5ea011f3643c100e665c0"><code>9271719</code></a> feat(model): make bulkWrite <code>results</code> include MongoDB bulk write errors as we...</li> <li><a href="https://github.com/Automattic/mongoose/commit/483c43dc493b04cf61a241d1e2f4a8742a3c9f55"><code>483c43d</code></a> Merge branch 'master' into 8.11</li> <li><a href="https://github.com/Automattic/mongoose/commit/9dc416afd407511b53035770caadd887b5618ba0"><code>9dc416a</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15266">#15266</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15265">gh-15265</a></li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.10.0...8.11.0">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.10.0&new-version=8.11.0)](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> ## Podsumowanie wygenerowane przez Sourcery Podniesienie wersji zależności mongoose z 8.10.0 do 8.11.0. <details> <summary>Original summary in English</summary> ## Summary by Sourcery Bump the mongoose dependency from 8.10.0 to 8.11.0. </details>
2 parents dca5258 + 7c4de57 commit 5e78df0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"gulp-uglify-js": "^0.0.4",
8484
"jest-environment-jsdom": "^29.7.0",
8585
"jquery": "^3.7.1",
86-
"mongoose": "^8.10.0",
86+
"mongoose": "^8.11.0",
8787
"mysql": "^2.18.1",
8888
"mysql2": "^3.12.0",
8989
"ngrok": "^5.0.0-beta.2",

0 commit comments

Comments
 (0)