Skip to content

build(deps): bump mongoose from 8.24.8 to 9.12.0 - #21

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 30, 2026 •

Copy link
Copy Markdown

Bumps mongoose from 8.24.8 to 9.12.0.

Release notes

Sourced from mongoose's releases.

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
  • fix(query): disallow special properties like __proto__ as paths in where() and mod()
  • fix(deps): upgrade mquery -> 6.0.1 to avoid prototype pollution with query helpers like gt() and in()

9.11.3 / 2026-10-21

9.11.2 / 2026-10-12

9.11.1 / 2026-10-07

  • fix(document): call recursive toObject() when setting a path to a nested object #16571
  • fix(update): keep casting array filters after a path not in the schema #16558 giaBaoJS
  • fix(document): apply flattenDecimals when toObject() takes the shallow fast path #16569 #16568 jeremyml
  • fix(query): cast operators under $not inside $elemMatch on primitive arrays #16542 #13880 breken-ai
  • fix(query): use embedded discriminator schema when filter selects the key with $eq or $in #16543 breken-ai
  • fix(documentarray): don't pass arrayPathIndex to subdocuments when initializing nested document arrays #16546 Mohamed-Elshesheny
  • fix(cursor): await driver cleanup when destroying query cursors #16562 #16560 IbrahimHafez1
  • fix(cursor): reject getDriverCursor after initialization errors #16563 #16561 IbrahimHafez1
  • types(schema): treat Int32 paths as number #16565 #16564 lazerg
  • types(models): align UpdateOneModel and UpdateManyModel update typing with UpdateQuery #16559 #16545 aipd506

9.11.0 / 2026-10-05

  • feat: use MongoDB Node.js driver 7.7.x #16550
  • feat(query): add Query.prototype.findAndCount() for composable paginated queries #16508 #16504 lokeshllkumar

... (truncated)

Changelog

Sourced from mongoose's changelog.

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

Commits
  • be57670 chore: release 9.12.0
  • 0f620fa Merge pull request #16675 from Automattic/9.12
  • 2a92806 fix: make recompileSchema recompute derived caches and delay _preCompile() un...
  • f8d4fd8 Merge pull request #16672 from Automattic/vkarpov15/20261103/gh-16667
  • 21ad530 feat: upgrade to mongodb 7.8
  • b8a882a Merge branch 'master' into 9.12
  • 157c8fb chore: release 9.11.5
  • c032c07 Merge pull request #16608 from Majny/fix/insertmany-preserve-writeerror
  • 028a295 Fix WriteError index assignment in error handling
  • 2702238 Merge branch '8.x'
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 30, 2026
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.24.8 to 9.12.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.24.8...9.12.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.11.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump mongoose from 8.24.7 to 9.11.4 build(deps): bump mongoose from 8.24.8 to 9.12.0 Nov 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mongoose-9.11.4 branch from 660f5f2 to 98ecb9b Compare November 9, 2026 07:29
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