All Notable changes to laravel-menu
will be documented in this file
- Laravel 11.x Compatibility by @laravel-shift in #144
- @laravel-shift made their first contribution in #144
Full Changelog: https://github.com/spatie/laravel-menu/compare/4.1.2...4.2.0
- support Laravel 10
- @AyoobMH made their first contribution in #130
Full Changelog: https://github.com/spatie/laravel-menu/compare/4.1.0...4.1.1
- add support for Laravel 9
- allow spatie/menu v3
- Added: PHP 8 only support
- Changed: All syntax changed to PHP 8+
- Removed: PHP 7.x support
- Support
javascript:
links
- Add support for PHP 8
- Added: Laravel 8 compatibility
- Added: Laravel 7 compatibility
- Added: Laravel 6 compatibility
- Added: Laravel 5.8 compatibility
- Removed: PHP 7.0 support
- Fixed:
actionIf
&actionIfCan
signatures for Laravel 5.7 callable action syntax
- Added: Support for Laravel 5.7 callable action syntax
- Added: Laravel 5.7 compatibility
- Added: Laravel 5.6 compatibility
- Added: Laravel 5.5 compatibility
- Removed: Dropped support for older Laravel versions
- Changed: Moved facade to
Spatie\Menu\Laravel\Facades\Menu
- Fixed: Code signature fixes
- Changed: Bumped the menu package version requirement
- Fixed: Regression caused by an old
use
statement
- Removed: Unused fifth
$route
parameter inroute
- Removed: Dropped support for Laravel 5.1
- Added: Support for Laravel 5.4
- Added: Default
$data
argument toMenu::viewIf
andMenu::viewIfCan
- Fixed: other url helpers so they can take the same type of parameters as the Laravel's counterparts
- Fixed:
Link
's action helper so it can take the same type of parameters as the Laravel'saction
helper
- Changed: Upgraded
spatie/menu
to 2.0. - Added: Added a
View
item implementation to use blade views as menu items. - Changed: Link builder methods have been renamed and now have a
to
prefix:Link::toAction
,Link::toRoute
andLink::toUrl
.
- Added: The
Menu
class now implements theIlluminate\Contracts\Support\Htmlable
interface - Fixed: Some dependency issues, this package now requires illuminate
5.1.14
or higher components
- Added: Conditional
add
functionsurlIf
,actionIf
androuteIf
- Added: Authorized
add
functionaddIfCan
,linkIfCan
,htmlIfCan
,urlIfCan
,actionIfCan
androuteIfCan
- Initial release