This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Releases: Webador/SlmQueue
Releases · Webador/SlmQueue
3.0-beta
- Raise minimum level to PHP 7.3.
- Removed LogJobStrategy. That build on top of the deprecated laminas-console.
- Introduced
AbstractJob::createEmptyJob
utility method.
JobInterface::execute no longer typed
This minor release will remove the type definition of JobInterface::execute
. Note that the meaning of the return type did not change. So as long as you return void|?int
(note the void, so you really can omit returning at all) you will be fine.
The reasoning behind this is that explicitly having to type return ProcessJobEvent::JOB_STATUS_SUCCESS
was not really helpful.
Note that you can still choose to type your own jobs with the old public function execute(): ?int
.
2.0.1
2.0.0
1.0.4: Merge pull request #220 from imonteiro/expressive
- Improve compatibility to Expressive by registering a
ConfigProvider
. See #220. Thanks @imonteiro
1.0.3: Merge pull request #216 from TomHAnderson/hotfix/zf-composer
Minor update:
- Make sure this module can be installed using Zend's component installer.
1.0.2
- decoupling of zendframework/zend-mvc. When a shared event manager is not present in the service container we will now instantiate an event manager which does not have a shared event manager attached. This is possibly a breaking change when you listen to emitted events via the shared event manager and do not use zend-mvc to have it create a shared event manager service in the service container - @basz
- Introduced
WorkerLifetimeStrategy
strategy. This strategy can be used to make the worker quit after a specified amount of time. See the docs for more information - @MatthiasKuehneEllerhold - Moved repo to the JouwWeb organization - @roelvanduijnhoven
- Zend Framework's queue controller plugin can push job instances directly to queue - @roelvanduijnhoven
- Improved docs on long-connectivity issues and worker management using
systemd
- @MatthiasKuehneEllerhold
1.0.1
1.0.0
0.8.0: Merge pull request #196 from basz/release-prep
- Adds the ability to add job options to the controller plugin