[Snyk] Upgrade mongoose from 8.1.0 to 8.10.0 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade mongoose from 8.1.0 to 8.10.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 49 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-MONGOOSE-8446504
SNYK-JS-MONGOOSE-8623536
Release notes
Package name: mongoose
-
8.10.0 - 2025-02-05
- feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema #15184 #11162
- feat(connection): make connection helpers respect bufferTimeoutMS #15229 #15201
- feat(document): support schematype-level transform option #15163 #15084
- feat(model): add insertOne() function to insert a single doc #15162 #14843
- feat(connection): support Connection.prototype.aggregate() for db-level aggregations #15153
- feat(model): make syncIndexes() not call createIndex() on indexes that already exist #15175 #12250
- feat(model): useConnection(connection) function #14802
- fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() #15199 #15190
- fix(collection): avoid buffering if creating a collection during a connection interruption #15187 #14971
- fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true #15100
- fix(model): skip createCollection() in syncIndexes() if autoCreate: false #15155
- fix(model): make
- types(document): make sure toObject() and toJSON() apply versionKey __v #15097
- ci(NODE-6505): CI Setup for Encryption Support #15139 aditi-khare-mongoDB
-
8.9.7 - 2025-02-04
- fix: avoid applying defaults on map embedded paths #15217 #15196
- types: add missing $median operator to aggregation types #15233 #15209
- docs(document): clarify that toObject() returns a POJO that may contain non-POJO values #15232 #15208
-
8.9.6 - 2025-01-31
- fix(document): allow setting values to undefined with set(obj) syntax with strict: false #15207 #15192
- fix(schema): improve reason for UUID cast error, currently a TypeError #15215 #15202
- fix(aggregate): improve error when calling near() with invalid coordinates #15206 #15188
-
8.9.5 - 2025-01-13
-
8.9.4 - 2025-01-09
-
8.9.3 - 2024-12-30
-
8.9.2 - 2024-12-19
-
8.9.1 - 2024-12-16
-
8.9.0 - 2024-12-13
-
8.8.4 - 2024-12-05
-
8.8.3 - 2024-11-26
-
8.8.2 - 2024-11-18
-
8.8.1 - 2024-11-08
-
8.8.0 - 2024-10-31
-
8.7.3 - 2024-10-25
-
8.7.2 - 2024-10-17
-
8.7.1 - 2024-10-09
-
8.7.0 - 2024-09-27
-
8.6.4 - 2024-09-26
-
8.6.3 - 2024-09-17
-
8.6.2 - 2024-09-11
-
8.6.1 - 2024-09-03
-
8.6.0 - 2024-08-28
-
8.5.5 - 2024-08-28
-
8.5.4 - 2024-08-23
-
8.5.3 - 2024-08-13
-
8.5.2 - 2024-07-30
-
8.5.1 - 2024-07-12
-
8.5.0 - 2024-07-08
-
8.4.5 - 2024-07-05
-
8.4.4 - 2024-06-25
-
8.4.3 - 2024-06-17
-
8.4.2 - 2024-06-17
-
8.4.1 - 2024-05-31
-
8.4.0 - 2024-05-17
-
8.3.5 - 2024-05-15
-
8.3.4 - 2024-05-06
-
8.3.3 - 2024-04-29
-
8.3.2 - 2024-04-16
-
8.3.1 - 2024-04-08
-
8.3.0 - 2024-04-03
-
8.2.4 - 2024-03-28
-
8.2.3 - 2024-03-21
-
8.2.2 - 2024-03-15
-
8.2.1 - 2024-03-04
-
8.2.0 - 2024-02-22
-
8.1.3 - 2024-02-16
-
8.1.2 - 2024-02-11
-
8.1.1 - 2024-01-24
-
8.1.0 - 2024-01-16
from mongoose GitHub release notes8.10.0 / 2025-02-05
hydrate()handle hydrating deeply nested populated docs with hydratedPopulatedDocs #151308.9.7 / 2025-02-04
8.9.6 / 2025-01-31
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: