github Biostate/filament-menu-builder v4.0.2

23 hours ago

v4.0.2 - Bug Fixes & Stability Improvements

Bug Fixes

  • Fixed "Undefined array key 'route_parameters'" error when menu item type is 'link' (PR #12)
  • Added comprehensive null safety checks throughout MenuBuilder component to prevent fatal errors
  • Fixed resource resolution issues by implementing dynamic plugin-based system (PR #14)

Improvements

  • Standardized error handling with descriptive exceptions instead of silent failures
  • Added input validation for menuItemId parameter in all action methods
  • Enhanced plugin validation for custom resource classes with proper type checking
  • Fixed PHPStan errors and warnings, improved type safety with PHPDoc annotations

Architecture Changes

  • Refactored resource resolution from hardcoded classes to plugin-based dynamic resolution
  • Improved support for custom resource classes and multi-panel Filament setups
  • Enhanced FilamentMenuBuilderPlugin with resource validation methods

Upgrade

composer update biostate/filament-menu-builder

New Contributors

Full Changelog: v4.0.1...v4.0.2

Don't miss a new filament-menu-builder release

NewReleases is sending notifications on new releases.