Skip to content

[Snyk] Security upgrade bullmq from 5.81.6 to 6.7.1 - #175

Merged
dillonstreator merged 2 commits into
mainfrom
snyk-fix-141d74939b35c5d9699ba8b79c31d269
Nov 23, 2026
Merged

dillonstreator merged 2 commits into
mainfrom
snyk-fix-141d74939b35c5d9699ba8b79c31d269

Conversation

@dillonstreator

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • packages/server/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue
high severity Inefficient Algorithmic Complexity
SNYK-JS-MSGPACKR-22744130

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@dillonstreator

Copy link
Copy Markdown
Member Author

Merge Risk: High

This is a major version upgrade from bullmq v5 to v6, which introduces significant and numerous breaking changes. A careful, multi-step migration is required before this upgrade can be completed.

Key Breaking Changes:

  • Peer Dependency Change: ioredis is no longer a direct dependency. You must explicitly add it to your project's dependencies (npm install ioredis) if you are using Redis.
  • Removal of Legacy Repeatable Jobs: The entire legacy repeatable jobs feature has been removed. This includes the repeat option in Queue.add(), the Repeat class, and methods like getRepeatableJobs() and removeRepeatable(). You must migrate all repeatable jobs to the Job Schedulers feature while still on v5, before upgrading to v6.
  • Removal of Debounce Feature: The deprecated debounce option and Job#debounceId property have been removed. Use the deduplication feature instead.
  • API Removals and Signature Changes:
    • Direct access to the Redis client via Queue#client, Worker#blockingClient, and FlowProducer#client has been removed.
    • Job#discard() is removed. Use UnrecoverableError to handle unrecoverable jobs.
    • Worker#resume() is now an asynchronous method and must be awaited.
  • Node.js Version Requirement: The minimum supported Node.js version is now 14.17.0.

Source: Official v5 to v6 Migration Guide

Recommendation: Do not merge this upgrade directly. Developers must follow the official migration guide to handle the breaking changes, especially the migration from repeatable jobs to Job Schedulers, which must be performed before upgrading the package version.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

- Normalize ioredis options for BullMQ v6's stricter RedisOptions type
- Drop the removed 'paused' job state from the rotation job scan
- Add changeset
@dillonstreator
dillonstreator merged commit 904992b into main Nov 23, 2026
15 checks passed
@dillonstreator
dillonstreator deleted the snyk-fix-141d74939b35c5d9699ba8b79c31d269 branch November 23, 2026 20:06
@github-actions github-actions Bot mentioned this pull request Nov 23, 2026
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.

2 participants