Skip to content

Bump mongoose and ts-migrate-mongoose#215

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-a5e7a134be
Open

Bump mongoose and ts-migrate-mongoose#215
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-a5e7a134be

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 7, 2026

Bumps mongoose to 9.4.1 and updates ancestor dependency ts-migrate-mongoose. These dependencies need to be updated together.

Updates mongoose from 8.20.1 to 9.4.1

Release notes

Sourced from mongoose's releases.

9.4.1 / 2026-04-03

  • Revert "fix(setDefaultsOnInsert): run setters on default values during upsert" #16218 #16051

9.4.0 / 2026-04-03

  • perf(document+model): avoid parallel save error instantiation, simplify resetting atomics, streamline validation and collection handling
  • feat(document): add $getChanges() alias, deprecate getChanges() #15959 techcodie
  • fix(schema): support toJSONSchema on unions #16179
  • fix(schema): implement validation for Union schemas and subdocuments techcodie
  • fix(connection): snapshot Date in heartbeat handler and flush queue on recovery #16183 andreialecu
  • fix(model): use duck-typing with version check to validate the argument to useConnection() is actually a connection #16098
  • fix(setDefaultsOnInsert): run setters on default values during upsert #16051 mahmoodhamdi
  • fix(utils): properly compare Set objects in deepEqual KhanjarSingh
  • fix(utils): wrap discriminator merge check in parentheses to fix precedence Necro-Rohan
  • fix(schema): correct template literal in encryptionType error message Mridul012
  • fix(schema): correct error when unsupported query operator with number #16062
  • fix(types): make MergeType and UnpackedIntersection distributive over union types techcodie
  • types: add id to HydratedDocument virtuals by default unless explicitly set #16178
  • types(populate): use marker type to track populated vs depopulated type for perf
  • types(populate): retain populated paths in toObject() and toJSON() unless depopulate: true set #16085
  • types(query): make TypeScript error on $and with unrecognized query operator
  • chore: use TSTyche assertions mrazauskas
  • docs(connection): remove references to useUnifiedTopology and fix backtick
  • docs: fix typo 'retreiving' -> 'retrieving' in SchemaType getter JSDoc yogesh968
  • docs: fix typos around 'retrieve' in schemaType and tests ayushshukla1807
  • docs: fix typos in code comments Goldyvaiiii

9.3.3 / 2026-03-25

  • fix(schemaType): standardize to use MongooseError instead of plain Error #16172 VIPAX-JIT
  • types: make MergeType distributive to better support populate on models where the hydrated doc type is a union #16101 #16161
  • docs: upgrade http:// links to https:// in connections.md #16163 Puxhkar
  • docs: fix typographical, grammatical errors & documentation clarity improvements #16175 yogesh968
  • docs: clarify multi-mongos support documentation for sharded clusters

9.3.2 / 2026-03-23

  • fix(mongoose): throw error when trying to set null or undefined as options #16130 #16140
  • fix(cast): include array value in query filter error message #16127 White-Devil2839
  • fix(cast): replace assert.ok with descriptive Error in castNumber #16110 mrsandy1965
  • fix(connection): standardize throw new Error to MongooseError #16142 techcodie
  • fix(query): use MongooseError instead of Error #16132 ace-tk
  • docs: add production environment example for autoIndex #16151 mrsandy1965
  • docs: upgrade self-referencing http:// links to https:// #16150 mrsandy1965
  • docs: fix incorrect Double cast comment and upgrade insecure plugin link #16148 mrsandy1965
  • docs: fix redundant text and http link in installation section #16146 Puxhkar
  • docs: fix typo 'mutiple' → 'multiple' in queries.md #16147 mrsandy1965
  • docs: use HTTPS for external links in docs navigation #16133 ace-tk
  • docs: use HTTPS for external links in CONTRIBUTING and homepage #16134 ace-tk

... (truncated)

Changelog

Sourced from mongoose's changelog.

9.4.1 / 2026-04-03

  • Revert "fix(setDefaultsOnInsert): run setters on default values during upsert" #16218 #16051

9.4.0 / 2026-04-03

  • perf(document+model): avoid parallel save error instantiation, simplify resetting atomics, streamline validation and collection handling
  • feat(document): add $getChanges() alias, deprecate getChanges() #15959 techcodie
  • fix(schema): support toJSONSchema on unions #16179
  • fix(schema): implement validation for Union schemas and subdocuments techcodie
  • fix(connection): snapshot Date in heartbeat handler and flush queue on recovery #16183 andreialecu
  • fix(model): use duck-typing with version check to validate the argument to useConnection() is actually a connection #16098
  • fix(setDefaultsOnInsert): run setters on default values during upsert #16051 mahmoodhamdi
  • fix(utils): properly compare Set objects in deepEqual KhanjarSingh
  • fix(utils): wrap discriminator merge check in parentheses to fix precedence Necro-Rohan
  • fix(schema): correct template literal in encryptionType error message Mridul012
  • fix(schema): correct error when unsupported query operator with number #16062
  • fix(types): make MergeType and UnpackedIntersection distributive over union types techcodie
  • types: add id to HydratedDocument virtuals by default unless explicitly set #16178
  • types(populate): use marker type to track populated vs depopulated type for perf
  • types(populate): retain populated paths in toObject() and toJSON() unless depopulate: true set #16085
  • types(query): make TypeScript error on $and with unrecognized query operator
  • chore: use TSTyche assertions mrazauskas
  • docs(connection): remove references to useUnifiedTopology and fix backtick
  • docs: fix typo 'retreiving' -> 'retrieving' in SchemaType getter JSDoc yogesh968
  • docs: fix typos around 'retrieve' in schemaType and tests ayushshukla1807
  • docs: fix typos in code comments Goldyvaiiii

9.3.3 / 2026-03-25

  • fix(schemaType): standardize to use MongooseError instead of plain Error #16172 VIPAX-JIT
  • types: make MergeType distributive to better support populate on models where the hydrated doc type is a union #16101 #16161
  • docs: upgrade http:// links to https:// in connections.md #16163 Puxhkar
  • docs: fix typographical, grammatical errors & documentation clarity improvements #16175 yogesh968
  • docs: clarify multi-mongos support documentation for sharded clusters

9.3.2 / 2026-03-23

  • fix(mongoose): throw error when trying to set null or undefined as options #16130 #16140
  • fix(cast): include array value in query filter error message #16127 White-Devil2839
  • fix(cast): replace assert.ok with descriptive Error in castNumber #16110 mrsandy1965
  • fix(connection): standardize throw new Error to MongooseError #16142 techcodie
  • fix(query): use MongooseError instead of Error #16132 ace-tk
  • docs: add production environment example for autoIndex #16151 mrsandy1965
  • docs: upgrade self-referencing http:// links to https:// #16150 mrsandy1965
  • docs: fix incorrect Double cast comment and upgrade insecure plugin link #16148 mrsandy1965
  • docs: fix redundant text and http link in installation section #16146 Puxhkar
  • docs: fix typo 'mutiple' → 'multiple' in queries.md #16147 mrsandy1965
  • docs: use HTTPS for external links in docs navigation #16133 ace-tk
  • docs: use HTTPS for external links in CONTRIBUTING and homepage #16134 ace-tk

... (truncated)

Commits
  • 91cc6ba chore: release 9.4.1
  • 32d0bef Merge pull request #16218 from Automattic/revert-16093-fix/issue-16051-setter...
  • 655e0f3 Revert "fix(setDefaultsOnInsert): run setters on default values during upsert"
  • 0ad38e6 chore: release 9.4.0
  • 7ffb16d Merge pull request #16217 from Automattic/9.4
  • 8c1d3df Merge pull request #16182 from Automattic/vkarpov15/gh-16179
  • c63cae8 Update lib/model.js
  • e454679 fix typescript tests
  • 4400687 Merge branch 'master' into 9.4
  • 16fdc8a fix: oneOf -> anyOf for union JSON schema
  • 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.


Updates ts-migrate-mongoose from 4.2.0 to 4.2.2

Release notes

Sourced from ts-migrate-mongoose's releases.

v4.2.2

  • Update changelog for v4.2.1 527e17c

ilovepixelart/ts-migrate-mongoose@v4.2.1...v4.2.2

v4.2.1

  • np 5360a43
  • np 0cd3e20
  • Merge pull request #462 from ilovepixelart/feature/dep a1664c9
  • Dep e4f82ef
  • Add GitHub Action workflow for npm publishing a2ccf2d
  • Update changelog for v4.2.0 839d081

ilovepixelart/ts-migrate-mongoose@v4.2.0...v4.2.1

Commits
Maintainer changes

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


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [mongoose](https://github.com/Automattic/mongoose) to 9.4.1 and updates ancestor dependency [ts-migrate-mongoose](https://github.com/ilovepixelart/ts-migrate-mongoose). These dependencies need to be updated together.


Updates `mongoose` from 8.20.1 to 9.4.1
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.20.1...9.4.1)

Updates `ts-migrate-mongoose` from 4.2.0 to 4.2.2
- [Release notes](https://github.com/ilovepixelart/ts-migrate-mongoose/releases)
- [Commits](ilovepixelart/ts-migrate-mongoose@v4.2.0...v4.2.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.4.1
  dependency-type: indirect
- dependency-name: ts-migrate-mongoose
  dependency-version: 4.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from cmenon12 as a code owner May 7, 2026 14:15
@dependabot dependabot Bot added the dependencies Updates to dependencies label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant