Repository navigation
8.17.0
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 hostAppController::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.Executeinstead of an unresolvableExecutetask. #518 - In single-connection mode the admin, the
jobcommand and the worker use the connection configured inQueue.connectioninstead of assumingdefault, and an explicit--connection defaultis applied. #521 - Workers fall back to a lifetime of 120 seconds when neither
Queue.workerLifetimenorQueue.workermaxruntimeis set, instead of throwing aRuntimeException. #521 QueuedJobsTable::getFailedStatus()no longer fails on a job withoutjob_task. #521
Improvements
- Added
--connectiontoqueue add,queue infoandqueue worker, matchingqueue runandqueue 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.connectiononly applies in single-connection mode. Review both keys if you relied on different defaults. #521 - If you use
Queue.standaloneand relied on yourAppController::beforeFilter()running for the queue admin, move that logic intoQueue.adminAccessor middleware. #518
Full Changelog: 8.16.0...8.17.0