Releases: gyselroth/php-task-scheduler
Releases · gyselroth/php-task-scheduler
3.0.0-beta8
[FIX] Fixed event handling in queue node
3.0.0-beta7
- [FIX] Locally queued job gets rescheduled if was previously overwritten by the capped collection size limit
- [FIX] Fixed retry_interval with timeout jobs
3.0.0-beta6
- [CHANGE] Scheduler::cancelJob() does not throw an exception of Type JobNotFoundException if the job is already canceled
- [FEATURE] Added option Scheduler::OPTION_IGNORE_DATA to Scheduler::addJobOnce()
- [CHANGE] Removed UTCDateTime conversion from unix ts for option TaskScheduler\Scheduler::OPTION_AT
3.0.0-beta5
- [FIX] fix proper exit of worker nodes
3.0.0-beta4
- [FIX] fix proper exit of queue nodes
- [FIX] Do not log exception if a locally queued node is already queued during worker shutdown
3.0.0-beta3
- [FIX] Fixed concurrent Scheduler::addJobOnce() requests
- [CHANGE] 0 does now disable retry and interval, -1 sets both to endless
- [CHANGE] Added upgrade guide
3.0.0-beta2
- [FIX] Fixed naming of the collections
- [CHANGE] Using awaitData cursors now instead just tailable which will have a big impact on cpu usage
- [FIX] Cancelling a job which is out of the queue does now work as well
3.0.0-beta1
- [FEATURE] Possibility to timeout jobs
- [CHANGE] Process handling changed (breaking!), new Process class which gets returned and can be called for options
- [FEATURE] Possibility to wait for job execution
- [FEATURE] Possibility to listen for any events
- [FEATURE] Event (and exception) log
- [FEATURE] Abort running jobs
3.0.0-alpha1
- [FIX] Added pcntl requirement to composer.json
- [FEATURE] Implemented forks, meaning a the main process (Queue::class) is the fork handler and will bootstrap new child processes (@see README.md to see how to use v3.0.0)
- [CHANGE] Queue::processOnce() is not available anymore, Queue::process() is the only entrypoint and blocking process
2.0.5
- [CHANGE] Scheduler::cancelJob() not throws Exception\JobNotFound if job was not found
- [FIX] Fixed driver version (mongodb >= 1.5.0) support for ServerException along ConnectionException to create collection if not propperly setup
- [FIX] Use collection_name from options instead static queue in getCursor()
- [CHANGE] Extended phpstan level to 5