Skip to content

v2.0.0

Latest

Choose a tag to compare

@niladam niladam released this 08 Aug 13:46
· 3 commits to main since this release
14c3182

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.0 is now a declared dependency — previously imported but never required
  • disableIf() evaluates its closure per render instead of once at registration, and a closure returning true now disables. It previously disabled the package globally
  • buildResourceLinks() and buildFileLinks() return ['url' => ..., 'label' => ...] arrays instead of HTML strings
  • build() returns a View (?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.after render hook rather than the table's description(), 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