packagist dereuromark/cakephp-queue 8.15.0

2 days ago

Fixes

  • Persist a terminal aborted status so dead jobs stop counting as queued. Once a job exhausted its retries it kept completed IS NULL forever, so isQueued() and the admin "in_progress" filter still counted it — wedging non-concurrent callers (e.g. a QueueScheduler row) behind the dead job and rendering it as "Running". The Processor now stamps QueuedJobsTable::STATUS_ABORTED (via the new markJobAborted()) when getFailedStatus() is terminal; isQueued() and the in_progress filter exclude aborted rows, and the status badge renders them as "Failed". Retryable failures are untouched and null/other statuses are unaffected, so the change is backward compatible (#504).

Improvements

  • The optional DTO integration in createJob() now targets dereuromark/cakephp-dto v3, whose FromArrayToArrayInterface moved to the PhpCollective\Dto\Dto namespace. The interface check is guarded by interface_exists() and still falls back to any object exposing toArray(), so plain arrays and non-DTO objects are unaffected. The dev requirement moves to ^3.0.0 and a conflict with dereuromark/cakephp-dto <3.0.0 is declared, so the plugin can no longer be paired with the old DTO major (#502).
  • Add sort direction indicators to the admin tables.

Full Changelog: 8.14.0...8.15.0

Don't miss a new cakephp-queue release

NewReleases is sending notifications on new releases.