devconcept / multer-gridfs-storage

🍃 GridFS storage engine for Multer to store uploaded files directly to MongoDb
MIT License
235 stars 67 forks source link

Bump mongoose from 5.13.7 to 6.4.5 #498

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 5.13.7 to 6.4.5.

Release notes

Sourced from mongoose's releases.

6.4.5 / 2022-07-18

  • fix(model+timestamps): set timestamps on subdocuments in insertMany() #12060
  • fix: correct isAtlas check #12110 skrtheboss
  • fix(types): fix various issues with auto typed schemas #12042 mohammad0-0ahmad
  • fix(types): allow any value for AddFields #12096
  • fix(types): allow arbitrary expressions for ConcatArrays #12058
  • fix(types): make $addToSet fields mutable to allow programatically constructing $addToSet #12091
  • fix(types): add $let as a possible expression to $addFields #12087 AbdelrahmanHafez
  • fix(types): fix $switch expression type #12088 AbdelrahmanHafez
  • fix(types): correct options type for syncIndexes() #12101 lpizzinidev
  • fix(types): avoid treating | undefined types as any in Require_id to better support _id: String with auto-typed schemas #12070
  • docs: fix up various jsdoc issues #12086 hasezoey
  • docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos

6.4.4 / 2022-07-08

6.4.3 / 2022-07-05

  • fix(document): handle validating deeply nested subdocuments underneath nested paths with required: false #12021
  • fix(types): infer schematype type from schema paths when calling SchemaType.path() #11987
  • fix(types): add $top and $topN aggregation operators #12053
  • fix(types): clean up a couple of issues with $add and $ifNull #12017
  • fix(types): allow $cond with $in #12028
  • docs: add path level descending index example in docs #12023 MitchellCash
  • docs: add Buffer, Decimal128, Map to docs #11971

6.4.2 / 2022-07-01

  • fix: keep autoIndex & autoCreate as true by default if read preference is primaryPreferred #11976
  • fix(types): improve inferred Schema Type to handle nested paths and ObjectIds #12007 iammola
  • fix(types): avoid inferring doc type from param to create() #12001
  • fix(types): make populate Paths generic consistently overwrite doc interface #11955
  • fix(types): allow null at ne expression second parameter #11996 jyeros
  • fix(types): change index "weights" to be more explicit #11997 hasezoey

6.4.1 / 2022-06-27

  • fix(schema): allow 0 for numbers if required and ref both set #11912
  • fix(query): skip applying default projections over slice projections #11940
  • fix(types): handle arrays in ApplyBasicQueryCasting correctly #11964
  • fix(types): fix $match typings #11969 andreialecu
  • fix(types): avoid adding non-existent properties from model constructor for typegoose #11960
  • fix(types): make Mongoose UpdateQuery compatible with MongoDB UpdateFilter #11911

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.4.5 / 2022-07-18

  • fix(model+timestamps): set timestamps on subdocuments in insertMany() #12060
  • fix: correct isAtlas check #12110 skrtheboss
  • fix(types): fix various issues with auto typed schemas #12042 mohammad0-0ahmad
  • fix(types): allow any value for AddFields #12096
  • fix(types): allow arbitrary expressions for ConcatArrays #12058
  • fix(types): make $addToSet fields mutable to allow programatically constructing $addToSet #12091
  • fix(types): add $let as a possible expression to $addFields #12087 AbdelrahmanHafez
  • fix(types): fix $switch expression type #12088 AbdelrahmanHafez
  • fix(types): correct options type for syncIndexes() #12101 lpizzinidev
  • fix(types): avoid treating | undefined types as any in Require_id to better support _id: String with auto-typed schemas #12070
  • docs: fix up various jsdoc issues #12086 hasezoey
  • docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos

6.4.4 / 2022-07-08

6.4.3 / 2022-07-05

  • fix(document): handle validating deeply nested subdocuments underneath nested paths with required: false #12021
  • fix(types): infer schematype type from schema paths when calling SchemaType.path() #11987
  • fix(types): add $top and $topN aggregation operators #12053
  • fix(types): clean up a couple of issues with $add and $ifNull #12017
  • fix(types): allow $cond with $in #12028
  • docs: add path level descending index example in docs #12023 MitchellCash
  • docs: add Buffer, Decimal128, Map to docs #11971

6.4.2 / 2022-07-01

  • fix: keep autoIndex & autoCreate as true by default if read preference is primaryPreferred #11976
  • fix(types): improve inferred Schema Type to handle nested paths and ObjectIds #12007 iammola
  • fix(types): avoid inferring doc type from param to create() #12001
  • fix(types): make populate Paths generic consistently overwrite doc interface #11955
  • fix(types): allow null at ne expression second parameter #11996 jyeros
  • fix(types): change index "weights" to be more explicit #11997 hasezoey

6.4.1 / 2022-06-27

  • fix(schema): allow 0 for numbers if required and ref both set #11912
  • fix(query): skip applying default projections over slice projections #11940
  • fix(types): handle arrays in ApplyBasicQueryCasting correctly #11964
  • fix(types): fix $match typings #11969 andreialecu
  • fix(types): avoid adding non-existent properties from model constructor for typegoose #11960
  • fix(types): make Mongoose UpdateQuery compatible with MongoDB UpdateFilter #11911

... (truncated)

Commits
  • bc302f4 chore: release 6.4.5
  • 44530a6 Merge pull request #12116 from Automattic/revert-12103-upgrade-mongo-driver
  • 80b7d53 Revert "chore: upgrade mongodb driver to 4.8.0"
  • 0156d5e style: fix lint
  • 9524f89 fix(types): make $addToSet fields mutable to allow programatically construc...
  • 201071b fix(types): allow any value for AddFields
  • 1306d00 Merge pull request #12086 from hasezoey/modelJSDOCTouchup
  • f95373d Merge pull request #12110 from skrtheboss/fix/is-atlas-check
  • 1445c20 Merge pull request #12112 from pathei-kosmos/master
  • 250b01b fix(types): avoid treating | undefined types as any in Require_id to be...
  • Additional commits viewable in compare view


Dependabot compatibility score

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 commands and options
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 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)
dependabot[bot] commented 2 years ago

Superseded by #499.