* `Worker` will now automatically choose `TimerDeathPenalty` if
`UnixSignalDeathPenalty` is not available. Thanks @selwin!
* Introduced `CREATED` `Job` status for jobs that are not enqueued
not deferred. Thanks @selwin!
* `Worker` can now import `Job` and `Queue` classes from string.
Thanks @selwin!
* Fixed a bug in `Group.cleanup()`. Thanks @dixoncrews-gdl!
* Logging improvements and code cleanups. Thanks @selwin, @SpecLad!
- from version 2.4.0
* Added `rq cron` CLI command. Thanks @selwin!
* Various tests, typing improvements and cleanups. Thanks @SpecLad!
* When a job is canceled, you can now optionally clean it from
dependencies using `job.cancel(remove_from_dependencies=True)`.
Thanks @Marishka17!
* RQ now requires Python >= 3.9. Thanks @Jankovn and @selwin!
- from version 2.3.3
* `WorkerPool` now accepts `queue_class` argument. Thanks @amonsh1!
* Disallow `redis-py=6.0.0`. Thanks @selwin and @terencehonles!
* Minor typing improvements. Thanks @SpecLad!
- from version 2.3.2
* Don't log job description when `log_job_description` is set to False.
Thanks @danilopeixoto!
* Fixes an issue where `pubsub_thread` may die in the background.
Thanks @ankush!
- from version 2.3.1
* Fixes an issue running RQ on Windows. Thanks @selwin!
- from version 2.3.0
* Added the feature to repeat jobs. Thanks @selwin!
* Officially support Valkey. Thanks @selwin!
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=33
* Fixed a bug that may cause a crash when cleaning intermediate
queue.
* Fixed a bug that may cause canceled jobs to still run
dependent jobs.
function in v1.14.
- Update to 1.10.1
* Now horses are killed by their parent group. This helps in cleanly
- BR redis to make the testsuite work
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=29
- update to 1.15:
* Added `Callback(on_stopped='my_callback)`.
* `Callback` now accepts dotted path to function as input.
* `queue.enqueue_many()` now supports job dependencies.
* `rq worker` CLI script now configures logging based on
`DICT_CONFIG` key present in config file.
* Whenever possible, `Worker` now uses `lmove()` to implement
reliable queue pattern.
* `Scheduler` should only release locks that it successfully
acquires.
* Fixes crashes that may happen by changes to `as_text()`
function in v1.14.
* Various linting, CI and code quality improvements.
* Fixes a crash that happens if Redis connection uses SSL.
* Fixes a crash if `job.meta()` is loaded using the wrong
serializer.
* Added `WorkerPool` (beta) that manages multiple workers in a
single CLI.
* Added a new `Callback` class that allows more flexibility in
declaring job callbacks.
* Fixed a regression where jobs with unserializable return
value crashes RQ.
* Added `--dequeue-strategy` option to RQ's CLI.
* Added `--max-idle-time` option to RQ's worker CLI.
* Added `--maintenance-interval` option to RQ's worker CLI.
* Fixed RQ usage in Windows as well as various other
refactorings.
* Show more info on `rq info` CLI command. Thanks @iggeehu!
* `queue.enqueue_jobs()` now properly account for job
dependencies.
OBS-URL: https://build.opensuse.org/request/show/1089359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rq?expand=0&rev=12
* Added `Callback(on_stopped='my_callback)`.
* `Callback` now accepts dotted path to function as input.
* `queue.enqueue_many()` now supports job dependencies.
* `rq worker` CLI script now configures logging based on
`DICT_CONFIG` key present in config file.
* Whenever possible, `Worker` now uses `lmove()` to implement
reliable queue pattern.
* `Scheduler` should only release locks that it successfully
acquires.
* Fixes crashes that may happen by changes to `as_text()`
function in v1.14.
* Various linting, CI and code quality improvements.
* Fixes a crash that happens if Redis connection uses SSL.
* Fixes a crash if `job.meta()` is loaded using the wrong
serializer.
* Added `WorkerPool` (beta) that manages multiple workers in a
single CLI.
* Added a new `Callback` class that allows more flexibility in
declaring job callbacks.
* Fixed a regression where jobs with unserializable return
value crashes RQ.
* Added `--dequeue-strategy` option to RQ's CLI.
* Added `--max-idle-time` option to RQ's worker CLI.
* Added `--maintenance-interval` option to RQ's worker CLI.
* Fixed RQ usage in Windows as well as various other
refactorings.
* Show more info on `rq info` CLI command. Thanks @iggeehu!
* `queue.enqueue_jobs()` now properly account for job
dependencies.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=24
- Update to 1.11.1
- queue.enqueue_many() now supports on_success and on on_failure
arguments.
- You can now pass enqueue_at_front to Dependency() objects to
put dependent jobs at the front when they are enqueued.
- Fixed a bug where workers may wrongly acquire scheduler locks.
- Jobs should not be enqueued if any one of it's dependencies is
canceled.
- Fixed a bug when handling jobs that have been stopped.
- Fixed a bug in handling Redis connections that don't allow
SETNAME command.
- Update to 1.11.0
- This will be the last RQ version that supports Python 3.5.
- Allow jobs to be enqueued even when their dependencies fail via
Dependency(allow_failure=True).
- When stopped jobs are deleted, they should also be removed from
FailedJobRegistry.
- job.requeue() now supports at_front() argument.
- Added ssl support for sentinel connections.
- SimpleWorker now works better on Windows.
- Added on_failure and on_success arguments to @job decorator.
- Fixed a bug in dependency handling.
- Minor fixes and optimizations
- Remove https://github.com/rq/rq/issues/1646 items in spec file.
- Remove -k 'not (test_failure_capture or test_worker)' from pytest.
OBS-URL: https://build.opensuse.org/request/show/1040398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=19
- Update to 1.8.1
* You can now declare multiple job dependencies.
* Added support for running asyncio tasks.
* Now horses are killed by their parent group. This helps in cleanly
killing all related processes if job uses multiprocessing.
* Fixed scheduler on Python > 3.8.0.
* RQ is now aware of which version of Redis server it's running on.
* More changes, see upstream changelog.
OBS-URL: https://build.opensuse.org/request/show/902852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=15
- Update to 1.4.3
* Added job.get_position() and queue.get_job_position(). Thanks @aparcar!
* Longer TTLs for worker keys to prevent them from expiring inside the worker lifecycle. Thanks @selwin!
* Long job args/kwargs are now truncated during logging. Thanks @JhonnyBn!
* job.requeue() now returns the modified job. Thanks @ericatkin!
- Fix build error for Leap: Since 1.4.0 rq require python >= 3.4.
OBS-URL: https://build.opensuse.org/request/show/822242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=13
- Update to 1.4.2:
* RQ 1.4.2 (2020-05-26)
+ Reverted changes to hmset command which causes workers on Redis server < 4 to crash. Thanks @selwin!
+ Merged in more groundwork to enable jobs with multiple dependencies. Thanks @thomasmatecki!
* RQ 1.4.1 (2020-05-16)
+ Default serializer now uses pickle.HIGHEST_PROTOCOL for backward compatibility reasons. Thanks @bbayles!
+ Avoid deprecation warnings on redis-py >= 3.5.0. Thanks @bbayles!
* RQ 1.4.0 (2020-05-13)
+ Custom serializer is now supported. Thanks @solababs!
+ delay() now accepts job_id argument. Thanks @grayshirt!
+ Fixed a bug that may cause early termination of scheduled or requeued jobs. Thanks @rmartin48!
+ When a job is scheduled, always add queue name to a set containing active RQ queue names. Thanks @mdawar!
+ Added --sentry-ca-certs and --sentry-debug parameters to rq worker CLI. Thanks @kichawa!
+ Jobs cleaned up by StartedJobRegistry are given an exception info. Thanks @selwin!
- BR redis to make the testsuite work
OBS-URL: https://build.opensuse.org/request/show/813366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rq?expand=0&rev=5
* RQ 1.4.2 (2020-05-26)
+ Reverted changes to hmset command which causes workers on Redis server < 4 to crash. Thanks @selwin!
+ Merged in more groundwork to enable jobs with multiple dependencies. Thanks @thomasmatecki!
* RQ 1.4.1 (2020-05-16)
+ Default serializer now uses pickle.HIGHEST_PROTOCOL for backward compatibility reasons. Thanks @bbayles!
+ Avoid deprecation warnings on redis-py >= 3.5.0. Thanks @bbayles!
* RQ 1.4.0 (2020-05-13)
+ Custom serializer is now supported. Thanks @solababs!
+ delay() now accepts job_id argument. Thanks @grayshirt!
+ Fixed a bug that may cause early termination of scheduled or requeued jobs. Thanks @rmartin48!
+ When a job is scheduled, always add queue name to a set containing active RQ queue names. Thanks @mdawar!
+ Added --sentry-ca-certs and --sentry-debug parameters to rq worker CLI. Thanks @kichawa!
+ Jobs cleaned up by StartedJobRegistry are given an exception info. Thanks @selwin!
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=11
- Update to 1.3.0:
* RQ 1.3.0 (2020-03-09)
+ Support for infinite job timeout. Thanks @theY4Kman!
+ Added __main__ file so you can now do python -m rq.cli. Thanks @bbayles!
+ Fixes an issue that may cause zombie processes. Thanks @wevsty!
+ job_id is now passed to logger during failed jobs. Thanks @smaccona!
+ queue.enqueue_at() and queue.enqueue_in() now supports explicit args and kwargs function invocation. Thanks @selwin!
* RQ 1.2.2 (2020-01-31)
+ Job.fetch() now properly handles unpickleable return values. Thanks @selwin!
* RQ 1.2.1 (2020-01-31)
+ enqueue_at() and enqueue_in() now sets job status to scheduled. Thanks @coolhacker170597!
+ Failed jobs data are now automatically expired by Redis. Thanks @selwin!
+ Fixes RQScheduler logging configuration. Thanks @FlorianPerucki!
* RQ 1.2.0 (2020-01-04)
+ This release also contains an alpha version of RQ's builtin job scheduling mechanism. Thanks @selwin!
+ Various internal API changes in preparation to support multiple job dependencies. Thanks @thomasmatecki!
+ --verbose or --quiet CLI arguments should override --logging-level. Thanks @zyt312074545!
+ Fixes a bug in rq info where it doesn't show workers for empty queues. Thanks @zyt312074545!
+ Fixed queue.enqueue_dependents() on custom Queue classes. Thanks @van-ess0!
+ RQ and Python versions are now stored in job metadata. Thanks @eoranged!
+ Added failure_ttl argument to job decorator. Thanks @pax0r!
OBS-URL: https://build.opensuse.org/request/show/786289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rq?expand=0&rev=3
* RQ 1.3.0 (2020-03-09)
+ Support for infinite job timeout. Thanks @theY4Kman!
+ Added __main__ file so you can now do python -m rq.cli. Thanks @bbayles!
+ Fixes an issue that may cause zombie processes. Thanks @wevsty!
+ job_id is now passed to logger during failed jobs. Thanks @smaccona!
+ queue.enqueue_at() and queue.enqueue_in() now supports explicit args and kwargs function invocation. Thanks @selwin!
* RQ 1.2.2 (2020-01-31)
+ Job.fetch() now properly handles unpickleable return values. Thanks @selwin!
* RQ 1.2.1 (2020-01-31)
+ enqueue_at() and enqueue_in() now sets job status to scheduled. Thanks @coolhacker170597!
+ Failed jobs data are now automatically expired by Redis. Thanks @selwin!
+ Fixes RQScheduler logging configuration. Thanks @FlorianPerucki!
* RQ 1.2.0 (2020-01-04)
+ This release also contains an alpha version of RQ's builtin job scheduling mechanism. Thanks @selwin!
+ Various internal API changes in preparation to support multiple job dependencies. Thanks @thomasmatecki!
+ --verbose or --quiet CLI arguments should override --logging-level. Thanks @zyt312074545!
+ Fixes a bug in rq info where it doesn't show workers for empty queues. Thanks @zyt312074545!
+ Fixed queue.enqueue_dependents() on custom Queue classes. Thanks @van-ess0!
+ RQ and Python versions are now stored in job metadata. Thanks @eoranged!
+ Added failure_ttl argument to job decorator. Thanks @pax0r!
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=6