Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
997 lines (630 loc) · 56.6 KB

CHANGELOG.md

File metadata and controls

997 lines (630 loc) · 56.6 KB

Changelog

  • 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

Full Changelog

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)

Full Changelog

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)

Full Changelog

v1.3.7 (2021-06-03)

Full Changelog

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:

v1.3.6 (2021-05-14)

Full Changelog

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)

Full Changelog

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:

v1.3.4 (2020-10-26)

Full Changelog

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:

v1.3.3 (2020-08-16)

Full Changelog

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)

Full Changelog

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)

Full Changelog

Closed issues:

  • Ability to customize schedule creation #451

v1.3.0 (2020-07-02)

Full Changelog

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)

Full Changelog

Merged pull requests:

v1.2.3 (2020-05-31)

Full Changelog

v1.2.2 (2020-05-31)

Full Changelog

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)

Full Changelog

Merged pull requests:

v1.2.0 (2020-02-17)

Full Changelog

Closed issues:

  • Run task at a specific time #407
  • Question about Multiple Clusters #401

Merged pull requests:

v.1.1.0 (2020-01-18)

Full Changelog

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:

v1.0.2 (2019-08-10)

Full Changelog

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)

Full Changelog

Merged pull requests:

v1.0.0 (2018-08-14)

Full Changelog

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)

Full Changelog

v0.9.3 (2018-03-13)

Full Changelog

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)

Full Changelog

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)

Full Changelog

Closed issues:

  • Django 2.0 admin last run urls #289
  • The model Schedule is already registered #285

Merged pull requests:

0.9.0 (2018-01-08)

Full Changelog

v0.9.0 (2018-01-08)

Full Changelog

Closed issues:

  • Django-q calls task twice or more #183

Merged pull requests:

v0.8.1 (2017-10-12)

Full Changelog

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:

v0.8.0 (2017-04-05)

Full Changelog

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:

v0.7.18 (2016-06-07)

Full Changelog

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)

Full Changelog

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:

v0.7.16 (2016-03-07)

Full Changelog

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:

v0.7.15 (2016-01-27)

Full Changelog

Closed issues:

  • Make orm polling interval configurable #139

Merged pull requests:

v0.7.14 (2016-01-24)

Full Changelog

Closed issues:

  • app file structure #100

Merged pull requests:

v0.7.13 (2016-01-08)

Full Changelog

v0.7.12 (2016-01-08)

Full Changelog

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.11 (2015-10-28)

Full Changelog

Closed issues:

  • fetch() only works for the first task, returning None for subsequent tasks IDs #99

Merged pull requests:

v0.7.10 (2015-10-19)

Full Changelog

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)

Full Changelog

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 to async_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)

Full Changelog

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)

Full Changelog

v0.7.6 (2015-09-29)

Full Changelog

Closed issues:

  • Cluster dies when started with Postgres #79

Merged pull requests:

  • #79 close django db connection before fork #80 (Koed00)

v0.7.5 (2015-09-28)

Full Changelog

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)

Full Changelog

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)

Full Changelog

Merged pull requests:

  • Adds a wait option for results. #68 (Koed00)

v0.7.2 (2015-09-17)

Full Changelog

Merged pull requests:

v0.7.1 (2015-09-16)

Full Changelog

Merged pull requests:

  • Adds configuration output and other enhancements #64 (Koed00)

v0.7.0 (2015-09-14)

Full Changelog

Merged pull requests:

v0.6.4 (2015-09-10)

Full Changelog

Closed issues:

  • qcluster command doesn't handle interrupts. #56

Merged pull requests:

v0.6.3 (2015-09-08)

Full Changelog

Merged pull requests:

v0.6.2 (2015-09-07)

Full Changelog

Merged pull requests:

  • Fixes backward compatibility problems with django-picklefield #53 (Koed00)

v0.6.1 (2015-09-07)

Full Changelog

v0.6.0 (2015-09-06)

Full Changelog

Merged pull requests:

  • Adds pluggable brokers #52 (Koed00)
  • #50 adds psutil as alternative os.getppid provider #51 (Koed00)

v0.5.3 (2015-08-19)

Full Changelog

Merged pull requests:

v0.5.2 (2015-08-13)

Full Changelog

Merged pull requests:

  • Adds global sync configuration option #46 (Koed00)

v0.5.1 (2015-08-12)

Full Changelog

Merged pull requests:

v0.5.0 (2015-08-06)

Full Changelog

Closed issues:

  • Too many workers #43

Merged pull requests:

  • Adds a n-minutes option to the scheduler #44 (Koed00)

v0.4.6 (2015-08-04)

Full Changelog

Closed issues:

  • sem_getvalue not implemented on OSX #40

Merged pull requests:

  • Replaces qsize == 0 with empty() #42 (Koed00)
  • Workaround for osx implementation #41 (Koed00)

v0.4.5 (2015-08-01)

Full Changelog

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)

Full Changelog

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)

Full Changelog

Merged pull requests:

v0.4.2 (2015-07-22)

Full Changelog

Closed issues:

  • Timeout doesn't work #28

Merged pull requests:

v0.4.1 (2015-07-21)

Full Changelog

Merged pull requests:

v0.4.0 (2015-07-19)

Full Changelog

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)

Full Changelog

v0.3.6 (2015-07-17)

Full Changelog

Merged pull requests:

0.3.5 (2015-07-15)

Full Changelog

Merged pull requests:

v0.3.4 (2015-07-12)

Full Changelog

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)

Full Changelog

Closed issues:

  • Documentation for mocking in case of testing #7

Merged pull requests:

v0.3.2 (2015-07-09)

Full Changelog

Closed issues:

  • No module named builtins #4

Merged pull requests:

v0.3.1 (2015-07-08)

Full Changelog

v0.3.0 (2015-07-08)

Full Changelog

Merged pull requests:

  • Switched to uuid4 instead of luid #3 (Koed00)

v0.2.2 (2015-07-07)

Full Changelog

Merged pull requests:

  • Stabilizing stop procedures #2 (Koed00)

v0.2.1.1 (2015-07-06)

Full Changelog

v0.2.1 (2015-07-06)

Full Changelog

v0.2.0 (2015-07-04)

Full Changelog

v0.1.4.1 (2015-07-02)

Full Changelog

v0.1.4 (2015-07-01)

Full Changelog

v0.1.3 (2015-06-30)

Full Changelog

v0.1.2 (2015-06-30)

Full Changelog

v0.1.1 (2015-06-28)

Full Changelog

v0.1.0 (2015-06-28)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator