KnpMenu v1.1.0 Release Notes

Release Date: 2012-05-17 // almost 12 years ago
    • ๐Ÿ—„ Marked Knp\Menu\ItemInterface::getCurrentItem as deprecated
    • โž• Added a recursive filter iterator keeping only displayed items
    • โž• Added a filter iterator keeping only current items
    • โž• Added a recursive iterator for the item
    • ๐Ÿ›  Fixed building an array of breadcrumbs when a label has only digits
    • โž• Added a way to mark a label as safe
    • ๐Ÿ”จ Refactored the ListRenderer to be consistent with the TwigRenderer and provide the same extension points
    • โž• Added a way to attach extra data to an item
    • โœ‚ Removed unnecessary optimization in the TwigRenderer
    • โž• Added some whitespace control in the Twig template to ensure an empty rendering is really empty
    • [BC break] Use the childrenAttributes for the root instead of the attributes
    • ๐Ÿ”ง Made the default options configurable for the TwigRenderer
    • โž• Added the support for menu registered as factory in PimpleProvider
    • Added a way to use the options in knp_menu_get() in Twig templates
    • โž• Added an array of options for the MenuProviderInterface
    • โž• Added a template to render an ordered list
    • ๐Ÿ”จ Refactored the template a bit to make it easier to use an ordered list
    • ๐Ÿ‘ Allow omitting the name of the child in fromArray (the key is used instead)