- Removed CodeCov coverage publishing for tests, as it is not configured
- Added CodeQL scanning for the forked main ref
- Updated Github actions versions
- Updated Github actions to use poetry caching
- Modernized pyproject.toml to resolve build issues
- Added extras to pyproject.toml for each broker type, allowing easy installation of optional packages
- Removed upper version bound on all dependencies
- Resolved warning about django baseconv module being removed
- Dropped support for Python 3.7
- Removed Python 3.7 testing
- Dropped support for Django 2.2
- Removed Django 2.2 testing
- Added testing for Python 3.10
- Applied the following parent fork PRs:
Full Changes: https://github.com/Koed00/django-q/compare/master...paperless-ngx:paperless-main
Closed issues:
- Upgrade to 1.3.6 stops the cluster from working #565
- Feature request: override retry for individual tasks #551
Merged pull requests:
v1.3.9 (2021-06-10)
Closed issues:
- Version 1.3.7 rolled back Arrow to old 0.15.6 #571
- Migration XYZ dependencies reference nonexistent parent node ('django_q', '0014_auto_20210502_1221') #570
Merged pull requests:
v1.3.8 (2021-06-08)
v1.3.7 (2021-06-03)
Closed issues:
- Q configured to use redis but keeps a continuous connection to db #559
- [Error] select_for_update happening when using replica(read-only) and default(write-only) DB. #558
Merged pull requests:
- Build improvements #569 (Koed00)
- Create codeql-analysis.yml #564 (Koed00)
- Fix docs error #563 (aken830806)
- Codecov_fixes #562 (Koed00)
- Feature/improves multiple databases support #561 (abxsantos)
v1.3.6 (2021-05-14)
Closed issues:
- Chain of Task #547
- Queued tasks (OrmQ) are not always acknowledged #545
- Auto-created primary key used when not defining a primary key type #543
- Tasks are "processing" but hooks are not called and cluster don't recgonize they are finished and "processed" #540
- Django Q is still a young project. #528
- SSL errors after upgrading to qcluster version 1.1.0 #422
- [Enhancement] Add Systemd sample template #420
- Not enough values to unpack (expected 2, got 1) #314
- Successful tasks grow beyond save_limit #225
Merged pull requests:
- Fix for SSL errors in #422 #556 (nittolese)
- Allow tasks to be scheduled on a specific cluster #555 (midse)
- Fixes #314 - Convert func to its import path str so that resubmitting failed task works #554 (kennyhei)
- Add "qmemory" command #553 (kennyhei)
- Fixes #225 - Successful tasks grow beyond SAVE_LIMIT #552 (kennyhei)
- Fixes deprecated count method #549 (Koed00)
- Updates testing to python 3.9 #548 (Koed00)
- Update documentation for new retry time default #538 (amo13)
- Use 'timezone.localtime()' when calculating the next run time #520 (wy-z)
- added long polling support #506 (Javedgouri)
v1.3.5 (2021-02-26)
Closed issues:
- Tasks piling up on a slower machine while the fast one has no tasks queued. Help. #500
- SQL errors when running tasks and viewing successful/failed tasks #496
- Prevent retry in case of failure (max_attempts) #495
- How to use with test cases? Scheduled tasks are not being queued when running
python manage.py test
. #490 - Question: Running django-q in the background. #487
Merged pull requests:
- Add a warning for misconfiguration. #509 (icfly2)
- Migrate to Github Action CI #507 (Koed00)
- Add example of http health check #504 (pysean3)
- Add broker name in Schedule and enhanced Queued Tasks list display admin #502 (telmobarros)
- Added german translation #499 (jonaswinkler)
- Update brokers.rst #497 (MaximilianKindshofer)
v1.3.4 (2020-10-26)
Closed issues:
- Admin integration is broken when using ORM as a broker with a different database #472
- TypeError: can't pickle _thread.lock objects #424
Merged pull requests:
- Fix deprecation warning RemovedInDjango40Warning #483 (Djailla)
- Fix for #424 #482 (ihuk)
- [WIP]Change Django documentation links and URLs to a supported version (v1.8 -> v2.2) #481 (jagu2012)
- Model.__unicode__() has no effect in Python 3.X #479 (alx-sdv)
- try to get SQS queue before creating it #478 (fallenhitokiri)
- empty dictionary as configuration value for SQS #477 (fallenhitokiri)
v1.3.3 (2020-08-16)
Closed issues:
- Call Django Class based view function with Django-Q's async_task #463
- qcluster timezone #459
- Django-q from other django project in script #443
Merged pull requests:
- Add attempt_count to limit the number of times a filed task will be re-attempted #466 (timomeara)
- Updates to Django 3.1 #464 (Koed00)
v1.3.2 (2020-07-08)
Closed issues:
- Is it the maintainers' intent to support RabbitMQ in the future? #454
- Can worker/cluster resource usage be limited? #453
Merged pull requests:
v1.3.1 (2020-07-02)
Closed issues:
- Ability to customize schedule creation #451
v1.3.0 (2020-07-02)
Closed issues:
- ERROR: django-picklefield 3.0.1 has requirement Django>=2.2, but you'll have django 1.11.10 which is incompatible. #445
- [Error] select_for_update cannot be used outside of a transaction. #434
Merged pull requests:
- Support for Cron expressions #452 (Koed00)
- Updates packages #450 (Koed00)
- Adds hint, some linting and a release drafter #449 (Koed00)
- Use 'force_str' instead of deprecated 'force_text' #448 (edthrn)
- [cleanup] Few cleanup commit for linting and migrations #447 (Djailla)
v1.2.4 (2020-06-10)
Merged pull requests:
v1.2.3 (2020-05-31)
v1.2.2 (2020-05-31)
Closed issues:
- Scheduled task being executed many times #426
- schedule doesn't work #416
- Expose list of workers and their states via API #364
- Tasks are not encrypted, only signed #300
Merged pull requests:
- Poetry #442 (Koed00)
- Fix issues when using multiple databases with a database router #440 (maerteijn)
- Update documentation to say tasks are signed, not encrypted #429 (asedeno)
- Fix issue when using USE_TZ=False with MySQL #428 (hhyo)
- When sync=True, re-raise exceptions from the worker. #417 (rbranche)
v1.2.1 (2020-02-18)
Merged pull requests:
v1.2.0 (2020-02-17)
Closed issues:
Merged pull requests:
- Differentiate between PID and unique cluster ID #414 (jmcvetta)
- Bump django from 3.0.2 to 3.0.3 #411 (dependabot[bot])
- Fix startup error in AWS Lambda #405 (lordkev)
- [py27] Remove last traces of py27 #392 (Djailla)
v.1.1.0 (2020-01-18)
Closed issues:
- Ability to use a Redis URI #402
- worker_1 | 16:15:08 [Q] ERROR malformed node or string: <_ast.Name object at 0x7fb952093130> #400
- Latest versions of Arrow will break django-q #377
- How to deal with failed tasks? #365
- Timeout override is lost when sent to broker #332
- "InterfaceError: connection already closed" being raised when a test is run #326
- scheduler creating duplicate tasks in multiple cluster environment #231
Merged pull requests:
- Django 3 support #404 (Koed00)
- ability to use a Redis connection URI - closes #402 #403 (valentinogagliardi)
- Replacing
ugettext_
functions withgettext_
for Django 3 #399 (theunraveler) - Bump django from 2.2.5 to 2.2.8 #395 (dependabot[bot])
- Preserve database connection when sync=True #393 (Urth)
- Fix scheduler concurrency with multiple clusters #347 (maerteijn)
- Fix timeout override #333 (tremby)
v1.0.2 (2019-08-10)
Closed issues:
- Is django-q dead? #375
- Cluster shuts down immediately after processing tasks #367
- Why is django_q hitting redis so hard? #359
- ERROR MySQL backend does not support timezone-aware datetimes when USE_TZ is False. #350
- from django_q.tasks import async - ImportError: cannot import name 'async' #346
- Timeouts given for async_task do not work if timeout value for cluster is None (the default) #335
- Import Error running qcluster command Python 3.7 Django 2.1.5 #331
- Periodic tasks add only if #320
- async_task not in docs?!? #317
- django_q 1.0 fails in ./manage.py check on python 3.4 django 2.0.8 #315
- Long-running tasks are duplicated multiple times in multi-cluster environment when no timeout is set #307
- log name used to configure logging in django #268
- RFC - Interval for schedules #265
- The error traceback #259
- Mention Django Q Email in the docs? #215
Merged pull requests:
- Remove and re-add task.id field instead of alter #363 (wgordon17)
- Fix test section format in readme #358 (vkaracic)
- Inline import to prevent circular imports under some toolchain combinations #356 (lamby)
- fix spelling of careful #355 (tylerharper)
- Fix issue when using USE_TZ=False with MySQL #353 (maerteijn)
- Document the behaviour of retry value properly #340 (janneronkko)
- Fix concurrency issue in timeout timer value processing #337 (janneronkko)
- Timeout handling fix and improvements to related tests #336 (janneronkko)
- Document how to run tests on your computer #334 (janneronkko)
- Updates django version and packages #330 (Koed00)
- Modified django_q imports to support Python 3.4 again in cluster.py. … #327 (mattaw)
v1.0.1 (2018-08-29)
Merged pull requests:
v1.0.0 (2018-08-14)
Closed issues:
- Deleted broken schedules still run #308
- Python3.7 not supported #304
- Avoid retrying failed tasks #238
Merged pull requests:
- Python 3.7 #310 (Koed00)
- Fix a typo I introduced in groups.rst #309 (P-EB)
- Replaces async occurrences with alternatives #306 (P-EB)
v0.9.4 (2018-03-13)
v0.9.3 (2018-03-13)
Closed issues:
- [Wishlist] Please provide a changelog in a text format in your repo. #293
- django-q collides with existing app of name
tasks
#199
Merged pull requests:
- Add option for acknowledging failed tasks (globally and per-task) #298 (Balletie)
- Changing the path location where Django-Q is inserted. #297 (Eagllus)
v0.9.2 (2018-02-13)
Closed issues:
- [Debian] The new release contains a python3-only line. #291
- Support Python 3.x Only Since 0.9.0? #286
- Error when using error reporters - AttributeError: 'generator' object has no attribute 'load' #276
- Question: how to show the running task on the django-admin with redis as broker #270
- Overflow on repeats fields #255
- apps.py: Attempted relative import with no known parent package #249
- Django and Django Q on different server with Redis as broker #237
- The
django_q/tests
directory isn't in the tarball #226 - django scrapy project can't connect to redis #217
- django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. #216
- Add Sentry support #210
- Tasks in the queue are not being processed #203
- Result is - #176
- ERROR invalid syntax (<unknown>, line 1) - while passing objects as arguments #170
- "InterfaceError: connection already closed" being raised when a test is run #167
- AppRegistryNotReady Exception on Django 1.10 Dev #164
- Retry possibility? #118
Merged pull requests:
v0.9.1 (2018-02-02)
Closed issues:
Merged pull requests:
- Fix urls being escaped by admin #290 (Eagllus)
- fixing entry_points annotation to expose class rather than module #287 (danielwelch)
- Allow SQS to use environment variables #283 (svdgraaf)
0.9.0 (2018-01-08)
v0.9.0 (2018-01-08)
Closed issues:
- Django-q calls task twice or more #183
Merged pull requests:
- Django 2 compatiblity #279 (Eagllus)
- fix usage of iter_entry_points #278 (danielwelch)
- Updates Travis to test for Django 2 and the LTS versions #274 (Koed00)
- Django 2.0 compatibility #269 (achidlow)
v0.8.1 (2017-10-12)
Closed issues:
- Django Q tasks are not executed with ./manage.py test #266
- Unable to delete scheduled task item that was created in the admin. #258
- <mistake> #257
- Failed tasks and Chain #254
- async and chains returns different task id ! #244
- Python3. Async hook doesn't seem to work #240
- Workers stall and do nothing #239
- How is logging handled #209
- ask close_old_connections use! #198
Merged pull requests:
- Updates botocore, certifi, chardet, docutils, idna and psutil #267 (Koed00)
- Replaces some relative imports #264 (Koed00)
- Updates packages and Django version #263 (Koed00)
- Use 32 bits integer for repeat field to avoid overflow with frequent scheduled tasks #262 (gchardon-hiventy)
- Error reporter #261 (danielwelch)
- Remove dependency
future
#247 (benjaoming)
v0.8.0 (2017-04-05)
Closed issues:
- How do you actually initiate periodic scheduled tasks in production #221
- Enhancement: add signals #219
- very slow performance with global sync: True setting vs. async(sync=True) #214
- daemonic processes are not allowed to have children #211
- send_mail problem #202
- Starting qcluster crashes python in OSX Sierra #201
- How can I run django-q qcluster with supervisor process manager #196
- Can't get attribute 'simple_class_factory' on module 'django.db.models.base' #191
- [Q] ERROR reincarnated pusher Process-1:4439 after sudden death #188
- Can not pass async() non-core functions #178
Merged pull requests:
- Update to Django 1.11 & Python 3.6 #230 (Koed00)
- Add django 1.11 support #228 (bulv1ne)
- Update tasks.rst #222 (ghost)
- Add signals #220 (abompard)
- fix a race condition in orm broker #213 (yannpom)
- Option to undaemonize workers and allows them to spawn child processes #212 (yannpom)
- Replace global Conf mangling with monkeypatch #208 (Urth)
- Explaining how to handle tasks async with qcluster #204 (Eagllus)
- supervisor example in Cluster documentation fix #196 #197 (GabLeRoux)
- Update brokers.rst #187 (pyprism)
- Package update 21 7 #184 (Koed00)
- Guard loop sleep made configurable #182 (bob-r)
- Add option to qinfo to print task IDs #173 (Aninstance)
- Log id returned by broker #148 (k4ml)
v0.7.18 (2016-06-07)
Closed issues:
- ValueError('need more than 1 value to unpack',) #171
- Successful tasks are not being saved to the database when 'save_limit' config setting is 0 #157
Merged pull requests:
v0.7.17 (2016-04-24)
Closed issues:
- Typo in parameter passed to broker in get_broker #158
- Circus stop only stops first process #155
- Allow task custom name #146
- Worker recycle causes: "ERROR connection already closed" #144
Merged pull requests:
- Updates packages for testing #166 (Koed00)
- allow scheduler to schedule all pending tasks #165 (thatmattbone)
- Updates docs and tests for new Django versions #163 (Koed00)
- Fixes typo in custom broker handler #159 (Koed00)
v0.7.16 (2016-03-07)
Fixed bugs:
- "connection already closed" while testing #127
- Async argument 'timeout' fails if broker timeout is set to None #125
Closed issues:
- Scheduled task name behaviour inconsistent #150
- SystemError: Parent module '' not loaded, cannot perform relative import #142
- OrmQ broker MySQL connection errors on ORM.delete(task_id) #124
- Task stays in queue when executing a requests.post #97
Merged pull requests:
- Updates Django to 1.9.4 and 1.8.11 #153 (Koed00)
- Fixes for several issues #152 (Koed00)
- Updates to Django 1.8.9 and 1.9.2 #143 (Koed00)
v0.7.15 (2016-01-27)
Closed issues:
- Make orm polling interval configurable #139
Merged pull requests:
v0.7.14 (2016-01-24)
Closed issues:
- app file structure #100
Merged pull requests:
- Adds task result update #138 (Koed00)
- Save task now creates or updates #136 (Koed00)
- Fixes acknowledgement bug for failed tasks #135 (Koed00)
- Removes duplicate test #134 (Koed00)
v0.7.13 (2016-01-08)
v0.7.12 (2016-01-08)
Closed issues:
- Bug? Hourly schedule_type runs in reverse #128
- scheduling repeating tasks #121
- documentation or design issue? #114
- Catch_up States #110
- foo.bar.tasks.my_task fails with "No module named bar.tasks" when running in AWS / Elastic Beanstalk #105
- Q Cluster auto-launch? #102
Merged pull requests:
- v0.7.12 #132 (Koed00)
- Adds Rollbar support for exceptions #131 (Koed00)
- Updates packages and Django for testing #130 (Koed00)
- Fix for unusable ORM Broker connections #126 (kdmukai)
- Adds a check for duplicate schedule names. #123 (Koed00)
- fixed typo #117 (Eagllus)
- Update example to use string for the schedule_type #115 (Eagllus)
- Updates Blessed #113 (Koed00)
- docs: rephrased the missing schedule description #112 (Koed00)
- Updates botocore for testing #111 (Koed00)
- Updates Django #109 (Koed00)
- Updates botocore for testing #108 (Koed00)
v0.7.11 (2015-10-28)
Closed issues:
- fetch() only works for the first task, returning None for subsequent tasks IDs #99
Merged pull requests:
- docs: added Async class #104 (Koed00)
- adds
Async
class #103 (Koed00) - Adds timeout to group key cache object #98 (Koed00)
v0.7.10 (2015-10-19)
Merged pull requests:
- Adds task chains #96 (Koed00)
- Updates botocore for testing #95 (Koed00)
- Updates Requests and Blessed requirements for testing #94 (Koed00)
- Updates Arrow and Blessed for testing #93 (Koed00)
- Updates botocore for testing #92 (Koed00)
v0.7.9 (2015-10-08)
Merged pull requests:
- Updated botocore for testing #91 (Koed00)
- adds version info to qinfo #90 (Koed00)
- Adds version and broker info to qinfo #89 (Koed00)
- Updates botocore, requests and six for testing #88 (Koed00)
- adds
cached
option toasync_iter
#87 (Koed00) - moves hook signal in separate module #86 (Koed00)
- Updates psutil to 3.2.2 #85 (Koed00)
v0.7.8 (2015-10-04)
Merged pull requests:
- Adds cached result backend #84 (Koed00)
- Update tests for Django 1.8.5 #83 (Koed00)
- updates botocore to 1.2.6 for testing #81 (Koed00)
v0.7.7 (2015-09-29)
v0.7.6 (2015-09-29)
Closed issues:
- Cluster dies when started with Postgres #79
Merged pull requests:
v0.7.5 (2015-09-28)
Closed issues:
- Getting "MySQL server has gone away" on new tasks after idling #76
Merged pull requests:
- docs: mention Django 1.9a1 support #78 (Koed00)
- Adds stale db connection check before every transaction #77 (Koed00)
v0.7.4 (2015-09-26)
Merged pull requests:
- Adds MongoDB broker #75 (Koed00)
- Removes root imports #74 (Koed00)
- Removes pycharm stdin bug workaround #73 (Koed00)
- adds compatibility section to docs #72 (Koed00)
- Only show lock count when available and greater than zero #71 (Koed00)
- Python 3.5 compatibility #70 (Koed00)
- docs: Replaced redis pooling with broker pooling example. #69 (Koed00)
v0.7.3 (2015-09-18)
Merged pull requests:
v0.7.2 (2015-09-17)
Merged pull requests:
- orm: Improves locking behavior #67 (Koed00)
- tests orm queue admin overrides #66 (Koed00)
- Adds remote orm admin view #65 (Koed00)
v0.7.1 (2015-09-16)
Merged pull requests:
v0.7.0 (2015-09-14)
Merged pull requests:
- Adds Django ORM broker #63 (Koed00)
- Updated wcwidth #62 (Koed00)
- Adds Fastack option to Disque broker #61 (Koed00)
- Updates test dependencies #60 (Koed00)
v0.6.4 (2015-09-10)
Closed issues:
qcluster
command doesn't handle interrupts. #56
Merged pull requests:
- Adds Amazon SQS broker #58 (Koed00)
- #56 cpu_affinity not supported on some platforms #57 (Koed00)
- docs:
cache
option #55 (Koed00)
v0.6.3 (2015-09-08)
Merged pull requests:
v0.6.2 (2015-09-07)
Merged pull requests:
v0.6.1 (2015-09-07)
v0.6.0 (2015-09-06)
Merged pull requests:
v0.5.3 (2015-08-19)
Merged pull requests:
- v0.5.3 #49 (Koed00)
- adds
catch_up
configuration option #48 (Koed00) - consolidates redis ping #47 (Koed00)
v0.5.2 (2015-08-13)
Merged pull requests:
v0.5.1 (2015-08-12)
Merged pull requests:
v0.5.0 (2015-08-06)
Closed issues:
- Too many workers #43
Merged pull requests:
v0.4.6 (2015-08-04)
Closed issues:
- sem_getvalue not implemented on OSX #40
Merged pull requests:
v0.4.5 (2015-08-01)
Closed issues:
- Getting 'can't pickle lock objects' using async() #38
Merged pull requests:
- Sets pickle protocol to highest #39 (Koed00)
- fixes save_limit +1 #37 (Koed00)
- Moves unpacking task from Worker to Pusher #36 (Koed00)
v0.4.4 (2015-07-27)
Merged pull requests:
- closes old db connections on monitor and worker spawn #35 (Koed00)
- Updated to future 0.15.0 #34 (Koed00)
- Group filter and queue limit indicator #33 (Koed00)
v0.4.3 (2015-07-24)
Merged pull requests:
v0.4.2 (2015-07-22)
Closed issues:
- Timeout doesn't work #28
Merged pull requests:
v0.4.1 (2015-07-21)
Merged pull requests:
v0.4.0 (2015-07-19)
Merged pull requests:
- Added a group example #25 (Koed00)
- Adds failure filtering to group functions #24 (Koed00)
- Adds count_group() and delete_group() #23 (Koed00)
- decoding values_list on a picklefield is faster #22 (Koed00)
- Adds task groups #21 (Koed00)
v0.3.5 (2015-07-17)
v0.3.6 (2015-07-17)
Merged pull requests:
- Tests now run with logging level debug #20 (Koed00)
- docs: small edits #19 (Koed00)
- Adds a
timeout
override per task #18 (Koed00) - Adds management commands to the tests #17 (Koed00)
- Docs: Added a report example #16 (Koed00)
0.3.5 (2015-07-15)
Merged pull requests:
- Adds cpu affinity to workers #15 (Koed00)
- Clean up redis key after test #14 (Koed00)
- Adding sphinx build to Travis #13 (Koed00)
- Adding examples to the docs #12 (Koed00)
v0.3.4 (2015-07-12)
Merged pull requests:
- Testing with Arrow 0.6.0 now #11 (Koed00)
- Schedules of type ONCE will selfdestruct with negative repeats #10 (Koed00)
v0.3.3 (2015-07-10)
Closed issues:
- Documentation for mocking in case of testing #7
Merged pull requests:
v0.3.2 (2015-07-09)
Closed issues:
- No module named builtins #4
Merged pull requests:
v0.3.1 (2015-07-08)
v0.3.0 (2015-07-08)
Merged pull requests:
v0.2.2 (2015-07-07)
Merged pull requests:
v0.2.1.1 (2015-07-06)
v0.2.1 (2015-07-06)
v0.2.0 (2015-07-04)
v0.1.4.1 (2015-07-02)
v0.1.4 (2015-07-01)
v0.1.3 (2015-06-30)
v0.1.2 (2015-06-30)
v0.1.1 (2015-06-28)
v0.1.0 (2015-06-28)
* This Changelog was automatically generated by github_changelog_generator