This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Releases: Webador/SlmQueue
Releases · Webador/SlmQueue
0.7.0
Tag 0.6.0
- Provide ServiceManager 3 compatibility
- Provide EventManager 3 compatibility
- [BC] Refactored event flow. Concrete classes are introduced for each event. Listeners should now return a result class when they want to exit the loop or report there internal state. Only an issue if you have your written custom strategies.
- [BC] The EM deprecated the
getEvents
method. No RuntimeException will be thrown when a queue doesn't listen to the Bootstrap event. Probably no one was relying on this, but a potential BC. - Exiting a worker reports state. The last line now states the reason for exiting.
v0.5.1
v0.5.0
v0.4.2
v0.4.1
v0.4.0
v0.4.0-beta3
- BC: to avoid name clashes, the internal
id
andname
metadata have been renamed__id__
and__name__
, respectively. As a consequence, existing jobs won't be able to be executed correctly. If you need to upgrade to SlmQueue 0.4, you should create a new queue with the new version (and keeping the old one with old SlmQueue) until all the jobs on the old system are finished.
v0.4.0-beta2
- Segregate the
WorkerEvent::PROCESS
event into two different events for more granular control (WorkerEvent::PROCESS_QUEUE
) and (WorkerEvent::PROCESS_JOB
). - Show more precise memory consumption usage.
- Fix a bug when default queue listener was not attached in some circumstances
v0.4.0-beta1
- [BC]: job's jsonSerialize() removed in favour of the queue's serializeJob() method
- [BC]: job's metadata field "name" is now reserved for SlmQueue and should not be used by end users
- Refactoring of dependency injection to use queue instead of queue name in worker
- Add job status codes so listeners can act on the result of a job's outcome
- Add controller plugin to ease push of jobs into queues