Skip to content

fix(deps): update dependency mongoose to v9 (main) - #258

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-mongoose-9.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-mongoose-9.x

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
mongoose (source) ^8.12.2 → ^9.0.0 age confidence

Release Notes

Automattic/mongoose (mongoose)

v9.13.1

Compare Source

===================

v9.13.0

Compare Source

===================

  • feat: upgrade MongoDB driver to 7.9 #​16724 oscarmaia
  • feat(schema+model+query): add defaultSort option to schemas, applies default sort to all queries unless sort explicitly specified #​16676 #​16577
  • perf(documentArray): avoid O(n*m) id() lookup when setting a documentarray to a plain array #​16683 #​16673
  • perf(subdocument): check isNew before isDirectModified() in markModified() #​16743 g4lb
  • fix: make ducktyping more rigorous about inherited vs own properties, fix a few cases where user-specified $__ and $__isNested caused confusing errors #​16723
  • types: handle nested projections in typescript #​16678
  • docs(mongoose): document the mongoose.mongo property #​16712 #​16710 VaibhavBajpaij

v9.12.3

Compare Source

===================

v9.12.2

Compare Source

===================

  • 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

v9.12.1

Compare Source

===================

v9.12.0

Compare Source

===================

  • 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

v9.11.4

Compare Source

===================

  • 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()

v9.11.3

Compare Source

===================

v9.11.2

Compare Source

===================

v9.11.1

Compare Source

===================

v9.11.0

Compare Source

===================

v9.10.4

Compare Source

===================

  • fix: handle MongoDB server 9.x returning collation: { locale: 'simple' } on all indexes #​16557
  • fix(populate): resolve dotted parent path when collecting deferred sub-populate children #​16538 jfits
  • fix(array): compare dates by value in indexOf() so pull() removes them #​16535 giaBaoJS
  • fix(map): register $set when Map#set() replaces an array #​16540 #​16539 luantaraschi
  • fix(query): cast case and then expressions in $expr $switch branches #​16534 kwy404
  • docs(guide): fix read preference tag set example #​16541 NotAFlightRisk

v9.10.3

Compare Source

===================

v9.10.2

Compare Source

===================

v9.10.1

Compare Source

===================

  • types: relax populate Model generics to allow typed virtuals to be passed to populate in TypeScript 7 with skipLibCheck #​16503

v9.10.0

Compare Source

===================

  • feat: upgrade mongodb driver -> 7.6.0
  • feat(model): add Model.findAndCount() wrapper for limit+skip based pagination with countDocuments #​16460 #​16454
  • feat(schema): add Schema.prototype.queryHelper() to make it easier to define query helpers in TypeScript #​16464 #​16410
  • feat: support middleware skip option for cursors and custom hooks #​16350 #​15883 #​8768 AbdelrahmanHafez
  • fix: apply defaults to undefined array elements #​16542 #​9232
  • types: support for type narrowing when using projection in find and findOne #​16500 #​15545
  • types: make Schema.prototype.static() return type with new static #​16464

v9.9.5

Compare Source

==================

v9.9.4

Compare Source

==================

v9.9.3

Compare Source

==================

v9.9.2

Compare Source

==================

v9.9.1

Compare Source

==================

  • fix(query): avoid path collision when excluding subdocuments with nested select: false paths #​12798 BIGSUS24
  • types(model): apply schema-level lean to find() #​16413
  • types(model): support overriding schema-level lean with lean: false #​16413

v9.9.0

Compare Source

==================

v9.8.1

Compare Source

==================

v9.8.0

Compare Source

==================

v9.7.4

Compare Source

==================

  • types(create): fix handling of nested objects typed as interfaces #​16363 #​16362
  • types: correct this parameter handling for methods with versionKey #​16344 #​16046
  • docs: add FAQ entry for querySrv ECONNREFUSED errors on Windows with mongodb+srv:// connections #​16342 ajay naik

v9.7.3

Compare Source

==================

v9.7.2

Compare Source

==================

  • 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

v9.7.1

Compare Source

==================

  • 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

v9.7.0

Compare Source

==================

v9.6.3

Compare Source

==================

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 5c38e01 to 6fc32d9 Compare December 5, 2025 20:22
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 3 times, most recently from eb7170e to 28d1c52 Compare December 19, 2025 01:34
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 4 times, most recently from 24bb30c to 00087f0 Compare January 5, 2026 18:04
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 4c88624 to b0f87a0 Compare January 16, 2026 06:43
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 737a85a to 08e329d Compare January 20, 2026 17:52
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from e432876 to a1a579a Compare February 4, 2026 20:55
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 8977b76 to dcacb3f Compare February 11, 2026 16:50
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 92a129b to c3056e7 Compare February 26, 2026 21:19
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from bf8c051 to dd2e820 Compare March 10, 2026 21:51
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 0f36f0d to 31b2117 Compare March 23, 2026 22:05
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 31b2117 to 93c3826 Compare March 25, 2026 18:38
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 93c3826 to 2b80dd4 Compare April 3, 2026 21:47
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from 3fc4456 to 0ec01ff Compare April 20, 2026 21:49
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from ee4a057 to 4f1f9a0 Compare April 29, 2026 20:08
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 4f1f9a0 to 7faa4cd Compare May 8, 2026 18:02
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 3 times, most recently from b561650 to f27ad40 Compare July 31, 2026 19:09
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from f08e2f6 to 1579a5f Compare August 12, 2026 03:52
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 1579a5f to b757322 Compare August 17, 2026 22:35
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from b757322 to 59d5b26 Compare August 25, 2026 21:43
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 4 times, most recently from 43f47e0 to ae56a9d Compare September 10, 2026 23:27
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from ae56a9d to e8aaead Compare September 14, 2026 22:51
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 2 times, most recently from fb0a814 to 56845f7 Compare September 29, 2026 18:59
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 4 times, most recently from addad95 to 8dce014 Compare October 7, 2026 17:11
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 8dce014 to 2179500 Compare October 13, 2026 00:50
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 3 times, most recently from e78d845 to 30516a0 Compare October 23, 2026 20:44
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch from 30516a0 to cf19120 Compare October 28, 2026 09:52
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 3 times, most recently from 3000e50 to 1c84e51 Compare November 9, 2026 21:40
@renovate
renovate Bot force-pushed the renovate/main-mongoose-9.x branch 3 times, most recently from 06ea2a7 to 2e264b6 Compare November 23, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants