Skip to content

Bump mongoose from 8.16.4 to 8.24.7 - #4425

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mongoose-8.24.7
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mongoose-8.24.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps mongoose from 8.16.4 to 8.24.7.

Release notes

Sourced from mongoose's releases.

8.24.7 / 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 -> 5.0.1 to avoid prototype pollution with query helpers like gt() and in()

8.24.6 / 2026-10-20

8.24.5 / 2026-10-04

  • fix: handle MongoDB server 9.x returning collation: { locale: 'simple' } on all indexes #16557
  • fix(documentarray): reindex subdocs after addToSet() skips a duplicate #16507 giaBaoJS

8.24.4 / 2026-08-21

8.24.3

fix(query): apply sanitizeFilter on countDocuments and cursor()

8.24.2 / 2026-07-27

8.24.1

  • fix(documentarray): reindex subdocs after array reordering and removal so subsequent nested changes save using the correct path #16282 AbdelrahmanHafez
  • fix(document): avoid accessing special properties in Document.prototype.get()
  • fix(schema): avoid returning inherited properties from schema path lookups, including paths underneath maps of subdocuments
  • fix(clone): isolate cloned arrays from source documents #16281 AbdelrahmanHafez
  • types: enable exactOptionalPropertyTypes in TypeScript tests #16287

8.24.0 / 2026-05-14

  • feat(aggregate): add pipelineForUnionWith() helper to allow reusing pipelines with $unionWith in TypeScript #16247 #16041 #16033
  • fix(connection): handle calling watch() on disconnected connection #16246 #16034
  • types: handle compiling with exactOptionalPropertyTypes #16286 #16273

8.23.1 / 2026-04-23

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.24.7 / 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 -> 4.0.4 to avoid prototype pollution with query helpers like gt() and in()

9.11.3 / 2026-10-21

8.24.6 / 2026-10-20

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)

Commits
  • d0e609c chore: release 8.24.7
  • adca543 chore: upgrade mquery -> 5.0.1
  • cf237dd Merge branch 'vkarpov15/20261022/8.x/security' into 8.x
  • ad76a19 Merge branch 'vkarpov15/20261016/8.x/security' into 8.x
  • 390453c fix: only use own properties when looking up discriminators by key
  • 8e0dc48 fix: skip inherited properties in setDottedPath - not user facing but still g...
  • 18b5513 fix: avoid setting values underneath inherited properties when constructing n...
  • 27fcdff fix: avoid overriding built-in properties when copying conditions and avoid p...
  • 318f7e0 fix: disallow setting special properties via virtual()
  • 83eda6a fix(query): respect connection-level sanitizeFilter in queries
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for mongoose since your current version.


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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mongoose-8.24.7 branch from a9d717f to 4411508 Compare November 14, 2026 17:44

This branch is waiting to be deployed

1 waiting deployment
e2e-tests — 44115084 Waiting Nov 14, 2026 by dependabot[bot] via test-e2e #522
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