Filament V5 Support#101
Conversation
📝 WalkthroughWalkthroughExpanded composer version constraints to allow newer major releases and adjusted Livewire component registration names in the two-factor authentication service provider (changed Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 PHPStan (2.1.38)Invalid configuration: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Replace :: with . in Livewire component name registrations. In Livewire v4, :: in component names is treated as a namespace separator, causing resolution to look in classNamespaces instead of classComponents. This silently fails to register the components. Using . as separator ensures proper component discovery. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Thanks! @andresilvagomez Can you confirm, the latest release works fine on your end. |
Summary
filament/filamentconstraint from^4.0to^4.0|^5.0require-devpest packages to also accept^4.0(for Livewire v4 compatibility)::with.inLivewire::component()registrationsLivewire v4 Breaking Change
In Livewire v4,
::in component names is treated as a namespace separator, causing resolution to look inclassNamespacesinstead ofclassComponents. This silently prevents components from being discovered. Using.as separator ensures proper component resolution in both Livewire v3 and v4.Test plan
Livewire::exists()