summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelwin Ong <selwin.ong@gmail.com>2020-11-29 16:41:56 +0700
committerSelwin Ong <selwin.ong@gmail.com>2020-11-29 16:41:56 +0700
commitd3b07fba4720c252da26e0e773a5549ce3aed46d (patch)
tree752378329121ceda0b06e42877f3d39df7be52bc
parentab19ad979877fe0fd06b02a06034c4cde7dff34f (diff)
downloadrq-d3b07fba4720c252da26e0e773a5549ce3aed46d.tar.gz
Bump version to 1.7.0v1.7.0
-rw-r--r--CHANGES.md6
-rw-r--r--docs/docs/workers.md2
-rw-r--r--rq/version.py2
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES.md b/CHANGES.md
index e2184e4..1fd3ddc 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,3 +1,9 @@
+### 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!
diff --git a/docs/docs/workers.md b/docs/docs/workers.md
index 9d2e43a..9d2f134 100644
--- a/docs/docs/workers.md
+++ b/docs/docs/workers.md
@@ -415,7 +415,7 @@ for worker in workers:
```
-### Stopping a Currently Executing Job
+### Stopping a Job
_New in version 1.7.0._
You can use `send_stop_job_command()` to tell a worker to immediately stop a currently executing job. A job that's stopped will be sent to [FailedJobRegistry](https://python-rq.org/docs/results/#dealing-with-exceptions).
diff --git a/rq/version.py b/rq/version.py
index 352230d..4bf60ac 100644
--- a/rq/version.py
+++ b/rq/version.py
@@ -2,4 +2,4 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)
-VERSION = '1.6.1'
+VERSION = '1.7.0'