danielfsousa / express-rest-boilerplate

⌛️ Express starter for building RESTful APIs
MIT License
2.36k stars 622 forks source link

Bump mongoose from 5.13.5 to 6.4.4 #601

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 5.13.5 to 6.4.4.

Release notes

Sourced from mongoose's releases.

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
  • fix(types): simplify MergeType constraints #11978
  • fix(types): correct references to Buffer for @​types/node >= 16.0.0 < 16.6.0 #11963
  • fix(types): re-add the possibility to pass undefined for projection in Model.find #11965 ghost91-
  • fix(types): fix typo for indexes #11953 AbdelrahmanHafez
  • fix(document+types): document merge option #11913
  • docs: update schematypes.md #11981 korzio
  • docs: update validation.md #11982 korzio

6.4.0 / 2022-06-17

  • feat: upgrade mongodb driver -> 4.7.0 #11909 AbdelrahmanHafez
  • feat(types+document): add $assertPopulated() for working with manually populated paths in TypeScript #11843
  • feat(mongoose): add setDriver() function to allow overwriting driver in a more consistent way #11900
  • feat(types): add helpers to infer schema type automatically #11563 mohammad0-0ahmad
  • feat: add transform option to lean() #10423 IslandRhythms

... (truncated)

Changelog

Sourced from mongoose's changelog.

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
  • fix(types): simplify MergeType constraints #11978
  • fix(types): correct references to Buffer for @​types/node >= 16.0.0 < 16.6.0 #11963
  • fix(types): re-add the possibility to pass undefined for projection in Model.find #11965 ghost91-
  • fix(types): fix typo for indexes #11953 AbdelrahmanHafez
  • fix(document+types): document merge option #11913
  • docs: update schematypes.md #11981 korzio
  • docs: update validation.md #11982 korzio

6.4.0 / 2022-06-17

  • feat: upgrade mongodb driver -> 4.7.0 #11909 AbdelrahmanHafez
  • feat(types+document): add $assertPopulated() for working with manually populated paths in TypeScript #11843
  • feat(mongoose): add setDriver() function to allow overwriting driver in a more consistent way #11900
  • feat(types): add helpers to infer schema type automatically #11563 mohammad0-0ahmad
  • feat: add transform option to lean() #10423 IslandRhythms

... (truncated)

Commits
  • 3d48352 chore: release 6.4.4
  • 59e2aba style: fix lint
  • 50e97de Merge pull request #12078 from hasezoey/touchupSchemaJSDOC
  • 6b86a9b Merge pull request #12072 from hasezoey/receiverRefactor
  • cfdb1d8 Merge pull request #12071 from hasezoey/removeDocsPrototype
  • 318f85b Merge branch 'master' of github.com:Automattic/mongoose
  • 843c24c docs(document): add more info on $isNew
  • d5ba7b6 Merge pull request #12076 from hasezoey/addArrayToHooksJSDOC
  • 6cec77e Apply suggestions from code review
  • 559ea4b style(schema): touch-up jsdoc
  • 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 #603.