Releases: dereuromark/cakephp-queue
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.
3.4.1
Make mailer configurable, add missing headers.
3.4.0
Improvements
Rewrite with json_encode/json_decode:
unserialize()
was too easy to break and even a bit dangerous.
Now JSON data gets passed around.
Also now included:
- Priority for tasks
- Transactions on getting a new job if supported from the database
Note: queued_tasks
table is now queued_jobs
to be consistent what it actually stands for.
Make sure you run migrations and adjust all your loadModel() calls etc.
Minor cleanups included.
Please upgrade with an empty queue to avoid data loss!
Follow up on SimpleQueueTransport fix
SimpleQueueTransport fix
Fix SimpleQueueTransport
Also:
- requestJob() has been rewritten to better work cross DB.