CorwinDev / Discord-Bot

Discord Bot with over 400 commands and made for large servers
MIT License
656 stars 599 forks source link

Bump mongoose from 6.11.1 to 7.2.2 #175

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 6.11.1 to 7.2.2.

Release notes

Sourced from mongoose's releases.

7.2.2 / 2023-05-30

  • fix(schema): make bulkWrite updateOne() and updateMany() respect timestamps option when set by merging schemas #13445
  • fix(schema): recursively copy schemas from different modules when calling new Schema() #13441 #13275
  • fix(update): allow setting paths with dots under non-strict paths #13450 #13434
  • types: improve function parameter types for ToObjectOptions transform option #13446 #13421
  • docs: add nextjs page with link to next starter app and couple FAQs #13444 #13430
  • docs(connections): add section on multi tenant #13449 #11187
  • docs(connection+model): expand docs on accessors for underlying collections #13448 #13334

7.2.1 / 2023-05-24

  • fix(array): track correct changes when setting nested array of primitives #13422 #13372
  • fix(query): handle plus path in projection with findOneAndUpdate() #13437 #13413
  • fix(cursor): handle calling skipMiddlewareFunction() in pre('find') middleware with cursors #13436 #13411
  • fix(model): include inspect output in castBulkWrite() error #13426
  • fix: avoid setting null property when updating using update pipeline with child timestamps but no top-level timestamps #13427 #13379
  • docs: remove callback based examples #13433 #13401
  • docs(connections): add details about keepAlive deprecation #13431
  • docs: add list of supported patterns for error message templating #13425 #13311

7.2.0 / 2023-05-19

  • feat: upgrade mongodb -> 5.5.0
  • feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
  • feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
  • feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
  • feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph

7.1.2 / 2023-05-18

7.1.1 / 2023-05-10

  • fix(document): handle set() from top-level underneath a map of mixed #13386
  • fix: don't modify passed options object to createConnection() #13376
  • types: make lean() not clobber result type for updateOne(), etc. #13389 #13382
  • types: handle union types in FlattenMaps #13368 #13346 Jokero
  • types(document): correct return type for Model.prototype.deleteOne(): promise, not query #13367 #13223
  • types: update document.d.ts $set function params to match set #13304 jeffersonlipsky
  • docs: add excludeIndexes to the guide schema options list #13377 #13287
  • docs: fix broken "fork me" on home page #13336

7.1.0 / 2023-04-27

... (truncated)

Changelog

Sourced from mongoose's changelog.

7.2.2 / 2023-05-30

  • fix(schema): make bulkWrite updateOne() and updateMany() respect timestamps option when set by merging schemas #13445
  • fix(schema): recursively copy schemas from different modules when calling new Schema() #13441 #13275
  • fix(update): allow setting paths with dots under non-strict paths #13450 #13434
  • types: improve function parameter types for ToObjectOptions transform option #13446 #13421
  • docs: add nextjs page with link to next starter app and couple FAQs #13444 #13430
  • docs(connections): add section on multi tenant #13449 #11187
  • docs(connection+model): expand docs on accessors for underlying collections #13448 #13334

7.2.1 / 2023-05-24

  • fix(array): track correct changes when setting nested array of primitives #13422 #13372
  • fix(query): handle plus path in projection with findOneAndUpdate() #13437 #13413
  • fix(cursor): handle calling skipMiddlewareFunction() in pre('find') middleware with cursors #13436 #13411
  • fix(model): include inspect output in castBulkWrite() error #13426
  • fix: avoid setting null property when updating using update pipeline with child timestamps but no top-level timestamps #13427 #13379
  • docs: remove callback based examples #13433 #13401
  • docs(connections): add details about keepAlive deprecation #13431
  • docs: add list of supported patterns for error message templating #13425 #13311

7.2.0 / 2023-05-19

  • feat: upgrade mongodb -> 5.5.0
  • feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
  • feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
  • feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
  • feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph

7.1.2 / 2023-05-18

7.1.1 / 2023-05-10

  • fix(document): handle set() from top-level underneath a map of mixed #13386
  • fix: don't modify passed options object to createConnection() #13376
  • types: make lean() not clobber result type for updateOne(), etc. #13389 #13382
  • types: handle union types in FlattenMaps #13368 #13346 Jokero
  • types(document): correct return type for Model.prototype.deleteOne(): promise, not query #13367 #13223
  • types: update document.d.ts $set function params to match set #13304 jeffersonlipsky
  • docs: add excludeIndexes to the guide schema options list #13377 #13287
  • docs: fix broken "fork me" on home page #13336
Commits


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 #176.