-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 9c11ba1
authored
Bump mongoose from 8.7.2 to 8.8.3 (#171)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.7.2 to
8.8.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.8.3 / 2024-11-26</h1>
<ul>
<li>fix: disallow using $where in match</li>
<li>perf: cache results from getAllSubdocs() on saveOptions, only loop
through known subdoc properties <a
href="https://redirect.github.com/Automattic/mongoose/issues/15055">#15055</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15029">#15029</a></li>
<li>fix(model+query): support overwriteDiscriminatorKey for bulkWrite
updateOne and updateMany, allow inferring discriminator key from update
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15046">#15046</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15040">#15040</a></li>
</ul>
<h1>8.8.2 / 2024-11-18</h1>
<ul>
<li>fix(model): handle array filters when casting bulkWrite <a
href="https://redirect.github.com/Automattic/mongoose/issues/15036">#15036</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14978">#14978</a></li>
<li>fix(model): make diffIndexes() avoid trying to drop default
timeseries collection index <a
href="https://redirect.github.com/Automattic/mongoose/issues/15035">#15035</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14984">#14984</a></li>
<li>fix: save execution stack in query as string <a
href="https://redirect.github.com/Automattic/mongoose/issues/15039">#15039</a>
<a href="https://github.com/durran">durran</a></li>
<li>types(cursor): correct asyncIterator and asyncDispose for TypeScript
with lib: 'esnext' <a
href="https://redirect.github.com/Automattic/mongoose/issues/15038">#15038</a></li>
<li>docs(migrating_to_8): add note about removing findByIdAndRemove <a
href="https://redirect.github.com/Automattic/mongoose/issues/15024">#15024</a>
<a href="https://github.com/dragontaek-lee">dragontaek-lee</a></li>
</ul>
<h1>8.8.1 / 2024-11-08</h1>
<ul>
<li>perf: make a few micro-optimizations to help speed up findOne() <a
href="https://redirect.github.com/Automattic/mongoose/issues/15022">#15022</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14906">#14906</a></li>
<li>fix: apply embedded discriminators to subdoc schemas before
compiling top level model so middleware applies correctly <a
href="https://redirect.github.com/Automattic/mongoose/issues/15001">#15001</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14961">#14961</a></li>
<li>fix(query): add overwriteImmutable option to allow updating
immutable properties without disabling strict mode <a
href="https://redirect.github.com/Automattic/mongoose/issues/15000">#15000</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/8619">#8619</a></li>
</ul>
<h1>8.8.0 / 2024-10-31</h1>
<ul>
<li>feat: upgrade mongodb -> ~6.10 <a
href="https://redirect.github.com/Automattic/mongoose/issues/14991">#14991</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14877">#14877</a></li>
<li>feat(query): add schemaLevelProjections option to query to disable
schema-level select: false <a
href="https://redirect.github.com/Automattic/mongoose/issues/14986">#14986</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/11474">#11474</a></li>
<li>feat: allow defining virtuals on arrays, not just array elements <a
href="https://redirect.github.com/Automattic/mongoose/issues/14955">#14955</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/2326">#2326</a></li>
<li>feat(model): add applyTimestamps() function to apply all schema
timestamps, including subdocuments, to a given POJO <a
href="https://redirect.github.com/Automattic/mongoose/issues/14943">#14943</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14698">#14698</a></li>
<li>feat(model): add hideIndexes option to syncIndexes() and
cleanIndexes() <a
href="https://redirect.github.com/Automattic/mongoose/issues/14987">#14987</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14868">#14868</a></li>
<li>fix(query): make sanitizeFilter disable implicit $in <a
href="https://redirect.github.com/Automattic/mongoose/issues/14985">#14985</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14657">#14657</a></li>
<li>fix(model): avoid unhandled error if createIndex() throws a sync
error <a
href="https://redirect.github.com/Automattic/mongoose/issues/14995">#14995</a></li>
<li>fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite()
fails with a non-BulkWriteError <a
href="https://redirect.github.com/Automattic/mongoose/issues/14993">#14993</a></li>
<li>types: added toJSON:flattenObjectIds effect <a
href="https://redirect.github.com/Automattic/mongoose/issues/14989">#14989</a></li>
<li>types: add <code>__v</code> to lean() result type and ModifyResult
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14990">#14990</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/12959">#12959</a></li>
<li>types: use globalThis instead of global for NativeDate <a
href="https://redirect.github.com/Automattic/mongoose/issues/14992">#14992</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14988">#14988</a></li>
<li>docs(change-streams): fix markdown syntax highlighting for script
output example <a
href="https://redirect.github.com/Automattic/mongoose/issues/14994">#14994</a></li>
</ul>
<h1>8.7.3 / 2024-10-25</h1>
<ul>
<li>fix(cursor): close underlying query cursor when calling destroy() <a
href="https://redirect.github.com/Automattic/mongoose/issues/14982">#14982</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14966">#14966</a></li>
<li>types: add JSONSerialized helper that can convert HydratedDocument
to JSON output type <a
href="https://redirect.github.com/Automattic/mongoose/issues/14981">#14981</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14451">#14451</a></li>
<li>types(model): convert InsertManyResult to interface and remove
unnecessary insertedIds override <a
href="https://redirect.github.com/Automattic/mongoose/issues/14977">#14977</a></li>
<li>types(connection): add missing sanitizeFilter option <a
href="https://redirect.github.com/Automattic/mongoose/issues/14975">#14975</a></li>
<li>types: improve goto definition for inferred schema definitions <a
href="https://redirect.github.com/Automattic/mongoose/issues/14968">#14968</a>
<a href="https://github.com/forivall">forivall</a></li>
<li>docs(migration-guide-v7): correct link to the section "Id
Setter" <a
href="https://redirect.github.com/Automattic/mongoose/issues/14973">#14973</a>
<a href="https://github.com/rb-ntnx">rb-ntnx</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.8.3 / 2024-11-26</h1>
<ul>
<li>fix: disallow using $where in match</li>
<li>perf: cache results from getAllSubdocs() on saveOptions, only loop
through known subdoc properties <a
href="https://redirect.github.com/Automattic/mongoose/issues/15055">#15055</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15029">#15029</a></li>
<li>fix(model+query): support overwriteDiscriminatorKey for bulkWrite
updateOne and updateMany, allow inferring discriminator key from update
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15046">#15046</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/15040">#15040</a></li>
</ul>
<h1>8.8.2 / 2024-11-18</h1>
<ul>
<li>fix(model): handle array filters when casting bulkWrite <a
href="https://redirect.github.com/Automattic/mongoose/issues/15036">#15036</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14978">#14978</a></li>
<li>fix(model): make diffIndexes() avoid trying to drop default
timeseries collection index <a
href="https://redirect.github.com/Automattic/mongoose/issues/15035">#15035</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14984">#14984</a></li>
<li>fix: save execution stack in query as string <a
href="https://redirect.github.com/Automattic/mongoose/issues/15039">#15039</a>
<a href="https://github.com/durran">durran</a></li>
<li>types(cursor): correct asyncIterator and asyncDispose for TypeScript
with lib: 'esnext' <a
href="https://redirect.github.com/Automattic/mongoose/issues/15038">#15038</a></li>
<li>docs(migrating_to_8): add note about removing findByIdAndRemove <a
href="https://redirect.github.com/Automattic/mongoose/issues/15024">#15024</a>
<a href="https://github.com/dragontaek-lee">dragontaek-lee</a></li>
</ul>
<h1>8.8.1 / 2024-11-08</h1>
<ul>
<li>perf: make a few micro-optimizations to help speed up findOne() <a
href="https://redirect.github.com/Automattic/mongoose/issues/15022">#15022</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14906">#14906</a></li>
<li>fix: apply embedded discriminators to subdoc schemas before
compiling top level model so middleware applies correctly <a
href="https://redirect.github.com/Automattic/mongoose/issues/15001">#15001</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14961">#14961</a></li>
<li>fix(query): add overwriteImmutable option to allow updating
immutable properties without disabling strict mode <a
href="https://redirect.github.com/Automattic/mongoose/issues/15000">#15000</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/8619">#8619</a></li>
</ul>
<h1>8.8.0 / 2024-10-31</h1>
<ul>
<li>feat: upgrade mongodb -> ~6.10 <a
href="https://redirect.github.com/Automattic/mongoose/issues/14991">#14991</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14877">#14877</a></li>
<li>feat(query): add schemaLevelProjections option to query to disable
schema-level select: false <a
href="https://redirect.github.com/Automattic/mongoose/issues/14986">#14986</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/11474">#11474</a></li>
<li>feat: allow defining virtuals on arrays, not just array elements <a
href="https://redirect.github.com/Automattic/mongoose/issues/14955">#14955</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/2326">#2326</a></li>
<li>feat(model): add applyTimestamps() function to apply all schema
timestamps, including subdocuments, to a given POJO <a
href="https://redirect.github.com/Automattic/mongoose/issues/14943">#14943</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14698">#14698</a></li>
<li>feat(model): add hideIndexes option to syncIndexes() and
cleanIndexes() <a
href="https://redirect.github.com/Automattic/mongoose/issues/14987">#14987</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14868">#14868</a></li>
<li>fix(query): make sanitizeFilter disable implicit $in <a
href="https://redirect.github.com/Automattic/mongoose/issues/14985">#14985</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14657">#14657</a></li>
<li>fix(model): avoid unhandled error if createIndex() throws a sync
error <a
href="https://redirect.github.com/Automattic/mongoose/issues/14995">#14995</a></li>
<li>fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite()
fails with a non-BulkWriteError <a
href="https://redirect.github.com/Automattic/mongoose/issues/14993">#14993</a></li>
<li>types: added toJSON:flattenObjectIds effect <a
href="https://redirect.github.com/Automattic/mongoose/issues/14989">#14989</a></li>
<li>types: add <code>__v</code> to lean() result type and ModifyResult
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14990">#14990</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/12959">#12959</a></li>
<li>types: use globalThis instead of global for NativeDate <a
href="https://redirect.github.com/Automattic/mongoose/issues/14992">#14992</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14988">#14988</a></li>
<li>docs(change-streams): fix markdown syntax highlighting for script
output example <a
href="https://redirect.github.com/Automattic/mongoose/issues/14994">#14994</a></li>
</ul>
<h1>8.7.3 / 2024-10-25</h1>
<ul>
<li>fix(cursor): close underlying query cursor when calling destroy() <a
href="https://redirect.github.com/Automattic/mongoose/issues/14982">#14982</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14966">#14966</a></li>
<li>types: add JSONSerialized helper that can convert HydratedDocument
to JSON output type <a
href="https://redirect.github.com/Automattic/mongoose/issues/14981">#14981</a>
<a
href="https://redirect.github.com/Automattic/mongoose/issues/14451">#14451</a></li>
<li>types(model): convert InsertManyResult to interface and remove
unnecessary insertedIds override <a
href="https://redirect.github.com/Automattic/mongoose/issues/14977">#14977</a></li>
<li>types(connection): add missing sanitizeFilter option <a
href="https://redirect.github.com/Automattic/mongoose/issues/14975">#14975</a></li>
<li>types: improve goto definition for inferred schema definitions <a
href="https://redirect.github.com/Automattic/mongoose/issues/14968">#14968</a>
<a href="https://github.com/forivall">forivall</a></li>
<li>docs(migration-guide-v7): correct link to the section "Id
Setter" <a
href="https://redirect.github.com/Automattic/mongoose/issues/14973">#14973</a>
<a href="https://github.com/rb-ntnx">rb-ntnx</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Automattic/mongoose/commit/bb98dcf859b2cf0cc7da9d16d9d09afe445321f3"><code>bb98dcf</code></a>
chore: release 8.8.3</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/862d1a50d3d768fb6be0b1c58224445310880b39"><code>862d1a5</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15055">#15055</a>
from Automattic/vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/15029">gh-15029</a></li>
<li><a
href="https://github.com/Automattic/mongoose/commit/8f774f0cfbb792d739ff273ff4c3813c7be34828"><code>8f774f0</code></a>
address code review comments</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/768d4603ee2fd814e0d6b45ca43bfb72be86d15b"><code>768d460</code></a>
Merge branch 'vkarpov15/sift-where'</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156"><code>c9e86bf</code></a>
fix: disallow using $where in match</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/b76ca9dbee9ee346668537aeb36d3f413052c53a"><code>b76ca9d</code></a>
Merge pull request <a
href="https://redirect.github.com/Automattic/mongoose/issues/15046">#15046</a>
from Automattic/vkarpov15/<a
href="https://redirect.github.com/Automattic/mongoose/issues/15040">gh-15040</a></li>
<li><a
href="https://github.com/Automattic/mongoose/commit/7639fc6a85cd9ebe2cbf3a8a16ec2c8fcc2ea202"><code>7639fc6</code></a>
perf: cache results from getAllSubdocs() on saveOptions, only loop
through kn...</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/83db6139771585e97d94b432d69848072c08f546"><code>83db613</code></a>
fix(model+query): support overwriteDiscriminatorKey for bulkWrite
updateOne a...</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/b34aba65bd64540e330665477f542eb79c877909"><code>b34aba6</code></a>
chore: release 8.8.2</li>
<li><a
href="https://github.com/Automattic/mongoose/commit/f45008358dfe08d582e2f45dcd999c099550545c"><code>f450083</code></a>
docs(migrating_to_8): add note about removing findByIdAndRemove</li>
<li>Additional commits viewable in <a
href="https://github.com/Automattic/mongoose/compare/8.7.2...8.8.3">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>File tree
Expand file treeCollapse file tree
2 files changed
+12
-12
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+12
-12
lines changed+11-11Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
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