Releases: niladam/quick-links
Releases · niladam/quick-links
Release list
v2.0.0
What's Changed
- Adds Filament v4 and v5 support, alongside v3
- Render links via table header hook so existing descriptions are kept by @grafst in #18
See UPGRADING.md for what to change when upgrading from v1.
Breaking
- Minimum PHP is now 8.2, up from 8.1
filament/tables^3.0|^4.0|^5.0is now a declared dependency — previously imported but never requireddisableIf()evaluates its closure per render instead of once at registration, and a closure returningtruenow disables. It previously disabled the package globallybuildResourceLinks()andbuildFileLinks()return['url' => ..., 'label' => ...]arrays instead of HTML stringsbuild()returns aView(?Htmlable) instead of?HtmlString
Added
- Filament v4 and v5 support, alongside v3
- Publishable Blade view for the links —
php artisan vendor:publish --tag=quick-links-views - Pest test suite and a CI matrix covering PHP 8.2, 8.3 and 8.4 against Filament v3, v4 and v5
Changed
- Links render through the
tables::header.afterrender hook rather than the table'sdescription(), so an existing description is no longer overwritten - Markup moved out of PHP into the Blade view, which receives structured links rather than pre-rendered anchors
Fixed
disableIf()no longer runs before there is a request to decide against, and no longer applies its result inverted
Known limitation
- The render hook sits inside the table header container, which Filament hides when a table has no heading, description, header actions, search, filters or column manager. Links will not appear on such a table
New Contributors
Full Changelog: v1.1.2...v2.0.0