Skip to content

Commit 0b63758

Browse files
Build(deps): Bump mongoose from 8.9.6 to 8.10.0 (#212)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.9.6 to 8.10.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.10.0 / 2025-02-05</h1> <ul> <li>feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema <a href="https://redirect.github.com/Automattic/mongoose/issues/15184">#15184</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/11162">#11162</a></li> <li>feat(connection): make connection helpers respect bufferTimeoutMS <a href="https://redirect.github.com/Automattic/mongoose/issues/15229">#15229</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15201">#15201</a></li> <li>feat(document): support schematype-level transform option <a href="https://redirect.github.com/Automattic/mongoose/issues/15163">#15163</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15084">#15084</a></li> <li>feat(model): add insertOne() function to insert a single doc <a href="https://redirect.github.com/Automattic/mongoose/issues/15162">#15162</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14843">#14843</a></li> <li>feat(connection): support Connection.prototype.aggregate() for db-level aggregations <a href="https://redirect.github.com/Automattic/mongoose/issues/15153">#15153</a></li> <li>feat(model): make syncIndexes() not call createIndex() on indexes that already exist <a href="https://redirect.github.com/Automattic/mongoose/issues/15175">#15175</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/12250">#12250</a></li> <li>feat(model): useConnection(connection) function <a href="https://redirect.github.com/Automattic/mongoose/issues/14802">#14802</a></li> <li>fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/15199">#15199</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15190">#15190</a></li> <li>fix(collection): avoid buffering if creating a collection during a connection interruption <a href="https://redirect.github.com/Automattic/mongoose/issues/15187">#15187</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14971">#14971</a></li> <li>fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true <a href="https://redirect.github.com/Automattic/mongoose/issues/15100">#15100</a></li> <li>fix(model): skip createCollection() in syncIndexes() if autoCreate: false <a href="https://redirect.github.com/Automattic/mongoose/issues/15155">#15155</a></li> <li>fix(model): make <code>hydrate()</code> handle hydrating deeply nested populated docs with hydratedPopulatedDocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15130">#15130</a></li> <li>types(document): make sure toObject() and toJSON() apply versionKey __v <a href="https://redirect.github.com/Automattic/mongoose/issues/15097">#15097</a></li> <li>ci(NODE-6505): CI Setup for Encryption Support <a href="https://redirect.github.com/Automattic/mongoose/issues/15139">#15139</a> <a href="https://github.com/aditi-khare-mongoDB">aditi-khare-mongoDB</a></li> </ul> <h1>8.9.7 / 2025-02-04</h1> <ul> <li>fix: avoid applying defaults on map embedded paths <a href="https://redirect.github.com/Automattic/mongoose/issues/15217">#15217</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15196">#15196</a></li> <li>types: add missing $median operator to aggregation types <a href="https://redirect.github.com/Automattic/mongoose/issues/15233">#15233</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15209">#15209</a></li> <li>docs(document): clarify that toObject() returns a POJO that may contain non-POJO values <a href="https://redirect.github.com/Automattic/mongoose/issues/15232">#15232</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15208">#15208</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.0 / 2025-02-05</h1> <ul> <li>feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema <a href="https://redirect.github.com/Automattic/mongoose/issues/15184">#15184</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/11162">#11162</a></li> <li>feat(connection): make connection helpers respect bufferTimeoutMS <a href="https://redirect.github.com/Automattic/mongoose/issues/15229">#15229</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15201">#15201</a></li> <li>feat(document): support schematype-level transform option <a href="https://redirect.github.com/Automattic/mongoose/issues/15163">#15163</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15084">#15084</a></li> <li>feat(model): add insertOne() function to insert a single doc <a href="https://redirect.github.com/Automattic/mongoose/issues/15162">#15162</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14843">#14843</a></li> <li>feat(connection): support Connection.prototype.aggregate() for db-level aggregations <a href="https://redirect.github.com/Automattic/mongoose/issues/15153">#15153</a></li> <li>feat(model): make syncIndexes() not call createIndex() on indexes that already exist <a href="https://redirect.github.com/Automattic/mongoose/issues/15175">#15175</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/12250">#12250</a></li> <li>feat(model): useConnection(connection) function <a href="https://redirect.github.com/Automattic/mongoose/issues/14802">#14802</a></li> <li>fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/15199">#15199</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15190">#15190</a></li> <li>fix(collection): avoid buffering if creating a collection during a connection interruption <a href="https://redirect.github.com/Automattic/mongoose/issues/15187">#15187</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14971">#14971</a></li> <li>fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true <a href="https://redirect.github.com/Automattic/mongoose/issues/15100">#15100</a></li> <li>fix(model): skip createCollection() in syncIndexes() if autoCreate: false <a href="https://redirect.github.com/Automattic/mongoose/issues/15155">#15155</a></li> <li>fix(model): make <code>hydrate()</code> handle hydrating deeply nested populated docs with hydratedPopulatedDocs <a href="https://redirect.github.com/Automattic/mongoose/issues/15130">#15130</a></li> <li>types(document): make sure toObject() and toJSON() apply versionKey __v <a href="https://redirect.github.com/Automattic/mongoose/issues/15097">#15097</a></li> <li>ci(NODE-6505): CI Setup for Encryption Support <a href="https://redirect.github.com/Automattic/mongoose/issues/15139">#15139</a> <a href="https://github.com/aditi-khare-mongoDB">aditi-khare-mongoDB</a></li> </ul> <h1>8.9.7 / 2025-02-04</h1> <ul> <li>fix: avoid applying defaults on map embedded paths <a href="https://redirect.github.com/Automattic/mongoose/issues/15217">#15217</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15196">#15196</a></li> <li>types: add missing $median operator to aggregation types <a href="https://redirect.github.com/Automattic/mongoose/issues/15233">#15233</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15209">#15209</a></li> <li>docs(document): clarify that toObject() returns a POJO that may contain non-POJO values <a href="https://redirect.github.com/Automattic/mongoose/issues/15232">#15232</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15208">#15208</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/3501adfbe5e588ca3db949bd8510ebf149992942"><code>3501adf</code></a> chore: release 8.10.0</li> <li><a href="https://github.com/Automattic/mongoose/commit/ebf1533d9601b3c2936bfda679dd8379c074583a"><code>ebf1533</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15214">#15214</a> from Automattic/8.10</li> <li><a href="https://github.com/Automattic/mongoose/commit/0d413986ea4970a23478de29b73ba3558fbde448"><code>0d41398</code></a> Merge branch 'master' into 8.10</li> <li><a href="https://github.com/Automattic/mongoose/commit/8a5529058b10c8d27a4a14407a8079ffc8260b46"><code>8a55290</code></a> test: make distinct() transaction test more durable</li> <li><a href="https://github.com/Automattic/mongoose/commit/70377fca1f2c2b535c87f89b3eb8cc278dc39a5b"><code>70377fc</code></a> chore: release 8.9.7</li> <li><a href="https://github.com/Automattic/mongoose/commit/bd53c4c913ff58aa7d3d981a913037db926bf97b"><code>bd53c4c</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15233">#15233</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15209">gh-15209</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/2de289bd50f415d806d2c0fc3472d4abe2c5d63f"><code>2de289b</code></a> types: add Median as AccumulatorOperator</li> <li><a href="https://github.com/Automattic/mongoose/commit/52f3ceddb012d6d9c93cdeb34e0c3f5b9d7c2074"><code>52f3ced</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/15232">#15232</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/15208">gh-15208</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/f344f6331d2b85ab32b3ffcd4cf55bf7152d3b0e"><code>f344f63</code></a> types: avoid flattening/transforming MongoDB Sessions to fix tests</li> <li><a href="https://github.com/Automattic/mongoose/commit/cfd1bb573912a605774faf3acc85354a997490cf"><code>cfd1bb5</code></a> correctly check out pinned commit</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/8.9.6...8.10.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.9.6&new-version=8.10.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>
2 parents cb89515 + 5f9b49a commit 0b63758

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 8 additions & 8 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
@@ -16,7 +16,7 @@
1616
"express-ws": "^5.0.2",
1717
"helmet": "^8.0.0",
1818
"jsonwebtoken": "^9.0.2",
19-
"mongoose": "^8.9.5",
19+
"mongoose": "^8.10.0",
2020
"multer": "^1.4.4",
2121
"node-cmd": "^5.0.0",
2222
"node-fetch": "^2.7.0",

0 commit comments

Comments
 (0)