Skip to content

build(deps): bump mongoose from 9.11.4 to 9.12.2 in /server - #6550

Open
dependabot[bot] wants to merge 1 commit into
betafrom
dependabot/npm_and_yarn/server/mongoose-9.12.2
Open

dependabot[bot] wants to merge 1 commit into
betafrom
dependabot/npm_and_yarn/server/mongoose-9.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown

Bumps mongoose from 9.11.4 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

9.12.1 / 2026-11-09

9.12.0 / 2026-11-04

  • feat: upgrade to mongodb driver 7.8 #16772 #16667
  • perf: improve for document arrays: cache paths with defaults and schemas with select paths; avoid unnecessary $isModified() lookup #16595
  • fix: make recompileSchema recompute derived caches and delay _preCompile() until an actual model is compiled (not subdocs or doc arrays) #16595
  • fix(array): compare UUIDs by value in indexOf() so pull() and addToSet() work #16606 luantaraschi
  • docs(query): remove unused use$geoWithin docs and property #16589 #16583
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.10 / 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

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

9.12.1 / 2026-11-09

9.12.0 / 2026-11-04

  • feat: upgrade to mongodb driver 7.8 #16772 #16667
  • perf: improve for document arrays: cache paths with defaults and schemas with select paths; avoid unnecessary $isModified() lookup #16595
  • fix: make recompileSchema recompute derived caches and delay _preCompile() until an actual model is compiled (not subdocs or doc arrays) #16595
  • fix(array): compare UUIDs by value in indexOf() so pull() and addToSet() work #16606 luantaraschi
  • docs(query): remove unused use$geoWithin docs and property #16589 #16583

9.11.5 / 2026-11-03

... (truncated)

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.11.4 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.11.4...9.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 5, 2026

This branch has not been deployed

No deployments
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