From d08cc728426e5f90a657fce2dd41c26da2be8821 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Sun, 31 Jul 2022 16:55:01 +0700 Subject: [PATCH] Added Redis 7 to test matrix (#1683) * Updated changelog. * Added Redis 7 and redis-py 4.3 to test matrix * Addd Redis 7 to test matrix * Addd Redis 7 to test matrix --- .github/workflows/dependencies.yml | 4 ++-- .github/workflows/workflow.yml | 2 +- CHANGES.md | 10 ++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 46c33d0e..ddc21e01 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: python-version: ["3.5", "3.6", "3.7", "3.8.3", "3.9", "3.10"] - redis-version: [3, 4, 5, 6] + redis-version: [3, 4, 5, 6, 7] redis-py-version: [3.5.0] steps: @@ -50,7 +50,7 @@ jobs: strategy: matrix: python-version: ["3.5", "3.6", "3.7", "3.8.3", "3.9", "3.10"] - redis-version: [3, 4, 5, 6] + redis-version: [3, 4, 5, 6, 7] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 163e32cc..cb93300c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python-version: ["3.5", "3.6", "3.7", "3.8.3", "3.9", "3.10"] - redis-version: [3, 4, 5, 6] + redis-version: [3, 4, 5, 6, 7] redis-py-version: [3.5.0] steps: diff --git a/CHANGES.md b/CHANGES.md index 6ed04e94..0058d8c1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,13 @@ +### RQ 1.11 (2022-07-31) +* 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. + ### RQ 1.10.1 (2021-12-07) * **BACKWARDS INCOMPATIBLE**: synchronous execution of jobs now correctly mimics async job execution. Exception is no longer raised when a job fails, job status will now be correctly set to `FAILED` and failure callbacks are now properly called when job is run synchronously. Thanks @ericman93! * Fixes a bug that could cause job keys to be left over when `result_ttl=0`. Thanks @selwin!