MenuBundle

Menu bundle for generating and rendering menus in Symfony.

BSD-3-CLAUSE License

Downloads
8.6K
Stars
3
Committers
3

Bot releases are hidden (Show)

MenuBundle - allow support for php above 7.2 Latest Release

Published by Thyrannoizer almost 2 years ago

MenuBundle - 3.1.1

Published by keichinger over 2 years ago

3.1.1

✨ Improvements

  • Add support for a wider range of PSR log implementations.
MenuBundle - 3.1.0

Published by keichinger over 2 years ago

3.1.0

🎁 New Features

  • Add support for PHP 8.

✨ Improvements

  • Add missing property types and return types.
  • Add support for Symfony 6.

🛠️ Internal

  • Fix Symfony deprecations.
  • Replace TravisCI with GitHub Actions.
  • Remove support for Symfony 4.4.
MenuBundle -

Published by apfelbox over 4 years ago

✨ Improvements

  • Added LazyRoute::withParameters() to simplify adding parameters.
MenuBundle -

Published by apfelbox over 4 years ago

💥 Breaking Changes

  • Disable all predefined route voters by default. See UPGRADE for details.

✨ Improvements

  • Added ability for SimpleRouteVoter to also compare route parameters.
  • Also store the route parameters for lazy routes in the _route_params extra.
MenuBundle -

Published by apfelbox over 4 years ago

✨ Improvements

  • Add MenuItem::hasChildren() convenience getter.
MenuBundle -

Published by apfelbox over 4 years ago

🐛 Bug Fixes

  • The CoreVisitor now has no (hidden) hard dependency on symfony/security-core anymore.
  • The TranslationVisitor now has no (hidden) hard dependency on symfony/translation-contracts anymore.
MenuBundle -

Published by apfelbox over 4 years ago

✨ Improvements

  • Made $name in MenuItem::createChild() nullable.
  • Added empty default state for current in MenuItems.
MenuBundle -

Published by apfelbox over 4 years ago

✨ Improvements

  • Optimize the menu template.

🐛 Bug Fixes

  • Fix block name typo in base theme.
MenuBundle -

Published by apfelbox over 4 years ago

✨ Improvements

  • Added MenuItem::removeAllChildren().
MenuBundle -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add convenience getter to get the resolved tree from an item at MenuRenderer::getResolvedItem()

✨ Improvements

  • Add isCurrentAncestor() getter in (resolved) MenuItems.
  • Add isAnyCurrent() getter in (resolved) MenuItems.

🐛 Bug Fixes

  • Fix invalid branch alias.
MenuBundle -

Published by apfelbox over 4 years ago

💥 Breaking Changes

  • Refactored main template to ease overwriting specific parts.

🎁 New Features

  • Add rootClass option, to easily set class on only root.
MenuBundle -

Published by apfelbox almost 5 years ago

✨ Improvements

  • Allow Symfony 5.
MenuBundle -

Published by apfelbox almost 5 years ago

✨ Improvements

  • Reintroduce the sort option, but as boolean flag to toggle the sorting on/off. Default is off.
MenuBundle -

Published by apfelbox almost 5 years ago

🎁 New Features

  • Removed the sort option, the items are now automatically sorted: first desc by priority.
    If the priority is the same, then asc by label.
MenuBundle - 1.0.1

Published by apfelbox about 5 years ago

✨ Improvements

  • Added PhpStorm autocompletion annotation on LazyRoute.

🛠️ Internal

  • Clean up imports in LazyRoute.
MenuBundle - 1.0.0: First Release

Published by apfelbox over 5 years ago