Skip to content

chore(deps): bump mongoose from 9.1.6 to 9.2.1#479

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-9.2.1
Feb 16, 2026
Merged

chore(deps): bump mongoose from 9.1.6 to 9.2.1#479
github-actions[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-9.2.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps mongoose from 9.1.6 to 9.2.1.

Release notes

Sourced from mongoose's releases.

9.2.1 / 2026-02-11

  • types(query): allow assigning QueryFilter<DocType> to QueryFilter<any> #16020
  • types: duplicate identifier 'UUIDToJSON' in mongoosejs 9.2.0 #16023
  • types: preserve subdocument toObject() field types when using virtuals + versionKey options #16021 #15965 AbdelrahmanHafez
  • docs(mongoose): add missing options to mongoose.set() docs #16019

9.2.0 / 2026-02-09

  • feat: add option to skip middleware #15883 #8768 AbdelrahmanHafez
  • feat(model): delay "Duplicate schema index" warning until createIndexes runs to include model name in the warning #15979
  • feat(model): add strict option to Model.hydrate(...) #15940 #15977
  • feat(document): add flattenUUIDs option to toObject() and toJSON() #15864 #15021 AbdelrahmanHafez
  • fix(schema): treat undefined as not provided for strict, strictQuery and id options #16004 AbdelrahmanHafez
  • types(inferrawdoctype): avoid adding _id to nested paths and handle _id: false in options + schema definition #15989
  • types: fix toObject() type inference with timestamps + virtuals #15975 AbdelrahmanHafez
  • types(models): remove dead MapReduce and GeoSearch types #15984
  • test(types): remove tsd in favor of tsc + test utilities #15951 #15696
Changelog

Sourced from mongoose's changelog.

9.2.1 / 2026-02-11

  • types(query): allow assigning QueryFilter to QueryFilter #16020
  • types: duplicate identifier 'UUIDToJSON' in mongoosejs 9.2.0 #16023
  • types: preserve subdocument toObject() field types when using virtuals + versionKey options #16021 #15965 AbdelrahmanHafez
  • docs(mongoose): add missing options to mongoose.set() docs #16019

9.2.0 / 2026-02-09

  • feat: add option to skip middleware #15883 #8768 AbdelrahmanHafez
  • feat(model): delay "Duplicate schema index" warning until createIndexes runs to include model name in the warning #15979
  • feat(model): add strict option to Model.hydrate(...) #15940 #15977
  • feat(document): add flattenUUIDs option to toObject() and toJSON() #15864 #15021 AbdelrahmanHafez
  • fix(schema): treat undefined as not provided for strict, strictQuery and id options #16004 AbdelrahmanHafez
  • types(inferrawdoctype): avoid adding _id to nested paths and handle _id: false in options + schema definition #15989
  • types: fix toObject() type inference with timestamps + virtuals #15975 AbdelrahmanHafez
  • types(models): remove dead MapReduce and GeoSearch types #15984
  • test(types): remove tsd in favor of tsc + test utilities #15951 #15696

8.23.0 / 2026-02-09

  • feat(document): add flattenUUIDs option to toObject() and toJSON() (backport #15021 to 8.x)
Commits
  • 764bd82 chore: release 9.2.1
  • 2e5b780 Merge pull request #16021 from Automattic/fix/gh-15965-subdoc-toObject
  • 324ff4c Merge pull request #16020 from Automattic/vkarpov15/gh-16006
  • 684b31f test(types): check types using ts-expect-error directive instead of ExpectType
  • 06b4e93 Merge pull request #16019 from Automattic/vkarpov15/gh-16005
  • 55749fc fix(types): make subdocuments and array subdocuments have the same behavior f...
  • b81b3b6 types(query): allow assigning QueryFilter<DocType> to QueryFilter<any>
  • 8d05461 test(types): assert subdocuments in toObject() and toJSON get the correc...
  • 40ffefe docs(mongoose): add missing options to mongoose.set() docs
  • 904a2eb chore: release 9.2.0
  • 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.1.6 to 9.2.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@9.1.6...9.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 16, 2026
@vercel
Copy link

vercel bot commented Feb 16, 2026

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

Project Deployment Actions Updated (UTC)
codegamy Ready Ready Preview, Comment Feb 16, 2026 6:10pm

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 16, 2026
@github-actions github-actions bot enabled auto-merge (squash) February 16, 2026 18:09
@github-actions github-actions bot merged commit fa561b7 into main Feb 16, 2026
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-9.2.1 branch February 16, 2026 18:10
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