kerimkaan / ozel

:black_nib: İsmet Özel REST API
1 stars 1 forks source link

Bump mongoose from 6.0.12 to 6.4.1 #160

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 6.0.12 to 6.4.1.

Release notes

Sourced from mongoose's releases.

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
  • feat(base): add support to set default immutable for createdAt globally #11888 AbdelrahmanHafez
  • fix: make doValidate() on document array elements run validation on the whole subdoc #11902
  • feat(types): add expression typings to Aggregate stages #11370 Uzlopak
  • fix: remove on from schema reserved keys #11580 IslandRhythms

6.3.9 / 2022-06-17

  • fix(document): handle nested paths underneath subdocuments when getting all subdocuments for pre save hooks #11917
  • fix(types): correct typing in post aggregate hooks #11924 GCastilho
  • docs: remove connect-option reconnectTries and reconnectInterval #11930 Uzlopak

6.3.8 / 2022-06-13

  • fix: revert 670b445b0fc perf optimizations that caused some test failures #11541

6.3.6 / 2022-06-07

  • fix(update): apply timestamps to nested subdocs within $push and $addToSet #11775
  • fix(document): use shallow clone instead of deep clone for toObject() options #11776
  • fix: avoid checking for ObjectId with instanceof #11891 noseworthy
  • fix(types): Allow sorting by text score #11893
  • fix(types): allow schematype get() functions to return undefined #11561
  • fix(types): add Schema.discriminator #11855 Uzlopak
  • fix(types): discriminator generic type not being passed to schema #11898 GCastilho

6.3.5 / 2022-05-30

... (truncated)

Changelog

Sourced from mongoose's changelog.

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
  • feat(base): add support to set default immutable for createdAt globally #11888 AbdelrahmanHafez
  • fix: make doValidate() on document array elements run validation on the whole subdoc #11902
  • feat(types): add expression typings to Aggregate stages #11370 Uzlopak
  • fix: remove on from schema reserved keys #11580 IslandRhythms

6.3.9 / 2022-06-17

  • fix(document): handle nested paths underneath subdocuments when getting all subdocuments for pre save hooks #11917
  • fix(types): correct typing in post aggregate hooks #11924 GCastilho
  • docs: remove connect-option reconnectTries and reconnectInterval #11930 Uzlopak

6.3.8 / 2022-06-13

  • fix: revert 670b445b0fc perf optimizations that caused some test failures #11541

6.3.7 / 2022-06-13

  • fix(schema+document): allow disabling _id on subdocuments by default #11541
  • fix(update): respect global strictQuery option when casting array filters #11836
  • perf(document): avoid unnecessarily creating new options object on every $set #11541
  • fix: toJSON with undefined path #11922 kerryChen95
  • fix: add refPath to SchemaTypeOptions class #11862
  • fix(types): handle boolean default functions #11828
  • docs(populate): make path names in refPath section consistent #11724

6.3.6 / 2022-06-07

... (truncated)

Commits
  • 2353c14 chore: release 6.4.1
  • 3a4ba27 fix(types): correct references to Buffer for @types/node >= 16.0.0 < 16.6.0
  • 4f89f23 Merge pull request #11986 from Automattic/vkarpov15/gh-11960
  • b66cdc6 fix(types): handle arrays in ApplyBasicQueryCasting correctly
  • 5753bce test: add test case for #11960
  • 5409717 fix(types): avoid adding non-existent properties from model constructor for t...
  • e991892 Merge pull request #11978 from sandersn/simplify-MergeType-constraints
  • 89ec33c Merge pull request #11969 from andreialecu/fix-expressiontypes2
  • f4ca704 Merge pull request #11981 from korzio/patch-1
  • e6cc1d7 Merge pull request #11982 from korzio/patch-2
  • 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 #161.