Releases: dereuromark/cakephp-queue
4.3.0
Improvements
Better display of failure count and requeue-status.
Removed deprecations, the plugin now requires CakePHP 3.8+.
Note: The changes mean you can now no longer call any method on the Email tasks using setX string config keys. It will auto prefix each setter with set. So setTo should be/stay to.
4.2.3
Bugfixes
- Fixed display of reset buttons on QueuedJob view page.
- Fixed resetting of progress to display progress for reset jobs.
5.0.0-beta
CakePHP 4 compatible pre-release.
Please help to finalize for stable release.
4.2.2
Improvements
Added separation for resetting jobs: failed only or all.
4.2.1
Improvements
Added a redirect functionality for reset and remove actions.
This way you can use them from your application directly.
4.2.0
4.1.1
Bugfixes
Added self-healing during queue worker-run.
4.1.0
Improvements
You can now use HTML5 progress bar (easier to style using CSS).
For this it is recommended to add the textual one from above as fallback, though:
$textProgressBar = $this->QueueProgress->progressBar($queuedJob, 18);
echo $this->QueueProgress->htmlProgressBar($queuedJob, $textProgressBar);The textual bar will only be visible for older browsers that do not support the HTML5 tag.
The same goes for the timeout progress bars.
$textTimeoutProgressBar = $this->QueueProgress->timeoutProgressBar($queuedJob, 18);
echo $this->QueueProgress->htmlTimeoutProgressBar($queuedJob, $textTimeoutProgressBar);For details see docs.
Bugfixes
Fixed PostgreSQL support for requestJob().
Travis is now fully active and passing for this DB type.
4.0.1
Bugfixes
Fixed progress display.
4.0.0
This is a BC breaking major for use with CakePHP 3.7+.
Please see Wiki for version map.
Main changes in API
- DB only queue (removed PID file solution and deprecations)
- All run() methods are now void. Exceptions must be used for the error case.
Improvements
- All configs are now defaulting to sane and secure values. Easier to start with the plugin.
- Provide visual and smart progress bars (uses the average of already run jobs if needed).
- Interface contracting also for add() method.
- No more autoloading configs from a file, you need to manually do that from your application.
- A provided QueueException can be used for exceptions without stack trace.
- Costs and Unique handling for servers and workers to avoid overloading.
- Add bake command to generate a Queue task as well as its test case.