Skip to content

build(deps): bump mongoose from 9.12.1 to 9.12.2 - #4329

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/npm_and_yarn/mongoose-9.12.2
Nov 20, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/npm_and_yarn/mongoose-9.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Bumps mongoose from 9.12.1 to 9.12.2.

Release notes

Sourced from mongoose's releases.

9.12.2 / 2026-11-16

  • fix(query): make sanitizeFilter catch any fields that start with $ in top-level filter to avoid bypass using $_internalSchemaXor and other MongoDB internal expressions
  • fix(query): hardening for sanitizeProjection
  • fix(array): avoid converting BigInts to numbers in addToSet() #16693 luantaraschi
  • fix(cursor): propagate error passed to destroy() without re-emitting if error already emitted #16686 #16610 #16609 IbrahimHafez1
  • fix(query): throw cast errors and respect strict option in replaceOne() #16629 #16628 OmBhandwaldar
  • fix(castArrayFilters): cast $and/$or/$nor wherever they appear in an array filter #16638 #16637 mtechcave1
  • fix(document): allow setting dotted paths 3+ levels deep underneath single nested subdocuments #16691 RagedPanda
  • fix(connection): reset document state before retrying after a transient commit error #16640 #16639 IbrahimHafez1
  • fix(array): avoid converting BigInts to numbers in addToSet() #16693 luantaraschi
  • docs: add EOL date for Mongoose 7 #16719
  • docs(mongoose): document missing options for set() #16703 ragib-mrb
Changelog

Sourced from mongoose's changelog.

9.12.2 / 2026-11-16

  • fix(query): make sanitizeFilter catch any fields that start with $ in top-level filter to avoid bypass using $_internalSchemaXor and other MongoDB internal expressions
  • fix(query): hardening for sanitizeProjection
  • fix(array): avoid converting BigInts to numbers in addToSet() #16693 luantaraschi
  • fix(cursor): propagate error passed to destroy() without re-emitting if error already emitted #16686 #16610 #16609 IbrahimHafez1
  • fix(query): throw cast errors and respect strict option in replaceOne() #16629 #16628 OmBhandwaldar
  • fix(castArrayFilters): cast $and/$or/$nor wherever they appear in an array filter #16638 #16637 mtechcave1
  • fix(document): allow setting dotted paths 3+ levels deep underneath single nested subdocuments #16691 RagedPanda
  • fix(connection): reset document state before retrying after a transient commit error #16640 #16639 IbrahimHafez1
  • fix(array): avoid converting BigInts to numbers in addToSet() #16693 luantaraschi
  • docs: add EOL date for Mongoose 7 #16719
  • docs(mongoose): document missing options for set() #16703 ragib-mrb

8.24.9 / 2026-11-12

  • fix(document): allow setting dotted paths 3+ levels deep underneath single nested subdocuments #16691 RagedPanda
  • fix(connection): don't disable autoIndex/autoCreate for a primary ReadPreference instance mrityunjay-pandey
Commits
  • a8204d3 chore: release 9.12.2
  • 372ab91 Merge branch 'vkarpov15/20261115/master/sec-sanitizeprojection'
  • 08fd60e Merge branch 'vkarpov15/20261112/sec-internalschemaxor'
  • 64a9628 Merge pull request #16719 from Automattic/vkarpov15-patch-1
  • efcbec2 Update docs/version-support.md
  • d322132 Add EOL date for Mongoose 7
  • c5483b7 fix(query): hardening for sanitizeProjection
  • ab4e363 Merge pull request #16703 from ragib-mrb/docs/set-missing-options
  • 9c86690 docs: fix sanitizeProjection on query level claim
  • fa5f548 docs(mongoose): clarify createInitialConnection and sanitizeProjection in...
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.12.1 to 9.12.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@9.12.1...9.12.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.12.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions
github-actions Bot enabled auto-merge (squash) November 20, 2026 04:03
@github-actions
github-actions Bot merged commit 7b1dc10 into master Nov 20, 2026
6 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/mongoose-9.12.2 branch November 20, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants