Releases: contributte/menu-control
Releases · contributte/menu-control
v3.2.0
Bumped! 🤽
Diff: 3.1.0...v3.2.0
Changes:
- Refactoring: use php 8 features [e2642ed] (@foxycode)
- Code: add types [f2c2891] (@f3l1x)
- MenuItem: allow data to be structured [b4ba2ec] (@PavelJurasek)
- Composer: require PHP 8.1+ [1d29b40] (@f3l1x)
- Composer: update devtools [2583a8d] (@f3l1x)
Maintenance:
- Update readme [d531f5b] (@MartinKokesCz)
- Composer: modernize [c5f005a] (@f3l1x)
- Tests: refactoring [1fc1bd5] (@f3l1x)
- CI: modernize [d0277a1] (@f3l1x)
- QA: update codesniffer [60c7c54] (@f3l1x)
- QA: update phpstan [ee3f56c] (@f3l1x)
- Makefile: modernize [fec42ac] (@f3l1x)
- Git: update gitignore [ec66d1d] (@f3l1x)
- Tests: refactoring [0dd25c6] (@f3l1x)
- Tests: refactor [c17b7b5] (@f3l1x)
- Composer: open v3.3.x [59a579c] (@f3l1x)
v3.1.0
v3.0.1
v3.0.0
v3.0.0-alpha1
Main changes
- Minimal supported PHP version is now
8.0 - Requires latte/latte
^3.0
Bug fixes
- Fixed
MenuExtension::normalizeMenuItems()method - Fixed breadcrumbs rendering (closes #50)
- Added check in
MenuItemmenu template, if item is allowed
Improvements
- Implemented
MenuExtensionconfig schema validation usingNette\Schema - Use Nette
Translatorinterface instead of deprecatedITranslator
Refactoring
- Split template configuration to new
TemplatePathsandMenuVisibilityclasses - Moved
$visbilityand$dataproperties fromMenuItemto traits - Move
MenuItemactions to newMenuItemActionclass - Moved
Nette\Http\RequesttoNetteLinkGenerator, interfaceILinkGeneratorhave new methodabsoluteLink()[BC break] - Renamed
ArrayMenuLoadertoDefaultMenuLoader[BC break] - Interface
IMenuComponentFactorywas removed, useMenuComponentFactorydirectly [BC break] - Removed
MenuItemoption to have customlinkGeneratorfor each menu item [BC break] - Changed
Menu::setActivePresenter()method to not allow nulls [BC break] - Make working with data items more clear,
MenuItemmethodsgetData(),hasData(),addData()refactoring [BC break]