Skip to content

Releases: lorisleiva/laravel-actions

v2.0.3

09 Jan 13:28
8d61831
Compare
Choose a tag to compare

Support batchable jobs.

Bus::batch([
    FirstAction::makeJob(1),
    SecondAction::makeJob(2),
    ThirdAction::makeJob(3),
])->then(function () {
    // All jobs completed successfully...
})->dispatch();

v2.0.2

09 Jan 12:43
c76e7f1
Compare
Choose a tag to compare

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

09 Jan 11:35
b98fdb8
Compare
Choose a tag to compare

Support more configuration properties and methods from AsJob.

  • $jobTries
  • $jobMaxExceptions
  • $jobBackoff
  • $jobTimeout
  • $jobRetryUntil
  • getJobBackoff
  • getJobRetryUntil

v2.0.0

08 Jan 16:28
f0406bd
Compare
Choose a tag to compare

⚡️ 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.

v1.2.2

08 Jan 11:16
e21611e
Compare
Choose a tag to compare

Use stubs to generate Actions through the make command (#78)

v1.2.1

16 Dec 09:18
ba7213c
Compare
Choose a tag to compare

⬆️ Support PHP 8

v1.2.0

20 Nov 16:43
d2d65f1
Compare
Choose a tag to compare

⚙️ Ensure Models and Collections are serialized correctly within attributes when running an action as a Job. (See #68)

v1.1.8

07 Nov 18:59
Compare
Choose a tag to compare

🚑 Fix getAttributesFromConstructor method when running as a controller (cfcfc3d)

v1.1.7

22 Oct 08:01
6700c83
Compare
Choose a tag to compare

📝 Ignore console output when the return value is null

v1.1.6

17 Oct 14:20
2cba8e9
Compare
Choose a tag to compare

🔭 Add optional HasTelescopeTags trait (#53)