All Versions
29
Latest Version
Avg Release Cycle
94 days
Latest Release
206 days ago

Changelog History
Page 3

  • v2.0.1 Changes

    • ๐Ÿ›  Fixed require ^1.0.0 of spatie/url
  • v2.0.0 Changes

    • โž• Added added the static Menu::build and non-static Menu::fill methods to create menu's from arrays.
    • โž• Added the setActive method on Activatable now also accepts a non-strict boolean or callable parameter to set $active to true or false.
    • โž• Added Menu::html and Menu::htmlIf now accept a $parentAttributes array as their second arguments.
    • ๐Ÿ”„ Changed the HtmlAttributes and ParentAttributes traits have been renamed to HasHtmlAttributes and HasParentAttributes.
    • ๐Ÿ”„ Changed the HasUrl interface and trait has been removed. Url-related methods now also are part of the Activatable interface and trait.
    • โœ‚ Removed the void and voidIf have been removed. These can be replaced by html and htmlIf, with empty strings as their first arguments
    • โœ‚ Removed the prefixLinks and prefixUrls 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 with applyToAll.
  • v1.4.0 Changes

    • โž• Added a HasUrl trait
    • ๐Ÿ—„ Deprecated prefixLinks in favor of prefixUrls
  • v1.3.0 Changes

    • โž• Added submenuIf
  • v1.2.1 Changes

    • โ™ป๏ธ Internal refactors
  • v1.2.0 Changes

    • ๐Ÿ†• New methods on Menu:
      • submenu for submenus with optional headers
      • void and voidIf for empty list items
      • wrap 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 and HasParentAttributes interfaces
    • HtmlAttributes and ParentAttributes now also have a setAttributes method
  • v1.1.1 Changes

    • ๐Ÿ›  Fixed setActive when setting active from a URL
  • v1.1.0 Changes

    • โž• Added conditional add functions, addIf, linkIf and htmlIf
  • v1.0.0 Changes

    • ๐Ÿš€ First release