Releases: lorisleiva/laravel-actions
Releases · lorisleiva/laravel-actions
v2.0.3
Support batchable jobs.
Bus::batch([
FirstAction::makeJob(1),
SecondAction::makeJob(2),
ThirdAction::makeJob(3),
])->then(function () {
// All jobs completed successfully...
})->dispatch();
v2.0.2
Support registering actions as commands in the scheduler.
$scheduler->command(MyAction::class)->daily();
Add setters on the JobDecorators
to set more properties using the configureJob
method.
public function configureJob(JobDecorator $job): void
{
$job->setTries(10)
->setMaxExceptions(3)
->setTimeout(60 * 30);
}
v2.0.1
Support more configuration properties and methods from AsJob
.
$jobTries
$jobMaxExceptions
$jobBackoff
$jobTimeout
$jobRetryUntil
getJobBackoff
getJobRetryUntil
v2.0.0
⚡️ Laravel Actions has been re-written from scratch and provides a much simpler, less intrusive API allowing you to run any PHP class as anything you want.
- New to Laravel Actions? Click here to get started.
- Coming from Laravel Actions v1? Check out the upgrade guide.
v1.2.2
v1.2.1
⬆️ Support PHP 8
v1.2.0
v1.1.8
v1.1.7
📝 Ignore console output when the return value is null