Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency mongoose to v7.3.3 [security] #811

Merged
merged 1 commit into from
Aug 26, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongoose (source) 7.1.0 -> 7.3.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-3696

Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.3, 6.11.3, and 5.13.20.


Release Notes

Automattic/mongoose (mongoose)

v7.3.3

Compare Source

==================

  • fix: avoid prototype pollution on init
  • fix(document): clean up all array subdocument modified paths on save() #​13589 #​13582
  • types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues #​13577 #​13529

v7.3.2

Compare Source

==================

  • fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property #​13579 #​13531
  • fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 #​13572 #​13550
  • fix(query): throw readable error when executing a Query instance without an associated model #​13571 #​13570
  • types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId #​13543 #​13534
  • docs(connections): clarify that socketTimeoutMS now defaults to 0 #​13576 #​13537
  • docs(migrating_to_7): add mapReduce() removal to migration guide #​13568 #​13548
  • docs(schemas): fix typo in schemas.md #​13540 Metehan-Altuntekin

v7.3.1

Compare Source

==================

  • fix(query): respect query-level strict option on findOneAndReplace() #​13516 #​13507
  • docs(connections): expand docs on serverSelectionTimeoutMS #​13533 #​12967
  • docs: add example of accessing save options in pre save #​13498
  • docs(connections+faq): add info on localhost vs 127.0.0.1
  • docs(SchemaType): validate members are validator & message (not msg) #​13521 lorand-horvath

v7.3.0

Compare Source

==================

  • 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

v7.2.4

Compare Source

==================

v7.2.3

Compare Source

==================

v7.2.2

Compare Source

==================

  • 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

v7.2.1

Compare Source

==================

  • 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

v7.2.0

Compare Source

==================

  • 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

v7.1.2

Compare Source

==================

v7.1.1

Compare Source

==================


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 18, 2023
@github-actions github-actions bot added the ci-passed PRs that was passed in ci label Jul 18, 2023
@renovate renovate bot force-pushed the renovate/npm-mongoose-vulnerability branch from 3e9434d to e874267 Compare August 26, 2023 16:29
@wibus-wee wibus-wee added this pull request to the merge queue Aug 26, 2023
Merged via the queue into main with commit 4b50c9a Aug 26, 2023
6 of 8 checks passed
@wibus-wee wibus-wee deleted the renovate/npm-mongoose-vulnerability branch August 26, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-passed PRs that was passed in ci dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant