What's Changed
- Fix
__PHP_Incomplete_ClassonMenu::location()cache hit (#167) — caches the menu id (int) instead of the full Eloquent graph with polymorphic relations, eliminating the failure class entirely. Also fixes a TOCTOU race betweenCache::has/Cache::get, cached-null divergence across drivers (sentinel0), the non-atomiclocation-keysindex (replaced with surgical per-key invalidation), and a panel-context crash inMenuItem::menu()/MenuLocation::menu()when accessed outside a Filament panel. - Update esbuild to version 0.28.0 (#166)
Upgrade
Run php artisan cache:clear once after upgrading. The cache key prefix is bumped to filament-menu-builder.location.v2.{location}, so existing payloads from v1.0.2 are not read after upgrade.
Full Changelog: v1.0.2...v1.0.3