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.2 to 7.3.0 #178

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 6.11.2 to 7.3.0.

Release notes

Sourced from mongoose's releases.

7.3.0 / 2023-06-14

  • feat: upgrade mongodb -> 5.6.0 #13455 lorand-horvath
  • feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript #13509
  • feat(schema): support selecting subset of fields to apply optimistic concurrency to #13506 #10591
  • feat(model): add ordered option to Model.create() #13472 #4038
  • feat(schema): consistently add .get() function to all SchemaType classes
  • feat(populate): pass virtual to match function to allow merging match options #13477 #12443
  • types: allow overwriting Paths in select() to tell TypeScript which fields are projected #13478 #13224
  • types(schema): add validateModifiedOnly as schema option #13503 #10153
  • docs: add note about validateModifiedOnly as a schema option #13503 #10153
  • docs(migrating_to_7): update migrating_to_7.md to include Model.countDocuments #13508 Climax777
  • docs(further_reading): remove style for "img" hasezoey

7.2.4 / 2023-06-12

  • fix(query): handle non-string discriminator key values in query #13496 #13492

7.2.3 / 2023-06-09

  • fix(model): ignore falsy last argument to create() for backwards compatibility #13493 #13491 #13487 MohOraby
  • types: remove generic param that's causing issues for typegoose #13494 #13482
  • types(aggregate): allow object syntax for $mergeObjects #13470 #13060
  • docs(connection): clarify how Connection.prototype.destroy() is different from close() #13475
  • docs(populate): fix accidental removal of text #13480
  • docs: add additional notes for Atlas X.509 authentication #13452 alexbevi
  • docs(populate): add a little more info on why we recommend using ObjectId for _id #13474 #13400

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

... (truncated)

Changelog

Sourced from mongoose's changelog.

7.3.0 / 2023-06-14

  • feat: upgrade mongodb -> 5.6.0 #13455 lorand-horvath
  • feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript #13509
  • feat(schema): support selecting subset of fields to apply optimistic concurrency to #13506 #10591
  • feat(model): add ordered option to Model.create() #13472 #4038
  • feat(schema): consistently add .get() function to all SchemaType classes
  • feat(populate): pass virtual to match function to allow merging match options #13477 #12443
  • types: allow overwriting Paths in select() to tell TypeScript which fields are projected #13478 #13224
  • types(schema): add validateModifiedOnly as schema option #13503 #10153
  • docs: add note about validateModifiedOnly as a schema option #13503 #10153
  • docs(migrating_to_7): update migrating_to_7.md to include Model.countDocuments #13508 Climax777
  • docs(further_reading): remove style for "img" hasezoey

7.2.4 / 2023-06-12

  • fix(query): handle non-string discriminator key values in query #13496 #13492

7.2.3 / 2023-06-09

  • fix(model): ignore falsy last argument to create() for backwards compatibility #13493 #13491 #13487 MohOraby
  • types: remove generic param that's causing issues for typegoose #13494 #13482
  • types(aggregate): allow object syntax for $mergeObjects #13470 #13060
  • docs(connection): clarify how Connection.prototype.destroy() is different from close() #13475
  • docs(populate): fix accidental removal of text #13480
  • docs: add additional notes for Atlas X.509 authentication #13452 alexbevi
  • docs(populate): add a little more info on why we recommend using ObjectId for _id #13474 #13400
Commits
  • 1db7cf4 chore: release 7.3.0
  • 3742d8f Merge pull request #13499 from Automattic/7.3
  • fcda25d Merge pull request #13506 from Automattic/IslandRhythms/optimistic-concurrenc...
  • b6f18fe Merge pull request #13509 from Automattic/vkarpov15/aggregate-finally
  • e1dae1a feat(aggregate): add Aggregate.prototype.finally() to be consistent with Pr...
  • 9e08552 made requested fixes
  • e483c33 Merge pull request #13508 from Climax777/patch-1
  • 4e793e8 Update migrating_to_7.md to include Model.countDocuments
  • 97dec73 don't apply optimistic concurrency if optCon array
  • 40528ce set version if modified path and optCon is array
  • 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 #180.