Skip to content

chore(deps): bump mongoose from 9.10.1 to 9.12.3 - #46

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mongoose-9.12.3
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mongoose-9.12.3

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps mongoose from 9.10.1 to 9.12.3.

Release notes

Sourced from mongoose's releases.

9.12.3 / 2026-11-20

  • fix(model): match pathsToSkip string paths exactly in Model.validate() #16706 NotAFlightRisk
  • fix(query): avoid casting $expr $in search value when it is an expression #16709 kwy404
  • fix(update): run update validators on mixed paths in subdocuments #16708 #16707 lazerg
  • fix(documentarray): respect castNonArrays path option on document arrays #16685 yxshee
  • types(schema): add removeVirtual() to Schema #16722 farisbasha
  • docs(document): correct checkKeys default for save() #16716 phatstraws
  • docs: fix typos in comments, tests, and typings #16714 ninglinLiu

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

9.11.4 / 2026-10-23

  • fix: avoid walking into inherited properties like toString when hydrating documents, setting dotted paths, and merging updates
  • fix: only use own properties when looking up discriminators by key
  • fix(schema): disallow setting special properties via virtual()
  • fix(query): respect connection-level sanitizeFilter in queries

... (truncated)

Changelog

Sourced from mongoose's changelog.

9.12.3 / 2026-11-20

  • fix(model): match pathsToSkip string paths exactly in Model.validate() #16706 NotAFlightRisk
  • fix(query): avoid casting $expr $in search value when it is an expression #16709 kwy404
  • fix(update): run update validators on mixed paths in subdocuments #16708 #16707 lazerg
  • fix(documentarray): respect castNonArrays path option on document arrays #16685 yxshee
  • types(schema): add removeVirtual() to Schema #16722 farisbasha
  • docs(document): correct checkKeys default for save() #16716 phatstraws
  • docs: fix typos in comments, tests, and typings #16714 ninglinLiu

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

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
  • 4d039ea chore: release 9.12.3
  • 646f31a Merge pull request #16685 from yxshee/fix/docarray-castnonarrays
  • 5571176 chore: bump markdownlint-cli2
  • 8a84e32 Merge pull request #16708 from lazerg/fix/issue-16707-mixed-subdoc-update-val...
  • 45f038c Merge pull request #16706 from NotAFlightRisk/fix/model-validate-pathstoskip-...
  • 4822940 Improve pathsToSkip condition handling
  • 15d5d8e Merge pull request #16709 from kwy404/fix-expr-in-expression-search
  • 861d919 Merge pull request #16714 from ninglinLiu/docs/fix-typos-in-comments-and-tests
  • dc0697f Merge pull request #16716 from phatstraws/docs/save-checkkeys-default
  • 0747cf9 Merge pull request #16722 from farisbasha/types-schema-removevirtual
  • 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.10.1 to 9.12.3.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@9.10.1...9.12.3)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.12.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Tiggreee as a code owner November 25, 2026 17:29
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tri-app-frontend Ready Ready Preview Nov 25, 2026 5:29pm UTC

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 25, 2026
@Tiggreee
Tiggreee enabled auto-merge (squash) November 25, 2026 23:30

This branch was successfully deployed

1 active deployment
Preview — 1e8c85c0 Deployed Nov 25, 2026 by vercel[bot]
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