Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency bull to v4 #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 7, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bull ^3.6.0 -> ^4.0.0 age adoption passing confidence

Release Notes

OptimalBits/bull

v4.10.4

Compare Source

Bug Fixes
  • retry: handle pause queue status (9f945d6)

v4.10.3

Compare Source

Bug Fixes

v4.10.2

Compare Source

Bug Fixes
  • queue: throw error when needed instead of hiding it in a closure (8a742c1)

v4.10.1

Compare Source

Bug Fixes
  • support for instantiation using redisUrl (6288f7d)

v4.10.0

Compare Source

Features
  • types: add typescript types to package (e793f8d)

v4.9.0

Compare Source

Features

4.8.5 (2022-07-27)

Performance Improvements

4.8.4 (2022-06-16)

Bug Fixes
  • worker: better disconnect when blocking connection (b9ea7f4)

4.8.3 (2022-05-12)

Bug Fixes
  • stalled-jobs: move stalled jobs to wait in batches (2f1fb6c)

4.8.2 (2022-04-21)

Bug Fixes

4.8.1 (2022-03-21)

Performance Improvements

v4.8.5

Compare Source

Performance Improvements

v4.8.4

Compare Source

Bug Fixes
  • worker: better disconnect when blocking connection (b9ea7f4)

v4.8.3

Compare Source

Bug Fixes
  • stalled-jobs: move stalled jobs to wait in batches (2f1fb6c)

v4.8.2

Compare Source

Bug Fixes

v4.8.1

Compare Source

Performance Improvements

v4.8.0

Compare Source

Features
  • have Queue#clean consult job.{finishedOn,processedOn,timestamp} (#​2309) (b7058e6)

v4.7.0

Compare Source

Features
  • metrics: add support for collecting queue metrics (886d764)

4.6.2 (2022-02-23)

Bug Fixes
  • better handling of maxRetriesPerRequest (d3b9138)

4.6.1 (2022-02-21)

Bug Fixes
  • sandbox: better error reporting broken processor file (10db479)

v4.6.2

Compare Source

Bug Fixes
  • better handling of maxRetriesPerRequest (d3b9138)

v4.6.1

Compare Source

Bug Fixes
  • sandbox: better error reporting broken processor file (10db479)

v4.6.0

Compare Source

Features
  • handle redis uri queries (54e5463)

4.5.6 (2022-02-20)

Bug Fixes
  • sandbox: wait for result of sending start command (232ed85)

4.5.5 (2022-02-16)

Bug Fixes
  • worker: better closing when disconnected (41b9404)

4.5.4 (2022-02-14)

Bug Fixes
  • queue: return correct workers with getWorkers() (193644c)

4.5.3 (2022-02-14)

Bug Fixes
  • commands: do not wait for redis to load commands (ad7b647)

4.5.2 (2022-02-14)

Bug Fixes
  • scripts: make it easier for tools like vercel to find the .lua scripts (8ab5b1d)

4.5.1 (2022-02-06)

Bug Fixes
  • sandbox: broken processor files should fail jobs (dd0b853)

v4.5.6

Compare Source

Bug Fixes
  • sandbox: wait for result of sending start command (232ed85)

v4.5.5

Compare Source

Bug Fixes
  • worker: better closing when disconnected (41b9404)

v4.5.4

Compare Source

Bug Fixes
  • queue: return correct workers with getWorkers() (193644c)

v4.5.3

Compare Source

Bug Fixes
  • commands: do not wait for redis to load commands (ad7b647)

v4.5.2

Compare Source

Bug Fixes
  • scripts: make it easier for tools like vercel to find the .lua scripts (8ab5b1d)

v4.5.1

Compare Source

Bug Fixes
  • sandbox: broken processor files should fail jobs (dd0b853)

v4.5.0

Compare Source

Features
  • queue: add retryJobs for failed status (501b2cc)

v4.4.0

Compare Source

Features
  • add support for removeOn based on time (90f040c)

v4.3.0

Compare Source

Features
  • upgrade cron version enabling new cron expressions (79337a3)

4.2.1 (2022-01-17)

Bug Fixes
  • sandbox: exit if uncaughtException (43dc2e6)

v4.2.1

Compare Source

Bug Fixes
  • sandbox: exit if uncaughtException (43dc2e6)

v4.2.0

Compare Source

Features

4.1.4 (2021-12-14)

Bug Fixes

4.1.3 (2021-12-14)

Bug Fixes

4.1.2 (2021-12-14)

Performance Improvements
  • speed up performance of queue.clean when called with a limit (#​2205) (c20e469)

4.1.1 (2021-11-16)

Bug Fixes

v4.1.4

Compare Source

Bug Fixes

v4.1.3

Compare Source

Bug Fixes

v4.1.2

Compare Source

Performance Improvements
  • speed up performance of queue.clean when called with a limit (#​2205) (c20e469)

v4.1.1

Compare Source

Bug Fixes

v4.1.0

Compare Source

Features
  • emit event on job lock extend failure (7247b3b)

v4.0.0

Compare Source

Bug Fixes
  • force options to guarantee correct reconnects (3ade8e6)
BREAKING CHANGES
  • If redis opts are missing:
    { maxRetriesPerRequest: null,
    enableReadyCheck: false }
    then a exception will be thrown.

3.29.3 (2021-10-13)

Bug Fixes
  • name-processors: wait for all processors when closing fixes #​1618 (79ce013)

3.29.2 (2021-09-08)

Bug Fixes
  • connection: fail only if redis connection does not recover (0ca4c6b)

3.29.1 (2021-08-26)

Bug Fixes

v3.29.3

Compare Source

Bug Fixes
  • name-processors: wait for all processors when closing fixes #​1618 (79ce013)

v3.29.2

Compare Source

Bug Fixes
  • connection: fail only if redis connection does not recover (0ca4c6b)

v3.29.1

Compare Source

Bug Fixes

v3.29.0

Compare Source

Features
  • jobs: add extendLock method (30d5959)

3.28.1 (2021-08-06)

Bug Fixes
  • queue: changed user prop to username for redisOptions (71baea9)

v3.28.1

Compare Source

Bug Fixes
  • queue: changed user prop to username for redisOptions (71baea9)

v3.28.0

Compare Source

Features
  • queue: handle redis url containing username (a245fc4)

v3.27.0

Compare Source

Features
  • support job.discard function in sandboxed processors (5adcf2c)

v3.26.0

Compare Source

Features
  • repeatable: store key in repeat options (dab0d82)

3.25.2 (2021-07-16)

Bug Fixes

3.25.1 (2021-07-16)

Bug Fixes
  • error when .lua scripts missing in built bundle (85307c3)

v3.25.2

Compare Source

Bug Fixes

v3.25.1

Compare Source

Bug Fixes
  • error when .lua scripts missing in built bundle (85307c3)

v3.25.0

Compare Source

Features
  • pass clientName to createClient function (2a29569)

v3.24.0

Compare Source

Features
  • backoff: add option to specify options for custom backoff strategy (e573010)

3.23.3 (2021-07-15)

Bug Fixes

3.23.2 (2021-07-15)

Bug Fixes

3.23.1 (2021-07-15)

Bug Fixes

v3.23.3

Compare Source

Bug Fixes

v3.23.2

Compare Source

Bug Fixes

v3.23.1

Compare Source

Bug Fixes

v3.23.0

Compare Source

Features

3.22.12 (2021-07-13)

Bug Fixes

3.22.11 (2021-07-08)

Bug Fixes

3.22.10 (2021-07-01)

Bug Fixes

3.22.9 (2021-06-22)

Bug Fixes
  • reprocess: do not store job.id in added list (3fbc506)

3.22.8 (2021-06-09)

Bug Fixes

3.22.7 (2021-05-31)

Bug Fixes

3.22.6 (2021-05-17)

Bug Fixes

3.22.5 (2021-05-11)

Bug Fixes
  • emit failed event when stalled job fails (f68da41)

3.22.4 (2021-04-27)

Bug Fixes
  • also populate retriedOn when loading from id with excludeData (0964b39)

3.22.3 (2021-04-23)

Bug Fixes
  • delayed: re-schedule updateDelay in case of error fixes #​2015 (16bbfad)

3.22.2 (2021-04-23)

Bug Fixes

v.3.22.1

  • fix(obliterate): remove repeatable jobs fixes #​2012

Changes

v.3.22.0

  • feat: do not rely on comma to encode jobid in progress fixes #​2003

Changes

v.3.21.1

  • fix: safer implementation of obliterate.
    Note: If you want to use the new method "obliterate" it is highly recommended
    that you upgrade to this version, since previous version is not safe to use
    if using the colon ':' character in your queue names.

Changes

v.3.21.0

  • feat: add a method to "obliterate" a queue
  • fix: upgrade lodash fixes #​1996

Changes

v.3.20.1

  • fix(queue): possible infinite loop when disconnect fixes #​1746
  • fix(clean-priority): remove job from priority set on clean (#​1405)
  • fix(sandbox): job update (#​1957)
  • fix: use async version of process.send for progress and log (#​1948)
  • fix: promote jobs to the right "list" when paused

Changes

v.3.20.0

  • feat(job): implement Job#retriedOn (#​1868)
  • fix: job default opts fixes #​1904

Changes

v.3.19.1

  • fix(getters): properly zip hmget result

Changes

v.3.19.0

  • feat: add option to exclude data on getters (#​1910)
  • fix: lock ioredis to 4.18.0 to avoid breakage with newer 4.19.0+.

Changes

v.3.18.1

  • fix(repeat): remove last delayed job.
  • fix(rate-limiter): increment jobCounter only when a job is processed. fixes #​1875.
  • fix(sandbox): clear dangling timeout.

Changes

v.3.18.0

Changes

v.3.17.0

Changes

v.3.16.0

  • feat(rate-limiter): add grouping support.

Changes

v.3.15.0

  • feat: add isPaused fixes #​1274
  • fix: emit waiting event when adding a priority job (#​1134)

Changes

v.3.14.0

  • feat(queue): add removeJobs function
  • fix: clamp negative job delay values to 0 to prevent thrashing
  • fix: use DEFAULT_JOB_NAME (#​1585)
  • fix: remove the lazy client error handler on close (#​1605)
  • fix: prevent exceeding the maximum stack call size when emptying large queues (#​1660)

Changes

v.3.13.0

  • feat: add "preventParsingData" job option to prevent data parsing
  • fix: queue.clean clean job logs as well
  • fix: whenCurrentJobsFinished should wait for all jobs

Changes

v.3.12.1

  • fix: catch errors parsing invalid progress data
  • fix(pause): don't initialize bclient if not waiting for jobs to finish

Changes

v.3.12.0

  • feat: support async custom backoffs.

  • feat(sandbox): emulate job.progress function.

  • fix: queue.pause(true, true) doesn't pause queue.

Changes

v.3.11.0

  • feat(queue): basic support for bulk adding jobs.

  • feat(job): save data on job instance when updated.

  • fix(queue): whenCurrentJobsFinished shouldn't initialize bclient. Fixes #​1346.

  • fix(queue): unhandled promise warning in updateDelayTimer.

  • fix(sandbox): if the child process is killed, remove it from the pool.

Changes

v.3.10.0

  • fix: remove logs automtically when using autoremove fixes #​1330
  • feat: add support for keeping a specified number of jobs when using auto-remove.
  • feat: add support for node 12
  • fix: fix check for supported file types in sandboxed processors #​1311
  • ci: drop support for node 6

Changes

v.3.9.1

  • fix: add log to job wrapper

Changes

v.3.9.0

Changes

v.3.8.1

  • fix: wait for ready in cleanJobsInSet fixes #​1298

Changes

v.3.8.0

  • fix: improve delay logic fixing #​1226, #​1222
  • feat: store finishedOn on the job instance
  • fix: return every in getRepeatableJobs #​1284
  • fix: remove broken child processes #​1098
  • feat: update sandbox exit handler to log signals #​1252
  • fix: Ignore unknown command client error #​1240

Changes

v.3.7.0

  • perf: improve update delay set logic.
  • feat: consider priority when promoting a job #​1205.
  • fix: better delay for rate limited jobs.
  • feat: update port selection mechanism for child node process inspect flag.

Changes

v.3.6.0

  • feat: add function to remove repeatable jobs by key.
  • fix: properly remove sandbox events. Fixes #​1179.
  • fix: make progress functions in sandbox consistently return a promise.

Changes

v.3.5.3

  • chore: upgrade ioredis to ^4.5.1.
  • fix: fix #​1044 support for typescript processors.
  • chore: remove bluebird.
  • chore: use lockKey method instead of private property.
  • fix(queue): convert delay setting to number.

Changes

v.3.5.2

  • chore(queue): remove bluebird config from the codebase.

Changes

v.3.5.1

  • chore(yarn): updated yarn.lock

Changes

v.3.5.0

  • fix(delayed): pause delayed jobs #​1087
  • fix(lua): correct numJobs fetch in moveToActive
  • perf(moveToActive): used local var for rate limiter
  • perf(queue): replace bluebird by native promises where possible
  • chore(queue): fix typo in forcedReconnection variable
  • feat(child-processes): catch sub process crashes
  • fix(jobs): reset 'failedReason', 'finishedOn' and 'processedOn' fields on job retry
  • fix(queue): fix Warning: cancellation is disabled
  • fix(queue): remove the correct listener in isRedisReady
  • feat(jobs): allow cancelling of retries when using custom backoff strategy
  • feat(rate-limiter): add discard config for rate-limiter
  • feat(jobs): make job progress accepts variant types
  • fix(repeatable): Fixed wrong repeatable count updates
  • fix(jobs): fix copy paste mistake for stacktrace in job toData
  • feat(child-processes): Propagate stack traces
  • feat(repeatable): add ability for cron repeatable job with startDate

Changes

v.3.4.8

  • emit waiting event when waking up sleep jobs fixing #​792
  • throw error if missing processor file fixing #​954

Changes

v.3.4.7

  • Fixes to deal with removing correctly in priority queues #​984

Changes

v.3.4.6

  • Reverted use of arrow function that was incompatible with older versions of node.

Changes

v.3.4.5

  • Fixed Unhandled promise rejections #​1012.

Changes

v.3.4.4

  • Partially fixed #​845. When call queue.close() bull throws Error: Connection is closed.
  • Fixed #​998. Check for existence of rate limiter options.
  • Fixed #​1003. Fixed fixed repeatable jobs duplication using every.
  • Feature/provide error to custom backoff strategy.

Changes

v.3.4.3

  • Fixed #​994 queue.getJobs() race condition.
  • Fixed #​966 Race conditions reviving repeatable jobs.
  • Fixed getters: Update types array to include paused.
  • Fixed #​958 job.finished slowdown.
  • Fixed #​949 TypeError: job.queue.client.isFinished is not a function.
  • Fixed #​870 TypeError when retrying jobs.
  • Fixed #​942 Support for milliseconds intervals in repeatable jobs.

Changes

v.3.4.2

  • Fixed #​903 Globally paused queue cannot receive job (or not shown in Arena untill queue is globally resumed).
  • Workaround for #​911 Seperate process worker fails to launch when Node is started with --inspect flag
  • added missing retain on reused child job #​908.
  • added more tests for child jobs.

Changes

v.3.4.1

  • Better check for closing in moveUnlockedJobsToWait, possibly fixing #​806.

Changes

v.3.4.0

  • Added support for prioritized delayed jobs.
  • Added ability to process all named jobs from one process function.
  • Fixed #​893, warning 'a promise was rejected with a non-error' for external queues in case of an error.

Changes

v.3.3.10

  • Faster next job fetch #​868
  • Added global default options for jobs. Fixes #​706.
  • Added a limit for repeatable jobs. #​854.

Changes

v.3.3.9

  • Support custom backoff strategies.
  • Fixed #​786. Handling of ES6 default export.
  • Fixed #​782. Better handling of "isReady".

Changes

v.3.3.8

  • Fixed #​812. External process doesn't terminate on queue.close().
  • Fixed #​830. Named Process Sent to Wrong Processor.
  • Fixed #​572. Do not close external connections.

Changes

v.3.3.7

Changes

v.3.3.6

  • Fixed #​766, #​781, #​716.
  • Correctly accept DB in redis connection string.
  • Fixed global progress event.

Changes

v.3.3.5

Changes

v.3.3.4

Changes

v.3.3.3

  • Re-fixed #​739.
  • Possibly fixed for #​747.
  • Fixed removeRepeatable (missing file)

Changes

v.3.3.2

  • Fixed #​721. SyntaxError: Unexpected token u in JSON at position 0.
  • Fixed #​739. childs are not added to the retained set.
  • Fixed #​734. fixed Promise warnings.

Changes

v.3.3.1

Changes

v.3.3.0

  • Added a method Queue##removeRepeatable to remove repeatable jobs.
  • Now also emits drained as a global event.
  • Fixed #​518, #​624

Changes

v.3.2.0

  • Added support for running jobs in child processes #​488

Changes

v.3.1.0

  • Added rate limiter support.
  • Added method to update jobs data.
  • Implemented stalled as global event.

Changes

v.3.0.0

  • No changes.

v.3.0.0-rc.10

  • Fixed #​666.
  • Small improvements in the repeat code.

Changes

v.3.0.0-rc.9

Changes

v.3.0.0-rc.8

  • Enhanced job fetching #​651 (faster and more reliable).

Changes

v.3.0.0-rc.7

Changes

v.3.0.0-rc.6

Changes

v.3.0.0-rc.5

  • Improved performance, specially when having many concurrent workers.
  • Fixed #​609 using zsets for storing repeatable jobs.
  • Fixed #​608 Event chaining no longer works.
  • Improved getters.
  • Fixed #​601 Add multiple repeatable jobs with the same cron pattern.

Changes

v.3.0.0-rc.4

  • Added support for naming workers in redis connections #​530.
  • Lazy instantiation of redis clients. Fixes #​526.
  • job.finished captures result from queue process. #​588.
  • Caches LUA scripts to avoid reading files in every queue instantiation. #​591.
  • Emit 'drain' event when queue is empty. #​596.
  • store finished and processed timestamps. #​594, #​606.

Changes

v.3.0.0-rc.3

  • Fixed #​579.
  • Lazy subscription to events for better performance.
  • Corrected calculation of next repeat job. #​563.

Changes

v.3.0.0-rc.2

  • Improved performance of moveToActive #​550.
  • Fixed issue with cancelable promise #​546.

Changes

v.3.0.0-rc.1

  • Improved error and lock handling for failed jobs #​499, #​539.
  • Corrected instantiation from urls #​538.
  • Return jobs in proper order in jobs getters.

Changes

v.3.0.0-alpha.4

  • Implemented repeatable jobs. #​252.

Changes

v.3.0.0-alpha.3

  • Simplified global events #​501.

Changes

v.3.0.0-alpha.2

  • Eliminated possible memory leak #​503

Changes

v.3.0.0-alpha.1

  • improved job fetch mechanism. #​480.
  • job.jobId changed to job.id.
  • refactored error messages into separate error module.
  • refactored lua scripts into separate files, and preloaded.
  • many atomizations and clean ups.
  • completed and failed job states are now represented in ZSETs. #​190.

Changes

v.2.2.6

  • Persisted failedReason when storing job data.
  • added queue##isReady()

Changes

v.2.2.5

  • Fixed so that redis key prefix works properly.

Changes

v.2.2.4

  • Allow reusing certain redis connections.

Changes

v.2.2.3

  • Added getJobCounts.
  • Fixed global events #​394.

Changes

v.2.2.2

  • Fixed redis script cache gets bloated after update to bull 2.0 #​426

Changes

v.2.2.1

  • Re-added createClient option that was removed by mistake.
  • Corrected getJobCountByTypes, fixes #​419 and #​401

Changes

v.2.2.0

  • Much improved priority queues, simpler, faster and more reliable.
  • Fixed issue where lua scripts where leaking memory.
  • Improvements in local pause, fixing #​446 and #​447.
  • Fix to increase delay time over 24 days #​244

Changes

v.2.1.2

  • Fixed Error renewing lock LockError: Exceeded 0 attempts to lock the resource #​437
  • Fixed Unable to renew nonexisting lock on job fail #​441

Changes

v.2.1.1

  • Catch errors produced in timers. Related to #​441

Changes

v.2.1.0

  • Fixed #​397, Error: Unable to renew nonexisting lock
  • Fixed #​402, Job.prototype.finished contains error in promise
  • Fixed #​371, "Unexpected token u in JSON at position 0" while processing job
  • New feature #​363, "method to permanently fail a job"
  • Fix job.progress() to return the correct progress

Changes

v.2.0.0

  • Changed redis module to ioredis fixing many issues along the way, see changes.

Changes

v.1.1.3

  • fixed "Broken constructor pattern from recent commit" #​384
  • fixed "Queue.prototype.getWaiting() returns empty list if Queue is paused" #​342

Changes

v1.1.2

  • regained backwards compatibility in events by using disturbed 1.0.6

Changes

v1.1.1

Changes

v1.1.0


Configuration

📅 Schedule: Branch creation - "after 9am and before 3pm,every weekday" in timezone America/Toronto, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

None yet

1 participant