Draft
Conversation
Co-authored-by: ziming <679513+ziming@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade package to support filament v4
Upgrade package to support Filament v4
Oct 20, 2025
Owner
|
@copilot what about the readme? |
Author
I updated the README to:
I notice the screenshot URL on line 4 still points to the |
Owner
|
@copilot any deprecated code? |
Co-authored-by: ziming <679513+ziming@users.noreply.github.com>
Author
Found and replaced one deprecated method: The package also has its own internal deprecated methods ( Fixed in commit c87d5c5. |
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.
This PR upgrades the filament-advancedfilter package to support Filament v4, addressing the requirement for PHP 8.2+ and the latest Filament release.
Changes
Dependencies (
composer.json)^8.0to^8.2(required by Filament v4)^3.0.0to^4.0Documentation (
README.md)3.xbranch for Filament 3.x users^4.0Code Updates (
src/Concerns/HasClauses.php)disableLabel()tohiddenLabel()(deprecated in Filament v4)Compatibility
The package code is fully compatible with Filament v4. One deprecated method was identified and updated:
BaseFilterclass and all methods (indicateUsing,hasQueryModificationCallback,getFormSchema, etc.)HasRelationshiptraitdisableLabel()→hiddenLabel()per Filament v4 deprecationsInternal Deprecated Methods
The package maintains its own deprecated methods for backward compatibility:
column()→ useattribute()insteadgetColumn()→ usegetAttribute()insteadThese are internal to the package and kept for users migrating from older versions.
Migration Path
Users upgrading from Filament v3 to v4 can simply update their composer dependencies:
composer require webbingbrasil/filament-advancedfilter "^4.0"Existing filter implementations will continue to work without modification.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.