Upgrade to Filament 5 and Pest 4 with test database config#23
Open
frikishaan wants to merge 5 commits into
Open
Upgrade to Filament 5 and Pest 4 with test database config#23frikishaan wants to merge 5 commits into
frikishaan wants to merge 5 commits into
Conversation
- Upgrade filament/filament from ~4.0 to ~5.0 (now at v5.6.3) - Upgrade livewire/livewire from v3 to v4 (required by Filament v5) - Upgrade pestphp/pest from ^3.0 to ^4.0 - Upgrade pestphp/pest-plugin-laravel from ^3.2 to ^4.0 - Upgrade pestphp/pest-plugin-livewire from ^3.0 to ^4.0 - Upgrade phpunit/phpunit from ^11.3 to ^12.0 - Enable SQLite in-memory database in phpunit.xml for test isolation - Publish updated Filament v5 frontend assets All 68 tests pass. https://claude.ai/code/session_01NHazKfrcS1r1iHvphyJbDf
…nit v11 PHPUnit 12 crashes on PHP 8.2 because gc_status() only returns the timing keys (application_time, collector_time, etc.) on PHP 8.3+. - Downgrade pestphp/pest from ^4.0 to ^3.0 (now at v3.8.6) - Downgrade pestphp/pest-plugin-laravel from ^4.0 to ^3.2 - Downgrade phpunit/phpunit from ^12.0 to ^11.3 (now at v11.5.50) - Remove pestphp/pest-plugin-livewire (no v3 compatible with livewire v4) - Add tests/livewire.php: custom Pest\Livewire\livewire() shim that wraps Livewire::test() from livewire v4 directly, preserving the function signature all test files already import - Update phpunit.xml schema reference to 11.3 - Register tests/livewire.php in autoload-dev.files All 68 tests pass on PHP 8.2. https://claude.ai/code/session_01NHazKfrcS1r1iHvphyJbDf
… v3/phpunit v11" This reverts commit 37ab025.
- Require php ^8.3 in composer.json - Update CI matrix from ["8.2", "8.3"] to ["8.3", "8.4", "8.5"] - Update composer.lock platform metadata https://claude.ai/code/session_01NHazKfrcS1r1iHvphyJbDf
- laravel/framework: ^12.0 → ^13.0 (now at v13.9.0) - laravel/tinker: ^2.8 → ^3.0 (required for Laravel 13 support) - flowframe/laravel-trend: ^0.4.0 → ^0.5.0 (adds Laravel 13 support) - barryvdh/laravel-debugbar: ^3.13 → ^4.0 (adds Laravel 13 support) All 68 tests pass. https://claude.ai/code/session_01NHazKfrcS1r1iHvphyJbDf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR upgrades the project to Filament 5.0 and Pest 4.0, along with related testing dependencies. It also enables SQLite in-memory database for testing and updates compiled JavaScript assets.
Key Changes
Dependency Updates:
filament/filamentfrom ~4.0 to ~5.0pestphp/pestfrom ^3.0 to ^4.0pestphp/pest-plugin-laravelfrom ^3.2.0 to ^4.0pestphp/pest-plugin-livewirefrom ^3.0 to ^4.0phpunit/phpunitfrom ^11.3 to ^12.0Test Configuration:
DB_CONNECTIONandDB_DATABASEenvironment variables inphpunit.xmlAsset Updates:
Notable Details
https://claude.ai/code/session_01NHazKfrcS1r1iHvphyJbDf