Skip to content

chore(deps): bump mongoose from 8.12.1 to 8.16.5#349

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-8.16.5
Closed

chore(deps): bump mongoose from 8.12.1 to 8.16.5#349
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-8.16.5

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 28, 2025

Bumps mongoose from 8.12.1 to 8.16.5.

Release notes

Sourced from mongoose's releases.

8.16.5 / 2025-07-25

  • fix(map): avoid throwing required error if saving map of primitives with required: true #15542
  • types(model): export MongooseBulkWriteResult type #15546
  • types(connection): add base to connection type #15544

8.16.4 / 2025-07-16

  • fix(connection): avoid calling connection.close() internally with force: Object #15534 #15531
  • types(schema): handle required: string in schema definitions #15538 #15536
  • types(document): allow calling $isDefault() with no args #15528 #15522
  • types: infer Typescript string enums #15530 ruiaraujo
  • types: pass TModelType down to schema statics #15537

8.16.3 / 2025-07-10

  • fix(document): clean modified subpaths if unsetting map #15520 #15519
  • fix: make DocumentArray SchemaType pass all options to embedded SchemaType #15523
  • types: support readonly array in query.select #15527 omermizr

8.16.2 / 2025-07-07

  • fix(cursor): populate after hydrating in queryCursor so populated docs get parent() #15498 #15494
  • fix(schema): support toJSONSchema() on mixed types and improve error message about unsupported types #15492 #15489
  • types: add _id and __v to toObject/toJSON transform type #15501 #15479
  • types(schema): use user-provided THydratedDocumentType as context for virtual get() and set() #15517 #15516
  • types: improve typing for transform option to toJSON and toObject #15485
  • docs: link to custom setter docs from lowercase, etc. options and note that setters run on query filters #15493 #15491
  • docs(jest): add note about resetModules #15515

8.16.1 / 2025-06-26

  • fix(document): avoid setting _skipMarkModified when setting nested path with merge option #15484 #11913
  • fix(model): make sure post save error handler gets doc as param on VersionError #15483 #15480
  • fix: consistent $conditionalHandlers setup between schematypes #15490
  • docs(compatibility): note that mongodb 4.0 is not supported anymore since 8.16.0 #15487 hasezoey
  • docs: remove unnecessary --save flag from npm install instruction #15486 Thahirgeek

8.16.0 / 2025-06-16

8.15.2 / 2025-06-12

  • fix(document+schema): improve handling for setting paths underneath maps, including maps of maps #15477 #15461
  • fix: report default paths in VersionError message because they can can cause VersionError #15464
  • fix(updateValidators): ensure update validators only call validators underneath single nested paths once #15446 #15436
  • fix: fix validation for deeply nested maps of subdocuments #15469 #15447 AbdelrahmanHafez
  • fix(DocumentArray): correctly set parent if instantiated with schema from another Mongoose instance #15471 #15466

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.16.5 / 2025-07-25

  • fix(map): avoid throwing required error if saving map of primitives with required: true #15542
  • types(model): export MongooseBulkWriteResult type #15546
  • types(connection): add base to connection type #15544

8.16.4 / 2025-07-16

  • fix(connection): avoid calling connection.close() internally with force: Object #15534 #15531
  • types(schema): handle required: string in schema definitions #15538 #15536
  • types(document): allow calling $isDefault() with no args #15528 #15522
  • types: infer Typescript string enums #15530 ruiaraujo
  • types: pass TModelType down to schema statics #15537

8.16.3 / 2025-07-10

  • fix(document): clean modified subpaths if unsetting map #15520 #15519
  • fix: make DocumentArray SchemaType pass all options to embedded SchemaType #15523
  • types: support readonly array in query.select #15527 omermizr

8.16.2 / 2025-07-07

  • fix(cursor): populate after hydrating in queryCursor so populated docs get parent() #15498 #15494
  • fix(schema): support toJSONSchema() on mixed types and improve error message about unsupported types #15492 #15489
  • types: add _id and __v to toObject/toJSON transform type #15501 #15479
  • types(schema): use user-provided THydratedDocumentType as context for virtual get() and set() #15517 #15516
  • types: improve typing for transform option to toJSON and toObject #15485
  • docs: link to custom setter docs from lowercase, etc. options and note that setters run on query filters #15493 #15491
  • docs(jest): add note about resetModules #15515

8.16.1 / 2025-06-26

  • fix(document): avoid setting _skipMarkModified when setting nested path with merge option #15484 #11913
  • fix(model): make sure post save error handler gets doc as param on VersionError #15483 #15480
  • fix: consistent $conditionalHandlers setup between schematypes #15490
  • docs(compatibility): note that mongodb 4.0 is not supported anymore since 8.16.0 #15487 hasezoey
  • docs: remove unnecessary --save flag from npm install instruction #15486 Thahirgeek

8.16.0 / 2025-06-16

8.15.2 / 2025-06-12

  • fix(document+schema): improve handling for setting paths underneath maps, including maps of maps #15477 #15461
  • fix: report default paths in VersionError message because they can can cause VersionError #15464
  • fix(updateValidators): ensure update validators only call validators underneath single nested paths once #15446 #15436
  • fix: fix validation for deeply nested maps of subdocuments #15469 #15447 AbdelrahmanHafez
  • fix(DocumentArray): correctly set parent if instantiated with schema from another Mongoose instance #15471 #15466

... (truncated)

Commits
  • 1ced175 chore: release 8.16.5
  • 2faae5e test: add coverage for issues referenced in #14119
  • 099e79a Merge pull request #15546 from Automattic/vkarpov15/gh-15541
  • 6be3ae0 Merge pull request #15544 from Automattic/vkarpov15/base-type
  • 6e7f825 Merge pull request #15542 from Automattic/vkarpov15/maps-required
  • 47ba4ce types(model): export MongooseBulkWriteResult type
  • 145a790 types(connection): add base to connection type
  • 68d8564 fix(map): avoid throwing required error if saving map of primitives with requ...
  • 9b0c083 chore: release 8.16.4
  • 7f03e11 Merge pull request #15538 from Automattic/vkarpov15/gh-15536
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 8.12.1 to 8.16.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.12.1...8.16.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 28, 2025

Labels

The following labels could not be found: automerge, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 5, 2025

Superseded by #351.

@dependabot dependabot bot closed this Aug 5, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-8.16.5 branch August 5, 2025 03:21
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