Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Bumps mongoose from 8.12.1 to 8.19.2.

Release notes

Sourced from mongoose's releases.

8.19.2 / 2025-10-20

  • perf(setDefaultsOnInsert): avoid computing all modified paths when running setDefaultsOnInsert and update validators, only calculate if there are defaults to set #15691 #15672
  • fix: correct handling of relative vs absolute paths with maps and subdocuments #15682 #15678 #15350
  • ci: add publish script with provenance #15684 #15680

8.19.1 / 2025-10-06

  • perf: avoid getting all modified paths in update when checking if versionKey needs to be set #15677 #15672
  • perf: Avoid needless path translation #15679 orgads
  • fix(query): throw error if using update operator with modifier and no path #15670 #15642
  • types: avoid making FilterQuery a conditional type because of how typescript handles distributed conditional unions #15676 #15671
  • docs: update installation instructions #15675 aalok-y

8.19.0 / 2025-10-02

8.18.3 / 2025-09-29

  • fix(update): avoid throwing error if update has a top-level $addToSet with no path #15648 #15642
  • types(query): allow passing arbitrary options #15644 #15643
  • docs(connection+mongoose): correct mongodb option name user -> username #15650 #15647
  • test: add tests covering vector search and text search using Atlas CLI #15649 #15645

8.18.2 / 2025-09-22

  • fix(document): prevent $clone() from converting mongoose arrays into vanilla arrays #15633 #15625
  • fix(connection): use correct collection name for model when using useConnection() #15637
  • fix(connection): propagate changes to _lastHeartbeatAt to useDb() child connections #15640 #15635
  • types: fix schema property type definition in SchemaType #15631

8.18.1 / 2025-09-08

  • types: correct type inference for maps of maps #15602
  • types(model): copy base model statics onto discriminator model #15623 #15600
  • types: fix types for a string of enums #15605 ruiaraujo
  • types(SchemaOptions): disallow versionKey: true, which fails at runtime #15606
  • docs(typescript): add example explaining how to use query helper overrides for handling lean() #15622 #15601
  • docs(transactions): add note about nested transactions #15624

8.18.0 / 2025-08-22

  • feat(schema): support for union types #15574 #10894
  • fix: trim long strings in minLength and maxLength error messages and display the string length #15571 #15550
  • types(connection+collection): make BaseCollection and BaseConnection usable as values #15575 #15548

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.19.2 / 2025-10-20

  • perf(setDefaultsOnInsert): avoid computing all modified paths when running setDefaultsOnInsert and update validators, only calculate if there are defaults to set #15691 #15672
  • fix: correct handling of relative vs absolute paths with maps and subdocuments #15682 #15678 #15350
  • ci: add publish script with provenance #15684 #15680

8.19.1 / 2025-10-06

  • perf: avoid getting all modified paths in update when checking if versionKey needs to be set #15677 #15672
  • perf: Avoid needless path translation #15679 orgads
  • fix(query): throw error if using update operator with modifier and no path #15670 #15642
  • types: avoid making FilterQuery a conditional type because of how typescript handles distributed conditional unions #15676 #15671
  • docs: update installation instructions #15675 aalok-y

8.19.0 / 2025-10-02

8.18.3 / 2025-09-29

  • fix(update): avoid throwing error if update has a top-level $addToSet with no path #15648 #15642
  • types(query): allow passing arbitrary options #15644 #15643
  • docs(connection+mongoose): correct mongodb option name user -> username #15650 #15647
  • test: add tests covering vector search and text search using Atlas CLI #15649 #15645

8.18.2 / 2025-09-22

  • fix(document): prevent $clone() from converting mongoose arrays into vanilla arrays #15633 #15625
  • fix(connection): use correct collection name for model when using useConnection() #15637
  • fix(connection): propagate changes to _lastHeartbeatAt to useDb() child connections #15640 #15635
  • types: fix schema property type definition in SchemaType #15631

8.18.1 / 2025-09-08

  • types: correct type inference for maps of maps #15602
  • types(model): copy base model statics onto discriminator model #15623 #15600
  • types: fix types for a string of enums #15605 ruiaraujo
  • types(SchemaOptions): disallow versionKey: true, which fails at runtime #15606
  • docs(typescript): add example explaining how to use query helper overrides for handling lean() #15622 #15601
  • docs(transactions): add note about nested transactions #15624

8.18.0 / 2025-08-22

  • feat(schema): support for union types #15574 #10894
  • fix: trim long strings in minLength and maxLength error messages and display the string length #15571 #15550
  • types(connection+collection): make BaseCollection and BaseConnection usable as values #15575 #15548

... (truncated)

Commits

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.19.2.
- [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.19.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.19.2
  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 Oct 27, 2025
@dependabot dependabot bot requested a review from lc-2025 as a code owner October 27, 2025 04:05
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.

2 participants