packagist dereuromark/cakephp-queue 8.17.0

latest release: 8.18.0
one month ago

Fixes

  • Admin: a redirect or other response from the host AppController::beforeFilter(), or one set on the event by a listener, is returned instead of being overridden by the access gate. #518 #519
  • Admin standalone mode (Queue.standalone) no longer runs the host AppController::beforeFilter() or other host controller callbacks. #518
  • Admin skips the authorization check also when only the Authorization middleware is present without the component. #520
  • The admin execute form (debug only) queues Queue.Execute instead of an unresolvable Execute task. #518
  • In single-connection mode the admin, the job command and the worker use the connection configured in Queue.connection instead of assuming default, and an explicit --connection default is applied. #521
  • Workers fall back to a lifetime of 120 seconds when neither Queue.workerLifetime nor Queue.workermaxruntime is set, instead of throwing a RuntimeException. #521
  • QueuedJobsTable::getFailedStatus() no longer fails on a job without job_task. #521

Improvements

  • Added --connection to queue add, queue info and queue worker, matching queue run and queue job. #521
  • Added Queue\Queue\Config::resolveConnection() as the single place that resolves and validates a queue connection. #521
  • Refreshed the translation template resources/locales/queue.pot. #522

Upgrade notes

  • With two or more entries in Queue.connections, the queue tables now default to the first entry, also outside the commands. Queue.connection only applies in single-connection mode. Review both keys if you relied on different defaults. #521
  • If you use Queue.standalone and relied on your AppController::beforeFilter() running for the queue admin, move that logic into Queue.adminAccess or middleware. #518

Full Changelog: 8.16.0...8.17.0

Don't miss a new cakephp-queue release

NewReleases is sending notifications on new releases.