kerimkaan / ozel

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

Bump mongoose from 6.0.12 to 6.6.7 #183

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 6.0.12 to 6.6.7.

Release notes

Sourced from mongoose's releases.

6.6.7 / 2022-10-21

  • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
  • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

6.6.6 / 2022-10-20

  • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518
  • fix(document): allow creating document with document array and top-level key named schema #12569 #12480
  • fix(cast): make schema-level strictQuery override schema-level strict for query filters #12570 #12508
  • fix(aggregate): avoid adding extra $match stage if user manually set discriminator key to correct value in first pipeline stage #12568 #12478
  • fix: Throws error when updating a key name that match the discriminator key name on nested object #12534 #12517 lpizzinidev
  • fix(types): add limit to $filter expression #12553 raphael-papazikas
  • fix(types): correct replaceWith type pipeline stage #12535 FabioCingottini
  • fix(types): add missing densify type pipeline type #12533 FabioCingottini
  • docs(populate): added transform option description #12560 #12551 lpizzinidev
  • docs(connection): add sample to useDb() documentation #12541 lpizzinidev
  • docs(guide): update broken read-preference links #12538 #12525 hasezoey
  • chore: add TypeScript version field to issue template #12532 hasezoey

6.6.5 / 2022-10-05

  • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
  • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
  • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
  • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
  • docs(models): add section on MongoDB Views #12526 #5694
  • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398
  • docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams #12444

6.6.4 / 2022-10-03

  • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
  • fix(types): correct DocType for auto typed query helpers #12342
  • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
  • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
  • docs(schema): correct example for Schema.prototype.discriminator() #12493
  • docs(typescript): clean up query helpers examples #12342
  • chore: use mongodb-memory-server for testing #12262 hasezoey

6.6.3 / 2022-09-30

  • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
  • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
  • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
  • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
  • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
  • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey

6.6.2 / 2022-09-26

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.6.7 / 2022-10-21

  • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
  • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

6.6.6 / 2022-10-20

  • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518
  • fix(document): allow creating document with document array and top-level key named schema #12569 #12480
  • fix(cast): make schema-level strictQuery override schema-level strict for query filters #12570 #12508
  • fix(aggregate): avoid adding extra $match stage if user manually set discriminator key to correct value in first pipeline stage #12568 #12478
  • fix: Throws error when updating a key name that match the discriminator key name on nested object #12534 #12517 lpizzinidev
  • fix(types): add limit to $filter expression #12553 raphael-papazikas
  • fix(types): correct replaceWith type pipeline stage #12535 FabioCingottini
  • fix(types): add missing densify type pipeline type #12533 FabioCingottini
  • docs(populate): added transform option description #12560 #12551 lpizzinidev
  • docs(connection): add sample to useDb() documentation #12541 lpizzinidev
  • docs(guide): update broken read-preference links #12538 #12525 hasezoey
  • chore: add TypeScript version field to issue template #12532 hasezoey

6.6.5 / 2022-10-05

  • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
  • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
  • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
  • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
  • docs(models): add section on MongoDB Views #12526 #5694
  • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398
  • docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams #12444

6.6.4 / 2022-10-03

  • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
  • fix(types): correct DocType for auto typed query helpers #12342
  • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
  • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
  • docs(schema): correct example for Schema.prototype.discriminator() #12493
  • docs(typescript): clean up query helpers examples #12342
  • chore: use mongodb-memory-server for testing #12262 hasezoey

6.6.3 / 2022-09-30

  • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
  • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
  • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
  • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
  • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
  • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey

6.6.2 / 2022-09-26

... (truncated)

Commits
  • 61e96d7 chore: release 6.6.7
  • 7cd8ea3 Merge pull request #12578 from Automattic/vkarpov15/gh-12513
  • 8e33a32 fix: more robust fix for #12513
  • 136d6af fix(query): allow overwriting discriminator key with `overwriteDiscriminatorK...
  • b46fc92 Merge pull request #12577 from Automattic/vkarpov15/gh-12576
  • 785b987 fix: correct browser build and improve isAsyncFunction check for browser
  • 1ef7bcd Merge branch 'master' of github.com:Automattic/mongoose
  • c3e9206 chore: release 6.6.6
  • dcbff09 Merge pull request #12570 from Automattic/vkarpov15/gh-12508
  • d595544 refactor: create separate helper to get strictQuery re: code review comments
  • 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 1 year ago

Superseded by #184.