Skip to content

v2.0.1 breaks support for Livewire 3 applications #4

Closed

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.

Activity

  1. PhiloNL commented on Mar 12, 2026

    @PhiloNL
    Contributor

    @h4or could you maybe check if this can be supported in Livewire 3 as well? Otherwise I'll tag this as a 3.x release and revert the change and 2.x

  2. virtualtear commented on Mar 12, 2026

    @virtualtear
    Contributor

    Hi, yeah I take a look at it to fix the problem!

  3. virtualtear commented on Mar 12, 2026

    @virtualtear
    Contributor

    @PhiloNL @JulianGlueck I opened a PR to fix the issue and ensure support for both Livewire v3 and v4.

  4. JulianGlueck commented on Mar 12, 2026

    @JulianGlueck
    Author

    @h4or Wow, that was quick! Thank you so much for the fix! 🙏

  5. virtualtear commented on Mar 12, 2026

    @virtualtear
    Contributor

    @h4or Wow, that was quick! Thank you so much for the fix! 🙏

    Glad I could help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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