All Versions
29
Latest Version
Avg Release Cycle
94 days
Latest Release
1623 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v2.0.1 Changes
- ๐ Fixed require
^1.0.0
of spatie/url
- ๐ Fixed require
-
v2.0.0 Changes
- โ Added added the static
Menu::build
and non-staticMenu::fill
methods to create menu's from arrays. - โ Added the
setActive
method onActivatable
now also accepts a non-strict boolean or callable parameter to set$active
to true or false. - โ Added
Menu::html
andMenu::htmlIf
now accept a$parentAttributes
array as their second arguments. - ๐ Changed the
HtmlAttributes
andParentAttributes
traits have been renamed toHasHtmlAttributes
andHasParentAttributes
. - ๐ Changed the
HasUrl
interface and trait has been removed. Url-related methods now also are part of theActivatable
interface and trait. - โ Removed the
void
andvoidIf
have been removed. These can be replaced byhtml
andhtmlIf
, with empty strings as their first arguments - โ Removed the
prefixLinks
andprefixUrls
methods have been removed because they were too unpredictable in some case. There currently isn't an alternative for these, besides writing your own logic and applying it withapplyToAll
.
- โ Added added the static
-
v1.4.0 Changes
- โ Added a
HasUrl
trait - ๐ Deprecated
prefixLinks
in favor ofprefixUrls
- โ Added a
-
v1.3.0 Changes
- โ Added
submenuIf
- โ Added
-
v1.2.1 Changes
- ๐จ Internal refactors
-
v1.2.0 Changes
- ๐ New methods on
Menu
:submenu
for submenus with optional headersvoid
andvoidIf
for empty list itemswrap
to wrap the menu in an html tag with optional attributes- A
blueprint
method to copy the menu without it's contents - Html item convenience methods:
addItemClass
,setItemAttribute
- Html parent convenience methods:
addItemParentClass
,setItemParentAttribute
- โ Added
HasHtmlAttributes
andHasParentAttributes
interfaces HtmlAttributes
andParentAttributes
now also have asetAttributes
method
- ๐ New methods on
-
v1.1.1 Changes
- ๐ Fixed
setActive
when setting active from a URL
- ๐ Fixed
-
v1.1.0 Changes
- โ Added conditional
add
functions,addIf
,linkIf
andhtmlIf
- โ Added conditional
-
v1.0.0 Changes
- ๐ First release