|
|
|
|
@@ -1,3 +1,117 @@
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed Jul 23 10:45:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update to 2.4.1
|
|
|
|
|
* `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!
|
|
|
|
|
* Fixes an issue that prevents jobs from being enqueued across multiple
|
|
|
|
|
with using Redis pipeline. Thanks @Nativu5!
|
|
|
|
|
- from version 2.2.0
|
|
|
|
|
* Added `SpawnWorker` that uses `multiprocessing.spawn` to spawn worker
|
|
|
|
|
processes. This makes RQ usable in operating systems without `os.fork()`
|
|
|
|
|
like Windows. Thanks @selwin!
|
|
|
|
|
* RQ now always use timezone aware timestamps. Thanks @deathtracktor!
|
|
|
|
|
* `StartedJobRegistry.cleanup()` now properly creates job results.
|
|
|
|
|
Thanks @OlegZv!
|
|
|
|
|
* Fixed a bug in worker logging configuration. Thanks @rlaminseok0824!
|
|
|
|
|
* Reworked RQ's pubsub thread to not use polling. Thanks @ankush!
|
|
|
|
|
* Fixed a bug where `WorkerPool` status is never set to `STARTED`.
|
|
|
|
|
Thanks @taleinat!
|
|
|
|
|
* `Worker.monitor_work_horse()` now properly handles `InvalidJobOperation`.
|
|
|
|
|
Thanks @fancyweb!
|
|
|
|
|
* `queue.enqueue_many` now always registers the queue in RQ's queue registry.
|
|
|
|
|
Thanks @eswolinsky3241!
|
|
|
|
|
* Minor fixes and improvements. Thanks @hongquan, @OlegZv, @victorb, @rparini!
|
|
|
|
|
- from version 2.1.0
|
|
|
|
|
* `job.id` must not contain `:`. Thanks @sanurielf!
|
|
|
|
|
* Various type hint improvements by @terencehonles!
|
|
|
|
|
* `job.ended_at` should be set when job is run synchronously.
|
|
|
|
|
Thanks @alexprabhat99!
|
|
|
|
|
* `Group.all()` now properly handles non existing group.
|
|
|
|
|
Thanks @eswolinsky3241!
|
|
|
|
|
* Use `ruff` instead of `black` as formatter. Thanks @hongquan!
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Nov 7 15:28:00 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update to 2.0.0
|
|
|
|
|
New Features
|
|
|
|
|
* Multiple job executions: a job can now have multiple executions
|
|
|
|
|
running simultaneously. This will enable future support for long
|
|
|
|
|
running scheduled jobs. Thanks @selwin!
|
|
|
|
|
* Worker(default_worker_ttl=10) is deprecated in favor of
|
|
|
|
|
Worker(worker_ttl=10). Thanks @stv8!
|
|
|
|
|
* Added a cleanup parameter to registry.get_job_ids() and
|
|
|
|
|
registry.get_job_count(). Thanks @anton-daneyko-ultramarin!
|
|
|
|
|
* Added support for AWS Elasticache Serverless Redis.
|
|
|
|
|
Thanks @bobbywatson3!
|
|
|
|
|
* You can now specify TTL for deferred jobs. Thanks @hberntsen!
|
|
|
|
|
* RQ's code base is now typed (mostly). Thanks @terencehonles!
|
|
|
|
|
* Other minor fixes and improvements.
|
|
|
|
|
Thanks @hongquan, @rbange, @jackkinsella, @terencehonles, @wckao, @sim6!
|
|
|
|
|
Breaking Changes
|
|
|
|
|
* Dropped support for Redis server < 4
|
|
|
|
|
* RoundRobinWorker and RandomWorker are deprecated.
|
|
|
|
|
Use --dequeue-strategy <round-robin/random> instead.
|
|
|
|
|
* Job.__init__ requires both id and connection to be passed in.
|
|
|
|
|
* Job.exists() requires connection argument to be passed in.
|
|
|
|
|
* Queue.all() requires connection argument.
|
|
|
|
|
* @job decorator now requires connection argument.
|
|
|
|
|
* Built in Sentry integration has been removed.
|
|
|
|
|
To use Sentry with RQ, please refer to Sentry's docs.
|
|
|
|
|
Bug Fixes
|
|
|
|
|
* Fixed an issue where abandoned jobs are sometimes not enqueued.
|
|
|
|
|
Thanks @Marishka17!
|
|
|
|
|
* Fixes an issue where Redis connection does not expose name attribute.
|
|
|
|
|
Thanks @wckao!
|
|
|
|
|
* job.get_status() will now always return JobStatus enum.
|
|
|
|
|
Thanks @indepndnt!
|
|
|
|
|
* Queue key should always be created even if jobs are deferred.
|
|
|
|
|
Thanks @sim6!
|
|
|
|
|
* RQ's pubsub thread will now attempt to reconnect on
|
|
|
|
|
Redis connection errors. Thanks @fcharlier!
|
|
|
|
|
- Update to 1.16.2
|
|
|
|
|
* Fixed a bug that may cause jobs from intermediate queue to be moved
|
|
|
|
|
to FailedJobRegistry. Thanks @selwin!
|
|
|
|
|
- Update to 1.16.1
|
|
|
|
|
* Added worker_pool.get_worker_process() to make WorkerPool easier
|
|
|
|
|
to extend. Thanks @selwin!
|
|
|
|
|
- Update to 1.16.0
|
|
|
|
|
* Added a way for jobs to wait for latest result
|
|
|
|
|
job.latest_result(timeout=60). Thanks @ajnisbet!
|
|
|
|
|
* Fixed an issue where stopped_callback is not respected when job
|
|
|
|
|
is enqueued via enqueue_many(). Thanks @eswolinsky3241!
|
|
|
|
|
* worker-pool no longer ignores --quiet. Thanks @Mindiell!
|
|
|
|
|
* Added compatibility with AWS Serverless Redis. Thanks @peter-gy!
|
|
|
|
|
* worker-pool now starts with scheduler. Thanks @chromium7!
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed Dec 6 22:25:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
|