Commit b4c652c
authored
Build(deps): Bump mongoose from 8.10.0 to 8.10.1 (#217)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.10.0 to
8.10.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.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.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/d64f4817afb1ec8e15a836aa50954fc21d740357"><code>d64f481</code></a>
chore: release 8.10.1</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/0a1cd395b7e272b4eae7672d325f32e57bf630ac"><code>0a1cd39</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15257">#15257</a>
from Automattic/vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/15255">gh-15255</a></li>
<li><a
href="https://github.com/Automattic/mongoose/commit/d48bc5f5533c8dbeb7a3b3b1a1bcaa395f7212ab"><code>d48bc5f</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15256">#15256</a>
from Automattic/vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/15253">gh-15253</a></li>
<li><a
href="https://github.com/Automattic/mongoose/commit/9bb9ce7865ff97356cb8c6e90ee731979d8c54a3"><code>9bb9ce7</code></a>
quick fix</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/29a02a4416fbaf139df522071f176755e32f6092"><code>29a02a4</code></a>
perf(document): only call <code>undoReset()</code> 1x/document</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/14032ffd50f395c7586b1934f78ee121f4740f3c"><code>14032ff</code></a>
perf(schema): clear childSchemas when overwriting existing path to avoid
perf...</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/f1c6ad23be2c69eaefd63d988a301c53762fed20"><code>f1c6ad2</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15251">#15251</a>
from Automattic/vkarpov15/gh-15241-2</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/0a2da7115116fae133f8242965dcc58cc95549ff"><code>0a2da71</code></a>
refactor: dedupe waitForConnectPromise logic</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/b80a8d9e2723113c33e281b85de9bbbab6e568c1"><code>b80a8d9</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15254">#15254</a>
from Automattic/revert-15245-unrefConnectionTimeout</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/48412c6d664320269c4ca53ac2493c05a130e8eb"><code>48412c6</code></a>
Revert "fix(connection): unref the
"_waitForConnect""</li>
<li>Additional commits viewable in <a
href="https://github.com/Automattic/mongoose/compare/8.10.0...8.10.1">compare
view</a></li>
</ul>
</details>
<br />
[](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>2 files changed
+5
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments