All Versions
22
Latest Version
3.2
Avg Release Cycle
165 days
Latest Release
150 days ago

Changelog History
Page 3

  • v1.1.0 Changes

    May 17, 2012
    • ๐Ÿ—„ 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)
  • v1.0.0 Changes

    December 03, 2011
    • โž• Add composer.json file
    • โž• Added more flexible list element blocks
    • โž• Add support for attributes on the children collection.
    • โž• Added a default renderer
    • โž• Added a ChainProvider for the menus.
    • โž• Added the Silex extension
    • โž• Added a RouterAwareFactory
    • โž• Added an helper to be able to reuse the logic more easily for other templating engines
    • โž• Added a way to retrieve an item using a path in a menu tree
    • ๐Ÿ”„ Changed the toArray method to use a depth instead of simply using a boolean flag
    • โ™ป๏ธ Refactored the export to array and the creation from an array
    • โž• Added better support for encoding problems when escaping a string in the ListRenderer
    • โž• Added a Twig renderer
    • โž• Added missing escaping in the ListRenderer
    • ๐Ÿ“‡ Renamed some methods in the ItemInterface
    • โœ‚ Removed the configuration of the current item as link from the item
    • โ™ป๏ธ Refactored the ListRenderer to use options
    • ๐Ÿ”„ Changed the interface of callRecursively
    • โ™ป๏ธ Refactored the NodeInterface to be consistent
    • ๐Ÿšš Moved the creation of the item to the factory
    • โž• Added a Twig extension to render the menu easily
    • ๐Ÿ”„ Changed the menu provider interface with a pimple-based implementation
    • โž• Added a renderer provider to get a renderer by name and a Pimple-based implementation
    • โœ‚ Removed the renderer from the menu
    • โœ‚ Removed the num in the item by refactoring isLast and isFirst
    • ๐Ÿ”„ Changed the RendererInterface to accept an array of options to be more flexible
    • โž• Added an ItemInterface
    • ๐ŸŽ‰ Initial import of KnpMenuBundle decoupled classes with a new namespace