Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rq from 1.5.2 to 1.9.0.

Release notes

Sourced from rq's releases.

v1.9.0

  • Added success and failure callbacks. You can now do queue.enqueue(foo, on_success=do_this, on_failure=do_that). Thanks @​selwin!
  • Added queue.enqueue_many() to enqueue many jobs in one go. Thanks @​joshcoden!
  • Various improvements to CLI commands. Thanks @​rpkak!
  • Minor logging improvements. Thanks @​clavigne and @​natbusa!

v1.8.1

  • Jobs that fail due to hard shutdowns are now retried. Thanks @​selwin!
  • Scheduler now works with custom serializers. Thanks @​alella!
  • Added support for click 8.0. Thanks @​rpkak!
  • Enqueueing static methods are now supported. Thanks @​pwws!
  • Job exceptions no longer get printed twice. Thanks @​petrem!

v1.8.0

  • You can now declare multiple job dependencies. Thanks @​skieffer and @​thomasmatecki for laying the groundwork for multi dependency support in RQ.
  • Added RoundRobinWorker and RandomWorker classes to control how jobs are dequeued from multiple queues. Thanks @​bielcardona!
  • Added --serializer option to rq worker CLI. Thanks @​f0cker!
  • Added support for running asyncio tasks. Thanks @​MyrikLD!
  • Added a new STOPPED job status so that you can differentiate between failed and manually stopped jobs. Thanks @​dralley!
  • Fixed a serialization bug when used with job dependency feature. Thanks @​jtfidje!
  • clean_worker_registry() now works in batches of 1,000 jobs to prevent modifying too many keys at once. Thanks @​AxeOfMen and @​TheSneak!
  • Workers will now wait and try to reconnect in case of Redis connection errors. Thanks @​Asrst!

v1.7.0

  • Added job.worker_name attribute that tells you which worker is executing a job. Thanks @​selwin!
  • Added send_stop_job_command() that tells a worker to stop executing a job. Thanks @​selwin!
  • Added JSONSerializer as an alternative to the default pickle based serializer. Thanks @​JackBoreczky!
  • Fixes RQScheduler running on Redis with ssl=True. Thanks @​BobReid!

v1.6.1

  • Worker now properly releases scheduler lock when run in burst mode. Thanks @​selwin!

v1.6.0

  • Workers now listen to external commands via pubsub. The first two features taking advantage of this infrastructure are send_shutdown_command() and send_kill_horse_command(). Thanks @​selwin!
  • Added job.last_heartbeat property that's periodically updated when job is running. Thanks @​theambient!
  • Now horses are killed by their parent group. This helps in cleanly killing all related processes if job uses multiprocessing. Thanks @​theambient!
  • Fixed scheduler usage with Redis connections that uses custom parser classes. Thanks @​selwin!
  • Scheduler now enqueue jobs in batches to prevent lock timeouts. Thanks @​nikkonrom!
  • Scheduler now follows RQ worker's logging configuration. Thanks @​christopher-dG!
Changelog

Sourced from rq's changelog.

RQ 1.9.0 (2021-06-30)

  • Added success and failure callbacks. You can now do queue.enqueue(foo, on_success=do_this, on_failure=do_that). Thanks @​selwin!
  • Added queue.enqueue_many() to enqueue many jobs in one go. Thanks @​joshcoden!
  • Various improvements to CLI commands. Thanks @​rpkak!
  • Minor logging improvements. Thanks @​clavigne and @​natbusa!

RQ 1.8.1 (2021-05-17)

  • Jobs that fail due to hard shutdowns are now retried. Thanks @​selwin!
  • Scheduler now works with custom serializers. Thanks @​alella!
  • Added support for click 8.0. Thanks @​rpkak!
  • Enqueueing static methods are now supported. Thanks @​pwws!
  • Job exceptions no longer get printed twice. Thanks @​petrem!

RQ 1.8.0 (2021-03-31)

  • You can now declare multiple job dependencies. Thanks @​skieffer and @​thomasmatecki for laying the groundwork for multi dependency support in RQ.
  • Added RoundRobinWorker and RandomWorker classes to control how jobs are dequeued from multiple queues. Thanks @​bielcardona!
  • Added --serializer option to rq worker CLI. Thanks @​f0cker!
  • Added support for running asyncio tasks. Thanks @​MyrikLD!
  • Added a new STOPPED job status so that you can differentiate between failed and manually stopped jobs. Thanks @​dralley!
  • Fixed a serialization bug when used with job dependency feature. Thanks @​jtfidje!
  • clean_worker_registry() now works in batches of 1,000 jobs to prevent modifying too many keys at once. Thanks @​AxeOfMen and @​TheSneak!
  • Workers will now wait and try to reconnect in case of Redis connection errors. Thanks @​Asrst!

RQ 1.7.0 (2020-11-29)

  • Added job.worker_name attribute that tells you which worker is executing a job. Thanks @​selwin!
  • Added send_stop_job_command() that tells a worker to stop executing a job. Thanks @​selwin!
  • Added JSONSerializer as an alternative to the default pickle based serializer. Thanks @​JackBoreczky!
  • Fixes RQScheduler running on Redis with ssl=True. Thanks @​BobReid!

RQ 1.6.1 (2020-11-08)

  • Worker now properly releases scheduler lock when run in burst mode. Thanks @​selwin!

RQ 1.6.0 (2020-11-08)

  • Workers now listen to external commands via pubsub. The first two features taking advantage of this infrastructure are send_shutdown_command() and send_kill_horse_command(). Thanks @​selwin!
  • Added job.last_heartbeat property that's periodically updated when job is running. Thanks @​theambient!
  • Now horses are killed by their parent group. This helps in cleanly killing all related processes if job uses multiprocessing. Thanks @​theambient!
  • Fixed scheduler usage with Redis connections that uses custom parser classes. Thanks @​selwin!
  • Scheduler now enqueue jobs in batches to prevent lock timeouts. Thanks @​nikkonrom!
  • Scheduler now follows RQ worker's logging configuration. Thanks @​christopher-dG!
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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 5, 2021
@dependabot-preview dependabot-preview bot requested a review from Enforcer July 5, 2021 08:45
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants