salman0ansari / whatsapp-api-nodejs

RESTful WhatsApp API with Multiple Device Support
GNU General Public License v3.0
1.28k stars 611 forks source link

build(deps): bump mongoose from 6.7.4 to 7.2.1 #663

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 6.7.4 to 7.2.1.

Release notes

Sourced from mongoose's releases.

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

  • feat: upgrade mongodb -> 5.3.0
  • feat(schema): add BigInt support, upgrade mongodb -> 5.3.0 #13318 #13081 #6936
  • feat: handle MongoDB's new UUID type, export mongoose.Types.UUID #13323 #13103
  • feat: implement createCollections() #13324
  • feat(query): add isPathSelectedInclusive function on query #13177
  • types: added overloads for Schema.pre/post with different values for SchemaPreOptions #12680 jpilgrim
  • types(query): make lean() flatten out inferred maps into Record #13326 #13010
  • docs: update README deno url #13332
  • docs: update jsdoc to use full URLs instead of non-prefix absolute urls (also fix some urls) #13328 hasezoey

... (truncated)

Changelog

Sourced from mongoose's changelog.

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

6.11.1 / 2023-05-08

  • fix(query): apply schema-level paths before calculating projection for findOneAndUpdate() #13348 #13340
  • fix: add SUPPRESS_JEST_WARNINGS environment variable to hide jest warnings #13384 #13373
  • types(model): allow overwriting expected param type for bulkWrite() #13292 hasezoey

6.11.0 / 2023-05-01

  • feat: upgrade to mongodb 4.16.0 for Deno+Atlas connection fix #13337 #13075
  • perf: speed up creating maps of subdocuments #13280 #13191 #13271
  • fix(query): set ObjectParameterError if calling findOneAndX() with filter as non-object #13338

... (truncated)

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

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.