Skip to content

Bump mongoose from 8.16.4 to 8.24.1 - #4224

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

Bump mongoose from 8.16.4 to 8.24.1#4224
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mongoose-8.24.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 28, 2026

Copy link
Copy Markdown
Contributor

Bumps mongoose from 8.16.4 to 8.24.1.

Release notes

Sourced from mongoose's releases.

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

  • fix(model): support sort option in Model.bulkWrite() updateOne and replaceOne operations #16091 #16079
  • fix(setDefaultsOnInsert): check child filter paths before applying defaults (backport #16031 to 8.x) #16219 marklai1998
  • fix(schema): always pass raw string value to error validators, only trim to 30 chars for maxlength validator #16238 #16236 #15550 #15571

8.23.0 / 2026-02-09

  • feat(document): add flattenUUIDs option to toObject() and toJSON() (backport #15021 to 8.x)

8.22.1 / 2025-02-04

  • fix: handle other top-level query operators in sanitizeFilter
  • fix(document): when cloning a doc with subdocs, make sure the subdocs parent is the cloned doc #15904 #15901
  • types(models): support Mongoose query casting in AnyBulkWriteOperation filter property #15910
  • types: add toBSON() to documents #15927

8.22.0 / 2026-01-27

  • feat(model): allow passing strict option to hydrate() #15944 #15940

8.21.1

  • fix(clone): fix parent doc for map subdocuments and array subdocuments #15958 AbdelrahmanHafez
  • fix(document): when cloning a doc with subdocs, make sure the subdocs parent is the cloned doc #15904 #15901
  • fix: respect currentTime schema option in bulkWrite updates #15976 sderrow
  • types(models): support Mongoose query casting in AnyBulkWriteOperation filter property #15910
  • types: add toBSON() to documents #15927

8.21.0 / 2025-12-29

  • feat(document): add support for getAtomics() to allow custom container types to utilize atomics #15817
  • feat(document+model): pass options to pre('deleteOne') and update+options to pre('updateOne') hooks #15908 #15870
  • fix: add support for typescript style enums #15914 #15913 mjfwebb

8.20.4 / 2025-12-18

  • fix(model): ensure $isDeleted is set after calling doc.deleteOne() successfully #15898

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.24.1 / 2026-06-22

  • 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

9.7.2 / 2026-06-22

  • 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): only return own properties in schematype lookups and disallow setting schema paths under special properties
  • docs: update homepage sponsor layout

9.7.1 / 2026-06-17

  • perf(document+model): improve save performance by avoiding unnecessary promise allocations and reducing path/default/dirty-state overhead #16331
  • fix(schema): include ObjectId regex pattern in toJSONSchema() output #16335 #16334 AbdelrahmanHafez
  • fix(populate): split populate into separate queries per document if the resulting $in filter has more than 50k elements to reduce risk of BSON size errors #16333 #5890
  • docs: add assistant sidebar with MongoDB Knowledge integration #16311 #16283
  • docs: update docs copy buttons, edit links, homepage alignment, and llms.txt generation #16326 #16327 #16329

9.7.0 / 2026-06-09

  • feat: add Node.js TracingChannel support for APM instrumentation #16275 #16105 logaretm
  • feat(model): add standard schema adapter for models #16308 #16280
  • fix(cursor): avoid waiting on buffering to run aggregation middleware #16289 #16284
  • fix(document): throw error if overwriting array selected with $slice #16313 #2432
  • fix(schema): remove validateSync() union fallback #16310 #16291 AbdelrahmanHafez
  • types: cast primitive types within unions when applying create casting #16320 #16316
  • docs: add llms.txt #16312 #15687
  • docs: rewrite documents docs #16298
  • docs(model): clarify some details on model.validate() casting #16308 #16280
  • docs(findOneAndUpdate): clarify update handling of undefined #16299
  • docs(model): fix link to be absolute #16321 hasezoey

9.6.3 / 2026-05-27

8.24.0 / 2026-05-14

  • feat(aggregate): add pipelineForUnionWith() helper to allow reusing pipelines with $unionWith in TypeScript #16247 #16041 #16033

... (truncated)

Commits
  • d5dd19e chore: release 8.24.1
  • 0c346a4 fix(documentarray): reindex subdocs after reordering (#16282)
  • 550b803 fix(document): additional defensive checks in Document.prototype.get()
  • 953d085 fix(schema): only return own properties in schematype lookups
  • 1e1679f types: use exactOptionalPropertyTypes in tests (#16287)
  • 051b095 fix(clone): isolate cloned arrays from source documents (#16281)
  • 89ca7f2 chore: release 8.24.0
  • 6922aa4 Merge pull request #16286 from Automattic/vkarpov15/gh-16273-8x
  • 4295eff types: handle compiling with exactOptionalPropertyTypes
  • f712fdb Merge pull request #16246 from Automattic/vkarpov15/gh-16034
  • 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 Jul 28, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mongoose-8.24.1 branch from 144b3ec to ecabad7 Compare July 28, 2026 19:46
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.16.4 to 8.24.1.
- [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.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.24.1
  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.1 branch from ecabad7 to bd94768 Compare July 31, 2026 16: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