Skip to content

build(deps): bump mongoose from 9.3.3 to 9.4.1#3394

Merged
github-actions[bot] merged 1 commit intomasterfrom
dependabot/npm_and_yarn/mongoose-9.4.1
Apr 6, 2026
Merged

build(deps): bump mongoose from 9.3.3 to 9.4.1#3394
github-actions[bot] merged 1 commit intomasterfrom
dependabot/npm_and_yarn/mongoose-9.4.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps mongoose from 9.3.3 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
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
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

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.3.3 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@9.3.3...9.4.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.4.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 Apr 6, 2026
@github-actions github-actions bot merged commit 53e7cad into master Apr 6, 2026
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-9.4.1 branch April 6, 2026 04:03
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