Commit d914c86
authored
build(deps): bump mongoose from 8.17.1 to 8.18.0 (#2139)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.17.1 to
8.18.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.18.0 / 2025-08-22</h1>
<ul>
<li>feat(schema): support for union types <a
href="https://redirect.github.com/Automattic/mongoose/issues/15574">#15574</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/10894">#10894</a></li>
<li>fix: trim long strings in minLength and maxLength error messages and
display the string length <a
href="https://redirect.github.com/Automattic/mongoose/issues/15571">#15571</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15550">#15550</a></li>
<li>types(connection+collection): make BaseCollection and BaseConnection
usable as values <a
href="https://redirect.github.com/Automattic/mongoose/issues/15575">#15575</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15548">#15548</a></li>
<li>types: remove logic that omits timestamps when virtuals, methods,
etc. options set <a
href="https://redirect.github.com/Automattic/mongoose/issues/15577">#15577</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/12807">#12807</a></li>
</ul>
<h1>8.17.2 / 2025-08-18</h1>
<ul>
<li>fix: avoid Model.validate() hanging when all paths fail casting <a
href="https://redirect.github.com/Automattic/mongoose/issues/15580">#15580</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15579">#15579</a>
<a href="https://github.com/piotracalski">piotracalski</a></li>
<li>types(document): better support for flattenObjectIds and versionKey
options for toObject() and toJSON() <a
href="https://redirect.github.com/Automattic/mongoose/issues/15582">#15582</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15578">#15578</a></li>
<li>docs: fix docs jsdoc tags and add UUID to be listed <a
href="https://redirect.github.com/Automattic/mongoose/issues/15585">#15585</a></li>
<li>docs(document): fix code sample that errors with "Cannot set
properties of undefined" <a
href="https://redirect.github.com/Automattic/mongoose/issues/15589">#15589</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.18.0 / 2025-08-22</h1>
<ul>
<li>feat(schema): support for union types <a
href="https://redirect.github.com/Automattic/mongoose/issues/15574">#15574</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/10894">#10894</a></li>
<li>fix: trim long strings in minLength and maxLength error messages and
display the string length <a
href="https://redirect.github.com/Automattic/mongoose/issues/15571">#15571</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15550">#15550</a></li>
<li>types(connection+collection): make BaseCollection and BaseConnection
usable as values <a
href="https://redirect.github.com/Automattic/mongoose/issues/15575">#15575</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15548">#15548</a></li>
<li>types: remove logic that omits timestamps when virtuals, methods,
etc. options set <a
href="https://redirect.github.com/Automattic/mongoose/issues/15577">#15577</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/12807">#12807</a></li>
</ul>
<h1>8.17.2 / 2025-08-18</h1>
<ul>
<li>fix: avoid Model.validate() hanging when all paths fail casting <a
href="https://redirect.github.com/Automattic/mongoose/issues/15580">#15580</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15579">#15579</a>
<a href="https://github.com/piotracalski">piotracalski</a></li>
<li>types(document): better support for flattenObjectIds and versionKey
options for toObject() and toJSON() <a
href="https://redirect.github.com/Automattic/mongoose/issues/15582">#15582</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15578">#15578</a></li>
<li>docs: fix docs jsdoc tags and add UUID to be listed <a
href="https://redirect.github.com/Automattic/mongoose/issues/15585">#15585</a></li>
<li>docs(document): fix code sample that errors with "Cannot set
properties of undefined" <a
href="https://redirect.github.com/Automattic/mongoose/issues/15589">#15589</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Automattic/mongoose/commit/65e9dcc1a2ab3b5c7cbae9acd60b43a9eaa6a730"><code>65e9dcc</code></a>
chore: release 8.18.0</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/8f24953ccd1f9aeb5a0a51cd467781c499c7a22f"><code>8f24953</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15595">#15595</a>
from Automattic/8.18</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/8f80bc7ac6b3749fed27e77b70d34e7caf5bdc1a"><code>8f80bc7</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15574">#15574</a>
from Automattic/vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/10894">gh-10894</a></li>
<li><a
href="https://github.com/Automattic/mongoose/commit/56ac2987359cead9be2d139f1d5330c0745033b3"><code>56ac298</code></a>
fix lint from copilot suggestion</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/43a72cadea4b59f0aaa26435d23a5c807825bff1"><code>43a72ca</code></a>
Update lib/schema/union.js</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/fc197a4dc055985b363f0171d123ff5d63719a2c"><code>fc197a4</code></a>
feat(types): add support for union types</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/aef5be68afcc1152fbabd94724e211122e868737"><code>aef5be6</code></a>
Merge branch 'vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/10894">gh-10894</a>'
of github.com:Automattic/mongoose into vkar...</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/ec77420e3b49ca9cb0c1454b917cbf591a5a1988"><code>ec77420</code></a>
fix lint</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/1e3bc99d7190e805dc812ed054f4bb3ce14cc7ba"><code>1e3bc99</code></a>
Update lib/options/schemaUnionOptions.js</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/6f2ac19c797594e6615fe6412903c4332a074c63"><code>6f2ac19</code></a>
Merge branch '8.18' into vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/10894">gh-10894</a></li>
<li>Additional commits viewable in <a
href="https://github.com/Automattic/mongoose/compare/8.17.1...8.18.0">compare
view</a></li>
</ul>
</details>
<br />
<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>
| Dependency Name | Ignore Conditions |
| --- | --- |
| mongoose | [< 8.3, > 8.2.2] |
</details>
[](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>1 file changed
+3
-3
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments