Skip to content

1.0.0 Release

Choose a tag to compare

@stof stof released this 03 Jul 08:30
· 485 commits to master since this release
  • 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