[Snyk] Upgrade mongoose from 6.4.6 to 6.6.1 #2
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 6.4.6 to 6.6.1.
ℹ️ 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.
Release notes
Package name: mongoose
-
6.6.1 - 2022-09-14
- fix: correctly apply defaults after subdoc init #12328
- fix(array): avoid using default _id when using pull() #12294
- fix: allow null values inside $expr objects #12429 MartinDrost
- fix(query): use correct Query constructor when cloning query #12418
- docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey
-
6.6.0 - 2022-09-08
- feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
- feat: re-export default Mongoose instance properties for ESM named imports support #12256
- feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
- feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
- feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
- feat(types): add types for new $densify operator #12118 IslandRhythms
-
6.5.5 - 2022-09-07
- fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
- fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
- fix(types): add string "ascending" and "descending" index-directions #10269
- docs: upgrade dox to 1.0.0 #12403 hasezoey
- docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
- docs: update JSDOC ... (spread) definition #12388 hasezoey
- refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez
-
6.5.4 - 2022-08-30
- fix(document): allow calling $assertPopulated() with values to better support manual population #12233
- fix(connection+mongoose): better handling for calling model() with 1 argument #12359
- fix(model): allow defining discriminator virtuals and methods using schema options #12326
- fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
- fix(types): fix replaceOne return type #12351 lpizzinidev
- fix(types): use this for return type from $assertPopulated() #12234
- docs: highlight how to connect using auth in README #12354 AntonyOnScript
- docs: improve jsdoc comments for private methods #12337 hasezoey
- docs: fix minor typo in compatibility table header #12355 skyme5
-
6.5.3 - 2022-08-25
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
- fix(types): add missing
- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
-
6.5.2 - 2022-08-10
-
6.5.1 - 2022-08-03
-
6.5.0 - 2022-07-26
-
6.4.7 - 2022-07-25
-
6.4.6 - 2022-07-20
from mongoose GitHub release notes6.6.1 / 2022-09-14
6.6.0 / 2022-09-08
6.5.5 / 2022-09-07
6.5.4 / 2022-08-30
6.5.3 / 2022-08-24
discriminator()generic #10349connection.model()#12298 #12125 hasezoeyfindById()type definitions #12309 lpizzinidevCommit messages
Package name: mongoose
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs