BullMQ
Search…
⌃K

Changelog

3.3.2 (2022-12-05)

Bug Fixes

3.3.1 (2022-12-05)

Bug Fixes

  • get-workers: set name when ready event in connection (#1564) (de93c17)
  • job: console warn custom job ids when they represent integers (#1569) (6e677d2)

3.3.0 (2022-12-04)

Features

3.2.5 (2022-12-04)

Bug Fixes

  • add-job: throw error when jobId represents an integer (#1556) (db617d7)

3.2.4 (2022-11-29)

Bug Fixes

  • add-job: do not update job that already exist (#1550) (26f6311)

3.2.3 (2022-11-29)

Bug Fixes

3.2.2 (2022-11-15)

Bug Fixes

  • rate-limit: check job is active before moving to wait (9502167)

3.2.1 (2022-11-15)

Bug Fixes

  • worker: consider removed jobs in failed event (#1500) (8704b9a)

3.2.0 (2022-11-09)

Features

  • flow: move parent to delayed when delay option is provided (#1501) (2f3e5d5)

3.1.3 (2022-11-04)

Bug Fixes

  • delayed: better handling of marker id (816376e)
  • delayed: notify workers a delayed job is closer in time fixes #1505 (6ced4d0)
  • job: better error message in moveToFailed (4e9f5bb)
  • moveToFinish: always promote delayed jobs (7610cc3)
  • moveToFinished: revert move promoteDelayedJobs (7d780db)

3.1.2 (2022-11-04)

Bug Fixes

  • repeat: allow easy migration from bullmq <3 to >=3 (e17b886)

3.1.1 (2022-11-03)

Bug Fixes

3.1.0 (2022-11-02)

Features

  • workers: better error message for missing lock (bf1d086)

3.0.1 (2022-11-02)

Bug Fixes

  • move-to-delayed: consider promoting delayed jobs (#1493) (909da2b)
  • retry-job: consider promoting delayed jobs (#1508) (d0b3412)

3.0.0 (2022-10-25)

Bug Fixes

  • backoff: handle backoff strategy as function (#1463) (3640269)
  • repeat: remove cron in favor of pattern option (#1456) (3cc150e)

Features

  • add support for dynamic rate limiting (2d51d2b)
  • rate-limit: remove group key support and improve global rate limit (81f780a)

BREAKING CHANGES

  • rate-limit: limit by group keys has been removed in favor of a much simpler and efficent rate-limit implementation.
  • backoff: object mapping is replaced by single function

2.4.0 (2022-10-24)

Features

2.3.2 (2022-10-18)

Bug Fixes

2.3.1 (2022-10-13)

Bug Fixes

  • redis: replace throw exception by console.error (fafa2f8)

2.3.0 (2022-10-13)

Features

  • redis-connection: allow providing scripts for extension (#1472) (f193cfb)

2.2.1 (2022-10-11)

Performance Improvements

2.2.0 (2022-10-10)

Bug Fixes

Features

  • flow-producer: allow parent opts in root job when adding a flow (#1110) ref #1097 (3c3ac71)

2.1.3 (2022-09-30)

Bug Fixes

  • worker: clear stalled jobs timer when closing worker (1567a0d)

2.1.2 (2022-09-29)

Bug Fixes

  • getters: fix return type of getJobLogs (d452927)

2.1.1 (2022-09-28)

Bug Fixes

  • sandbox: get open port using built-in module instead of get-port (#1446) (6db6288)

2.1.0 (2022-09-23)

Features

  • job-options: add failParentOnFailure option (#1339) (65e5c36)

2.0.2 (2022-09-22)

Bug Fixes

  • job: update delay value when moving to wait (#1436) (9560915)

2.0.1 (2022-09-21)

Bug Fixes

  • connection: throw error when no noeviction policy (3468390)

Performance Improvements

  • events: remove data and opts from added event (e13d4b8)

2.0.0 (2022-09-21)

Bug Fixes

  • compat: remove Queue3 class (#1421) (fc797f7)
  • delayed: promote delayed jobs instead of picking one by one (1b938af)
  • delayed: remove marker when promoting delayed job (1aea0dc)
  • getters: compensate for "mark" job id (231b9aa)
  • sandbox: remove progress method (b43267b)
  • stalled-jobs: handle job id 0 (829e6e0)
  • worker: do not allow stalledInterval to be less than zero (831ffc5)
  • workers: use connection closing to determine closing status (fe1d173)

Features

  • improve delayed jobs and remove QueueScheduler (1f66e5a)
  • move stalled jobs check and handling to Worker class from QueueScheduler (13769cb)

BREAKING CHANGES

  • compat: The compatibility class for Bullv3 is no longer available.
  • The QueueScheduler class is removed since it is not necessary anymore. Delayed jobs are now handled in a much simpler and robust way, without the need of a separate process.
  • Failed and stalled events are now produced by the Worker class instead of by the QueueScheduler.
  • The minimum Redis recommended version is 6.2.0.

1.91.1 (2022-09-18)

Bug Fixes

1.91.0 (2022-09-16)

Features

1.90.2 (2022-09-12)

Performance Improvements

  • script-loader: use cache to read script once (#1410) (f956e93)

1.90.1 (2022-09-02)

Performance Improvements

1.90.0 (2022-08-30)

Features

1.89.2 (2022-08-23)

Bug Fixes

1.89.1 (2022-08-19)

Bug Fixes

  • revert "chore: allow esm imports through exports field" (#1388) (8e51272)

1.89.0 (2022-08-18)

Features

1.88.2 (2022-08-18)

Bug Fixes

  • revert "feat(sandbox): experimental support ESM" (#1384) (7d180eb)

1.88.1 (2022-08-17)

Bug Fixes

1.88.0 (2022-08-17)

Bug Fixes

  • clean: consider priority when cleaning waiting jobs (#1357) (ced5be1)
  • parent-priority-check: use tonumber on priority (#1370) (e2043c6)

Features

  • sandbox: experimental support ESM (ed0faff)

1.87.2 (2022-08-13)

Bug Fixes

  • move-parent-to-wait: emit waiting instead of active event (#1356) (53578dd)

1.87.1 (2022-08-09)

Bug Fixes

1.87.0 (2022-08-05)

Features

  • flow: consider priority when parent is moved (#1286) (d49760d)

1.86.10 (2022-07-29)

Performance Improvements

  • clean-jobs-in-set: use ZRANGEBYSCORE when limit > 0 (#1338) (f0d9985)

1.86.9 (2022-07-27)

Bug Fixes

1.86.8 (2022-07-26)

Bug Fixes

1.86.7 (2022-07-15)

Bug Fixes

1.86.6 (2022-07-14)

Bug Fixes

1.86.5 (2022-07-09)

Bug Fixes

1.86.4 (2022-06-29)

Bug Fixes

  • parent: emit waiting event when no pending children (#1296) (aa8fa3f)

1.86.3 (2022-06-26)

Bug Fixes

  • avoid calling delay() if queue is being closed (#1295) (52a5045)

1.86.2 (2022-06-16)

Bug Fixes

  • queue: get rid of repeat options from defaultJobOptions (#1284) (cdd2a20)

1.86.1 (2022-06-12)

Bug Fixes

  • unpack empty metrics in batches (96829db)

1.86.0 (2022-06-10)

Features

1.85.4 (2022-06-08)

Bug Fixes

  • error-prototype: define custom name for toJSON method (#1272) (66d80da)

1.85.3 (2022-06-03)

Bug Fixes

1.85.2 (2022-06-01)

Bug Fixes

  • job: save finishedOn attribute on instance (#1267) (4cf6a63)

1.85.1 (2022-05-31)

Performance Improvements

  • remove-job: send prefix key instead of jobKey (#1252) (452856a)

1.85.0 (2022-05-30)

Features

  • worker: change the number of concurrent processes (#1256) ref #22 (940dc8f)

1.84.1 (2022-05-27)

Bug Fixes

  • waiting-children: pass right timestamp value in moveToWaitingChildren (#1260) (0f993f7)

1.84.0 (2022-05-26)

Features

1.83.2 (2022-05-24)

Bug Fixes

1.83.1 (2022-05-24)

Bug Fixes

  • get-workers: use blockingConnection client to set clientName (#1255) fixes #1254 (df796bd)

1.83.0 (2022-05-20)

Features

1.82.3 (2022-05-19)

Bug Fixes

1.82.2 (2022-05-17)

Bug Fixes

  • job: add job helper attribute for extension (#1242) (4d7ae9e)

1.82.1 (2022-05-16)

Bug Fixes

  • remove-job: pass right prev param in removed event (#1237) (54df47e)

1.82.0 (2022-05-11)

Features

  • remove-repeatable: return boolean depending on job existence (#1239) ref #1235 (59b0da7)

1.81.4 (2022-05-05)

Bug Fixes

  • repeatable: emit removed event when removing (#1229) (7d2de8d)

1.81.3 (2022-05-04)

Bug Fixes

  • remove-parent: check removed record from waiting-children (#1227) (e7b25d0)

1.81.2 (2022-05-03)

Bug Fixes

1.81.1 (2022-04-29)

Bug Fixes

1.81.0 (2022-04-26)

Features

1.80.6 (2022-04-22)

Bug Fixes

1.80.5 (2022-04-21)

Bug Fixes

1.80.4 (2022-04-19)

Bug Fixes

1.80.3 (2022-04-15)

Bug Fixes

1.80.2 (2022-04-15)

Bug Fixes

  • job: remove Error from Promise return in moveToWaitingChildren (#1197) (180a8bf)

1.80.1 (2022-04-14)

Bug Fixes

1.80.0 (2022-04-12)

Features

1.79.1 (2022-04-12)

Bug Fixes

  • connection: remove Queue reconnect overrides (#1119) (83f1c79)

1.79.0 (2022-04-08)

Features

1.78.2 (2022-03-31)

Bug Fixes

  • clean: consider processedOn and finishedOn attributes (#1158) (8c3cb72)

1.78.1 (2022-03-24)

Bug Fixes

  • queue: close repeat connection when calling close (#1154) (7d79616)

1.78.0 (2022-03-23)

Features

1.77.3 (2022-03-22)

Bug Fixes

1.77.2 (2022-03-20)

Bug Fixes

Performance Improvements

  • clean: speed up clean operation using deletion marker (#1144) (5fb32ef)

1.77.1 (2022-03-17)

Bug Fixes

1.77.0 (2022-03-16)

Features

  • allow QueueScheduler to be extended (289beb8)

1.76.6 (2022-03-15)

Bug Fixes

1.76.5 (2022-03-15)

Bug Fixes

1.76.4 (2022-03-13)

Performance Improvements

  • move-to-finished: avoid an extra roundtrip when using rate limit (#1131) (1711547)

1.76.3 (2022-03-10)

Bug Fixes

1.76.2 (2022-03-09)

Bug Fixes

1.76.1 (2022-03-04)

Bug Fixes

  • get-waiting-children-count: consider waiting-children status only (#1117) (1820df7)

1.76.0 (2022-03-02)

Features

  • metrics: add metrics support (ab51326)

1.75.1 (2022-02-26)

Bug Fixes

  • rate-limiter: move job to wait after retry when groupKey is missed (#1103) fixes #1084 (8aeab37)

1.75.0 (2022-02-24)

Bug Fixes

Features

1.74.3 (2022-02-24)

Bug Fixes

1.74.2 (2022-02-23)

Bug Fixes

  • move-to-finished: increment attemptsMade when moving job to active (#1095) fixes #1094 (321b0e1)

1.74.1 (2022-02-20)

Bug Fixes

1.74.0 (2022-02-19)

Features

1.73.0 (2022-02-16)

Features

1.72.0 (2022-02-15)

Features

  • backoff: validate UnrecoverableError presence (#1074) (1defeac)

1.71.0 (2022-02-14)

Features

1.70.0 (2022-02-11)

Features

1.69.1 (2022-02-10)

Bug Fixes

1.69.0 (2022-02-08)

Features

1.68.4 (2022-02-05)

Bug Fixes

  • clean: consider checking parent jobs when cleaning (#1048) (0708a24)

1.68.3 (2022-02-04)

Bug Fixes

1.68.2 (2022-02-03)

Performance Improvements

  • remove-parent-dependency: do not emit wait event in hard deletions (#1045) (4069821)

1.68.1 (2022-02-01)

Bug Fixes

1.68.0 (2022-01-29)

Features

  • queue: add retryJobs method for failed jobs (#1024) (310a730)

Performance Improvements