Releases: dereuromark/cakephp-queue
3.7.1
Improvements
Added isQueued() convenience method for simple re-queue checking.
3.7.0
Important changes
- The default task retry config has been adjusted from 4 to 1. It is not realistic that a task needs 5 tries to finish. At least not by default. Please make sure you adjust your scripts to a higher value if needed.
- The failureMessage property has been deprecated. In the next major the tasks' run() method must be void and throw an exception with a meaningful error message instead of returning false and setting this property. This asserts a cleaner and more consistent workflow.
Improvements
- By default Foundation (v5+) and Boostrap (v3+) should work out of the box.
- Allow resetting of all tasks via backend. So far it was only possible via CLI.
- Improved docs. It now states the task configs better and also explains how to write your own tasks.
- Improved queue runner feedback. It now states the correct type of failure in the logs and on CLI output (requeued vs aborted)
3.6.3
Bugfixes
Make posix extension optional, but recommended. Also visible in admin overview now.
3.6.2
Bugfixes
- Fix IdeHelper extension to not prefix with plugin as this does not work.
- Fix task loading to prioritize app over plugins.
Improvements
- Allow cleanuptimeout to be set to 0 for skipping.
- Improved test documentation.
3.6.1
Bugfixes
- If posix is not enabled the filename is created as sha1 hash, fixed regexp
- Do not export test_app folder for tagged releases
3.6.0
Improvements
- Utf8mb4 by default
- Basic Sqlserver support
- Allow connection to be configurable
Bugfixes
- Revert json_encode() back to serialize() for object handling. This is a regression fix also for email sending. Make sure all jobs are processed before updating! Also make sure you do not pass any security critical user data, but only references to DB records to process etc. This way you also do not run into size issues of the payload.
- failure_message mediumtext to not truncate larger datasets
- pid length fixed
3.5.3
Improvements
Added IdeHelper plugin support for generating (PhpStorm) meta file.
This allows typehinting and autocomplete for your QueuedJobsTable and specifically its createJob() method.
3.5.2
Bugfixes
Fix deleting of queue failures.
3.5.1
Bugfixes
Fixed duplication issues.
3.5.0
Improvements
The PID "file system" approach has been deprecated.
It instead now uses a DB driven approach for consistency with the DB table existing already for tasks.
The new table "queue_processes" now contains the PID info.
This allows to use the Queue plugin also on environments with shared DB or without any usable (shared) filesystem present.
To enable set the Queue.pidfilepath to false.
Note: The new DB table will automatically be created with your hopefully deploy-script added command line call bin/cake migrations migrate -p Queue. Thus a minor release here.