Rq

Latest version: v1.16.2

Safety actively analyzes 628107 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 21

1.14.1

* Fixes a crash that happens if Redis connection uses SSL. Thanks tchapi!
* Fixes a crash if `job.meta()` is loaded using the wrong serializer. Thanks gabriels1234!

1.14.0

* Added `WorkerPool` (beta) that manages multiple workers in a single CLI. Thanks selwin!
* Added a new `Callback` class that allows more flexibility in declaring job callbacks. Thanks ronlut!
* Fixed a regression where jobs with unserializable return value crashes RQ. Thanks tchapi!
* Added `--dequeue-strategy` option to RQ's CLI. Thanks ccrvlh!
* Added `--max-idle-time` option to RQ's worker CLI. Thanks ronlut!
* Added `--maintenance-interval` option to RQ's worker CLI. Thanks ronlut!
* Fixed RQ usage in Windows as well as various other refactorings. Thanks ccrvlh!
* Show more info on `rq info` CLI command. Thanks iggeehu!
* `queue.enqueue_jobs()` now properly account for job dependencies. Thanks sim6!
* `TimerDeathPenalty` now properly handles negative/infinite timeout. Thanks marqueurs404!

1.13.0

* Added `work_horse_killed_handler` argument to `Worker`. Thanks ronlut!
* Fixed an issue where results aren't properly persisted on synchronous jobs. Thanks selwin!
* Fixed a bug where job results are not properly persisted when `result_ttl` is `-1`. Thanks sim6!
* Various documentation and logging fixes. Thanks lowercase00!
* Improve Redis connection reliability. Thanks lowercase00!
* Scheduler reliability improvements. Thanks OlegZv and lowercase00!
* Fixed a bug where `dequeue_timeout` ignores `worker_ttl`. Thanks ronlut!
* Use `job.return_value()` instead of `job.result` when processing callbacks. Thanks selwin!
* Various internal refactorings to make `Worker` code more easily extendable. Thanks lowercase00!
* RQ's source code is now black formatted. Thanks aparcar!

1.12.0

* RQ now stores multiple job execution results. This feature is only available on Redis >= 5.0 Redis Streams. Please refer to [the docs](https://python-rq.org/docs/results/) for more info. Thanks selwin!
* Improve performance when enqueueing many jobs at once. Thanks rggjan!
* Redis server version is now cached in connection object. Thanks odarbelaeze!
* Properly handle `at_front` argument when jobs are scheduled. Thanks gabriels1234!
* Add type hints to RQ's code base. Thanks lowercase00!
* Fixed a bug where exceptions are logged twice. Thanks selwin!
* Don't delete `job.worker_name` after job is finished. Thanks eswolinsky3241!

1.11.1

* `queue.enqueue_many()` now supports `on_success` and on `on_failure` arguments. Thanks y4n9squared!
* You can now pass `enqueue_at_front` to `Dependency()` objects to put dependent jobs at the front when they are enqueued. Thanks jtfidje!
* Fixed a bug where workers may wrongly acquire scheduler locks. Thanks milesjwinter!
* Jobs should not be enqueued if any one of it's dependencies is canceled. Thanks selwin!
* Fixed a bug when handling jobs that have been stopped. Thanks ronlut!
* Fixed a bug in handling Redis connections that don't allow `SETNAME` command. Thanks yilmaz-burak!

1.11

* 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)`. Thanks mattchan-tencent, caffeinatedMike and selwin!
* When stopped jobs are deleted, they should also be removed from FailedJobRegistry. Thanks selwin!
* `job.requeue()` now supports `at_front()` argument. Thanks buroa!
* Added ssl support for sentinel connections. Thanks nevious!
* `SimpleWorker` now works better on Windows. Thanks caffeinatedMike!
* Added `on_failure` and `on_success` arguments to job decorator. Thanks nepta1998!
* Fixed a bug in dependency handling. Thanks th3hamm0r!
* Minor fixes and optimizations by xavfernandez, olaure, kusaku.

Page 7 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.