Debian Codegraph @

CHANGELOG.md

raw
1 ### Version 4.2 (2026-08-30)
2 * *Backwards incompatible*: admin permission was renamed from `view` to `admin`, since the permission allows data modification. Run `./manage.py migrate` to update existing permissions. If you reference the codename directly (e.g. `user.has_perm('django_rq.view')`, update it to `django_rq.admin` Thanks @terencehonles!
3 * Added support for RQ v2.11's CronScheduler. Thanks @selwin!
4 * Added a cron job detail page showing the job's configuration and its past runs. Thanks @selwin!
5 * Job detail and cron pages now display webhooks. Thanks @selwin!
6 * Better pagination handling. Thanks @selwin!
7 * Queue detail views now return a 404 for missing queues instead of raising an error. Thanks @bennylope!
8
9 ### Version 4.1.1 (2026-07-04)
10 * Added support for `webhooks` argument when registering cron jobs. Thanks @selwin!
11 * Fixed `get_scheduler_pid()` on rq >= 2.10. Thanks @terencehonles!
12 * `stats.json` and `rqstats --json/--yaml` now expose safe Redis connection metadata instead of raw redis-py connection kwargs. Secret values and redis-py internals are omitted. Thanks @selwin!
13
14 ### Version 4.1 (2026-04-05)
15 * Job detail page now shows execution results. Thanks @selwin!
16 * Fixed RQ worker-pool command for projects using Postgres with SSL connections. Thanks @selwin!
17
18 ### Version 4.0.1 (2026-03-17)
19 * Job detail page now shows a job's dependent jobs. Thanks @selwin!
20 * Added missing migration that causes Django's makemigrations to complain. Thanks @bjorndbuilder!
21
22 ### Version 4.0 (2026-03-14)
23 * `django-rq` now automatically integrates with Django's admin backend without manual URL configuration. Thanks @selwin and @terencehonles
24 !
25 * Added new `COMMIT_MODE` setting to replace `AUTOCOMMIT`. More info in [docs](https://github.com/rq/django-rq?tab=readme-ov-file#commit-modes). Thanks @selwin!
26 * Cron scheduler detail page now shows jobs configured in that particular scheduler. Thanks @selwin!
27 * Removed legacy Sentry integration. Thanks @selwin!
28
29 ### Version 3.2.2 (2025-12-24)
30 * `get_statistics()` should not mutate `connection_kwargs`. Thanks @selwin!
31
32 ### Version 3.2.1 (2025-11-24)
33 * Changed `CronJob` argument from `timeout` to `job_timeout` to match RQ's implementation. Thanks @selwin!
34
35 ### Version 3.2 (2025-11-22)
36 * Added support for RQ's new `CronScheduler`. Thanks @selwin!
37 * You can now run tests using pytest. Thanks @selwin!
38 * Refactored the codebase to follow modern Django and Python best practices. Thanks @selwin!
39
40 ### Version 3.1 (2025-08-02)
41 * Added `/metrics` endpoint to expose RQ metrics in Prometheus format. Thanks @terencehonles!
42 * Added token based authentication for the `/metrics` and `/stats.json` endpoints. Thanks @RasmusThing!
43 * Migrated Django-RQ to use Python's modern packaging standard. Thanks @terencehonles!
44 * Fixed an issue with setting `result_ttl` via job decorators. Thanks @Sir-heed!
45 * Various admin page improvements. Thanks @selwin and @DhavalGojiya!
46
47 ### Version 3.0.1 (2025-04-28)
48 * Temporarily disable `object-tools` block from job detail view. Thanks @terencehonles!
49 * Fixed a typo in `setup.py`. Thanks @terencehonles!
50 * Added support for RQ >= 2.2. Thanks @terencehonles!
51 * Properly handle cases where no `HOST` is specified in Redis config. Thanks @spapas!
52
53 ### Version 3.0 (2024-10-28)
54 * Added support for RQ 2.0. Thanks @selwin!
55 * Many typing improvements. Thanks @SpecLad and @terencehonles!
56 * Added management command to suspend and resume workers. Thanks @jackkinsella!
57 * Better support for Redis Sentinel. Thanks @alaouimehdi1995!
58
59 ### Version 2.10.2 (2024-03-23)
60 * Added support for Django 5.0. Thanks @selwin!
61 * Fixed an error in Python 3.12. Thanks @selwin!
62 * Fixes an issue that may happen if Redis port is not specified. Thanks @terencehonles!
63
64 ### Version 2.10.1 (2023-12-18)
65 * Fixed packaging issues with 2.10.0.
66
67 ### Version 2.10.0 (2023-12-18)
68 * Added `rqworker-pool` management command. Thanks @chromium7!
69 * Compatibility with Django 5.0. Thanks @perry!
70 * The scheduler now defaults to db 0. Thanks @bennylope!
71
72 ### Version 2.9.0 (2023-11-26)
73 * Added an option to delete all failed jobs. Thanks @chromium7!
74 * You can now specify `SERIALIZER` option while declaring queues in `settings.py` Thanks @sophcass!
75 * Updated templates to match newer versions of Django admin's styling. Thanks @nikhilweee!
76 * Don't show `Empty Queue` button on registry pages. Thanks @selwin!
77
78 ### Version 2.8.1 (2023-05-14)
79 * Added a button to stop currently running jobs. Thanks @gabriels1234!
80 * Added a failed jobs column to rqstats command. Thanks @dangquangdon!
81 * Explicitly requires RQ >= 1.14 in `setup.py`. Thanks @selwin!
82
83 ### Version 2.8.0 (2023-05-02)
84 * Support for RQ 1.14. Thanks @Cerebro92 and @selwin!
85 * Show scheduler PID information in admin interface. Thanks @gabriels1234!
86 * Added `serializer` argument to `rqworker` command. Thanks @gabriels1234!
87 * Added `USERNAME` and `SENTINEL_KWARGS` support. Thanks @joachimBurket!
88
89 ### Version 2.7.0 (2023-02-07)
90 * Able to show multiple execution results for each job (requires RQ v1.12). Thanks @selwin!
91 * Various admin interface improvements. Thanks @selwin!
92
93 ### Version 2.6.0 (2022-11-05)
94 * Added `--max-jobs` argument to `rqworker` management command. Thanks @arpit-goel!
95 * Remove job from `ScheduledJobRegistry` if a scheduled job is enqueued from admin. Thanks @robertaistleitner!
96 * Minor code cleanup. Thanks @reybog90!
97
98 ### Version 2.5.1 (2021-11-22)
99 * `Redis.from_url` does not accept `ssl_cert_reqs` argument for non SSL Redis URL. Thanks @barash-asenov!
100
101 ### Version 2.5.0 (2021-11-17)
102 * Better integration with Django admin, along with a new `Access admin page` permission that you can selectively grant to users. Thanks @haakenlid!
103 * Worker count is now updated everytime you view workers for that specific queue. Thanks @cgl!
104 * Add the capability to pass arbitrary Redis client kwargs. Thanks @juanjgarcia!
105 * Always escape text when rendering job arguments. Thanks @rhenanbartels!
106 * Add `@never_cache` decorator to all Django-RQ views. Thanks @Cybernisk!
107 * `SSL_CERT_REQS` argument should also be passed to Redis client even when Redis URL is used. Thanks @paltman!
108
109 ### Version 2.4.1 (2021-03-31)
110 * Added `ssl_cert_reqs` and `username` to queue config. Thanks @jeyang!
111
112 ### Version 2.4.0 (2020-11-08)
113 * Various admin interface improvements. Thanks @selwin and @atten!
114 * Improved Sentry integration. Thanks @hugorodgerbrown and @kichawa!
115
116 ### Version 2.3.2 (2020-05-13)
117 * Compatibility with RQ >= 1.4.0 which implements customizable serialization method. Thanks @selwin!
118
119 ### Version 2.3.1 (2020-04-10)
120 * Added `--with-scheduler` argument to `rqworker` management command. Thanks @stlk!
121 * Fixed a bug where opening job detail would crash if job.dependency no longer exists. Thanks @selwin!
122
123 ### Version 2.3.0 (2020-02-09)
124 * Support for RQ's new `ScheduledJobRegistry`. Thanks @Yolley!
125 * Improve performance when displaying pages showing a large number of jobs by using `Job.fetch_many()`. Thanks @selwin!
126 * `django-rq` will now automatically cleanup orphaned worker keys in job registries. Thanks @selwin!
127 * Site name now properly displayed in Django-RQ admin pages. Thanks @tom-price!
128 * `NoSuchJobError`s are now handled properly when requeuing all jobs. Thanks @thomasmatecki!
129 * Support for displaying jobs with names containing `$`. Thanks @gowthamk63!
130
131 ### Version 2.2.0 (2019-12-08)
132 - Support for Django 3.0. This release also drops support for Django 1.X. Thanks @hugorodgerbrown!
133 - `rqworker` management command now properly passes in `--verbosity` to `Worker`. Thanks @stlk!
134 - The admin interface can now view jobs with `:` on their IDs. Thanks @carboncoop!
135 - Job detail page now shows `job.dependency`. Thanks @selwin!
136
137 ### Version 2.1.0 (2019-06-14)
138 - Fixed `Requeue All`
139 - Django-RQ now automatically runs maintenance tasks when `rq_home` is opened
140
141 ### Version 2.0 (2019-04-06)
142 - Compatibility with RQ 1.0 (Thanks @selwin). Backward incompatible changes include:
143 * `FailedQueue` is now replaced by `FailedJobRegistry`
144 * RQ now uses `sentry-sdk` to send job failures to Sentry.
145 - Scheduler now respects default `timeout` and `result_ttl` defined in `RQ_QUEUES`. Thanks @simone6021!
146 - Minor improvements and bug fixes. Thanks @selwin!
147
148
149 ### Version 1.3.1 (2019-03-15)
150 - Run `rqworker` with `--sentry_dsn=""` to disable Sentry integration. Thanks @Bolayniuss!
151 - Support for `SSL` Redis kwarg. Thanks @ajknv!
152 - `rqworker`and `rqscheduler` management commands now uses RQ's built in `setup_loghandlers` function. Thanks @Paulius-Maruska!
153 - Remove the use of deprecated `admin_static` template tag. Thanks @lorenzomorandini!
154
155
156 ### Version 1.3.0 (2018-12-18)
157 - Added support `redis-py` >= 3 and `RQ` >= 0.13. Thanks @selwin!
158 - Use `Worker.count(queue=queue)` to speed up the process of getting the number of active workers. Thanks @selwin!
159 - Added an option to requeue job from the admin interface. Thanks @seiryuz!
160 - Improve Sentinel support. Thanks @pnuckowski!
161
162
163 ### Version 1.2.0 (2018-07-26)
164 - Supports Python 3.7 by renaming `async` to `is_async`. Thanks @Flimm!
165 - `UnpickleError` is now handled properly. Thanks @selwin!
166 - Redis Sentinel support. Thanks @SpeedyCoder!
167
168
169 ### Version 1.1.0
170 - Fixed some admin related bugs. Thanks @seiryuz!
171 - More Django 2.0 compatibility fixes. Thanks @selwin and @koddr!
172 - Custom `Job` and `Worker` classes are now supported. Thanks @skirsdeda!
173 - `SENTRY_DSN` value in `settings.py` will now be used by default. Thanks @inetss!
174
175
176 ### 1.0.1
177 - Django 2.0 compatibility fixes.
178 - Minor bug fixes
179
180
181 ### 1.0.0
182
183 - You can now view worker information
184 - Detailed worker statistics such as failed/completed job count are
185 now shown (requires RQ >= 0.9.0). Thanks @seiryuz!
186 - `rqstats` management command now allows you to monitor queue stats
187 via CLI. Thanks @seiryuz!
188 - Added `/stats.json` endpoint to fetch RQ stats in JSON format,
189 useful for monitoring purposes. Thanks @seiryuz!
190 - Fixed a crash when displaying deferring jobs. Thanks @Hovercross!
191 - Added `sentry-dsn` cli option to `rqworker` management command.
192 Thanks @efi-mk!
193 - Improved performance when requeueing all jobs. Thanks
194 @therefromhere!
195
196 ### 0.9.6
197
198 - More Django 1.10 compatibility fixes. Thanks @dmwyatt!
199 - Improves performance when dealing with a large number of workers.
200 Thanks @lucastamoios!
201
202 ### 0.9.5
203
204 - Fixed view paging for registry-based job lists. Thanks @smaccona!
205 - Fixed an issue where multiple failed queues may appear for the same
206 connection. Thanks @depaolim!
207 - `rqworker` management command now closes all DB connections before
208 executing jobs. Thanks @depaolim!
209 - Fixed an argument parsing bug `rqworker` management command. Thanks
210 @hendi!
211
212 ### 0.9.3
213
214 - Added a `--pid` option to `rqscheduler` management command. Thanks
215 @vindemasi!
216 - Added `--queues` option to `rqworker` management command. Thanks
217 @gasket!
218 - Job results are now shown on admin page. Thanks @mojeto!
219 - Fixed a bug in interpreting `--burst` argument in `rqworker`
220 management command. Thanks @claudep!
221 - Added Requeue All feature in Failed Queue's admin page. Thanks
222 @lucashowell!
223 - Admin interface now shows time in local timezone. Thanks
224 @randomguy91!
225 - Other minor fixes by @jeromer and @sbussetti.
226
227 ### 0.9.2
228
229 - Support for Django 1.10. Thanks @jtburchfield!
230 - Added `--queue-class` option to `rqworker` management command.
231 Thanks @Krukov!
232
233 ### 0.9.1
234
235 - Added `-i` and `--queue` options to rqscheduler management command.
236 Thanks @mbodock and @sbussetti!
237 - Added `--pid` option to `rqworker` management command. Thanks
238 @ydaniv!
239 - Admin interface fixes for Django 1.9. Thanks @philippbosch!
240 - Compatibility fix for `django-redis-cache`. Thanks @scream4ik!
241 - *Backwards incompatible*: Exception handlers are now defined via
242 `RQ_EXCEPTION_HANDLERS` in `settings.py`. Thanks @sbussetti!
243 - Queues in django-admin are now sorted by name. Thanks @pnuckowski!
244
245 ### 0.9.0
246
247 - Support for Django 1.9. Thanks @aaugustin and @viaregio!
248 - `rqworker` management command now accepts `--worker-ttl` argument.
249 Thanks pnuckowski!
250 - You can now easily specify custom `EXCEPTION_HANDLERS` in
251 `settings.py`. Thanks @xuhcc!
252 - `django-rq` now requires RQ >= 0.5.5
253
254 ### 0.8.0
255
256 - You can now view deferred, finished and currently active jobs from
257 admin interface.
258 - Better support for Django 1.8. Thanks @epicserve and @seiryuz!
259 - Requires RQ >= 0.5.
260 - You can now use StrictRedis with Django-RQ. Thanks @wastrachan!
261
262 ### 0.7.0
263
264 - Added `rqenqueue` management command for easy scheduling of tasks
265 (e.g via cron