An open index of dependabot pull requests across open source projects.

Bump mongoose from 8.17.1 to 8.18.2

Closed
Number: #52
Type: Pull Request
State: Closed
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 1
Created: September 23, 2025 at 02:17 AM UTC
(9 months ago)
Updated: September 30, 2025 at 02:30 AM UTC
(9 months ago)
Closed: September 30, 2025 at 02:30 AM UTC
(9 months ago)
Time to Close: 7 days
Labels:
dependencies javascript
Description:

Bumps mongoose from 8.17.1 to 8.18.2.

Release notes

Sourced from mongoose's releases.

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
  • types: remove logic that omits timestamps when virtuals, methods, etc. options set #15577 #12807

8.17.2 / 2025-08-18

  • fix: avoid Model.validate() hanging when all paths fail casting #15580 #15579 piotracalski
  • types(document): better support for flattenObjectIds and versionKey options for toObject() and toJSON() #15582 #15578
  • docs: fix docs jsdoc tags and add UUID to be listed #15585
  • docs(document): fix code sample that errors with "Cannot set properties of undefined" #15589
Changelog

Sourced from mongoose's changelog.

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
  • types: remove logic that omits timestamps when virtuals, methods, etc. options set #15577 #12807

8.17.2 / 2025-08-18

  • fix: avoid Model.validate() hanging when all paths fail casting #15580 #15579 piotracalski
  • types(document): better support for flattenObjectIds and versionKey options for toObject() and toJSON() #15582 #15578
  • docs: fix docs jsdoc tags and add UUID to be listed #15585
  • docs(document): fix code sample that errors with "Cannot set properties of undefined" #15589
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)
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+3
Deletions:
-3
Package Dependencies
Package:
mongoose
Ecosystem:
npm
Version Change:
8.17.1 → 8.18.2
Update Type:
Minor
Technical Details
ID: 8802799
UUID: 2851674590
Node ID: PR_kwDOO_NACc6p-Rne
Host: GitHub
Repository: rammfall-code/template-simple-fastify-node
Mergeable: Yes
Merge State: Clean