Skip to content

v2.0.1 breaks support for Livewire 3 applications #4

@JulianGlueck

Description

@JulianGlueck

Version 2.0.1 of the package added support for Livewire 4 (see PR). However, this breaks compatibility with Livewire 3.
When updating livewire-strict from 2.0.0 to 2.0.1 in an application using Livewire 3, the following error will occur when a Livewire component gets loaded:

Too few arguments to function WireElements\\LivewireStrict\\Features\\SupportSignedActions\\SupportSignedActions::call(), 3 passed in /var/www/html/vendor/livewire/livewire/src/ComponentHook.php on line 41 and exactly 5 expected at /var/www/html/vendor/wire-elements/livewire-strict/src/Features/SupportSignedActions/SupportSignedActions.php:21)

I think it would be best to revert the changes introduced in the mentioned PR for 2.x and tagged as a breaking change release 3.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions