Skip to content

Releases: lorisleiva/laravel-actions

v2.3.0-beta.2

02 Feb 17:35
84d1296
Compare
Choose a tag to compare
v2.3.0-beta.2 Pre-release
Pre-release
Update composer.json

v2.3.0-beta

30 Jan 11:50
4bc5f28
Compare
Choose a tag to compare
v2.3.0-beta Pre-release
Pre-release
Merge pull request #168 from lorisleiva/add-tests-for-windows

Add tests for windows

v2.2.0

11 Nov 17:07
22313b5
Compare
Choose a tag to compare
  • Install and use the Lody package to register routes and commands. This allows Laravel Actions to be free of maintaining that logic and adds additional perks such as resolving Actions that are not in the App namespace. (See #133 and #143).
  • Drop support for PHP 7.4. Necessary to install Lody.
  • Full Changelog: v2.1.5...v2.2.0

v2.1.5

17 Jun 19:18
4df9827
Compare
Choose a tag to compare

Make Laravel Actions ready for Octane by always accessing the container and the request on demand rather than storing them as class properties (requires manual testing to ensure it works properly).

v2.1.4

17 Jun 18:34
Compare
Choose a tag to compare
  • Ensure explicit method routes do not trigger authorisation nor validation. (b4424fc).
  • Ensure jobs marked as ShouldBeUnique can be tested using the assertPushed helper method (#120).
  • Add Actions::registerCommands($paths) method for auto-registration of commands (#112).

v2.1.3

17 Jun 14:25
cc2666c
Compare
Choose a tag to compare

Support controllers with explicit methods (See #123 and #110).

v2.1.2

30 Mar 17:57
277d901
Compare
Choose a tag to compare

Allow UniqueJobDecorator to be prepended in the asJob arguments. (See #95)

v2.1.1

30 Mar 17:37
9e7e4e7
Compare
Choose a tag to compare
  • Add support for queued listeners (See #87)
  • Fix method signature in docblock (See #89)
  • Use getRealPath instead of getPathname to parse the classname (See #92)
  • Ensure the class exists before trying to register its routes (See #90)

v2.1.0

30 Mar 14:46
bd3ded4
Compare
Choose a tag to compare

Add support for optional unified attributes (See #100)

class MyAction
{
    use AsAction;
    use WithAttributes;

    public function handle(array $attributes = [])
    {
        $this->fill($attributes);
        $this->validateAttributes();

        // ...
    }
}

v2.0.7

30 Jan 23:32
Compare
Choose a tag to compare

php artisan make:action is back (#86)