power-components/livewire-powergrid
Livewire PowerGrid lets you build modern, customizable data tables for Laravel Livewire in minutes. Get sorting, searching, filters, editable fields, action buttons, checkboxes, and export with minimal configuration—ready to use out of the box.
Architecture fit: The fix in v6.10.1 addresses a critical edge case (double invocation of datasource() for Collection-based data sources) without altering the architectural design. The change is backward-compatible and resolves a performance/consistency bug rather than introducing new functionality. No impact on lifecycle hooks, SearchHandler, or Vite/Immutable updates from v6.10.0.
Integration feasibility: Low effort. The fix requires:
new Collection($items)) to confirm the fix resolves their specific edge cases.Technical risk:
datasource() logic).Key questions:
datasource() have caused hidden bugs (e.g., stale data, duplicate processing) in our grids?Stack fit: Fully compatible with Laravel/Livewire. The fix is internal to PowerGrid’s data source handling and doesn’t affect:
Migration path:
composer update power-components/livewire-powergrid --with-dependencies
datasource() with Collections (e.g., ->datasource(fn() => new Collection($items))).datasource() and assert single invocation).Compatibility:
7.3.2/5.1.5).Sequencing:
Maintenance:
datasource() fix as a known resolution for double-call issues.composer update.Support:
Scaling:
Failure modes:
| Risk Area | Failure Scenario | Mitigation Strategy |
|---|---|---|
| Collection data sources | Fix doesn’t resolve custom datasource() logic issues. |
Test edge cases (e.g., chained Collections, lazy loading). |
| Regression | Double-call issue reappears due to other changes. | Add a PHPUnit test to assert datasource() is called once. |
| CI/CD | Test suite misses the fix validation. | Include a smoke test for Collection-based grids in CI. |
Ramp-up:
datasource() methods).How can I help you explore Laravel packages today?