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
MenuItem
menu template, if item is allowed
Improvements
- Implemented
MenuExtension
config schema validation usingNette\Schema
- Use Nette
Translator
interface instead of deprecatedITranslator
Refactoring
- Split template configuration to new
TemplatePaths
andMenuVisibility
classes - Moved
$visbility
and$data
properties fromMenuItem
to traits - Move
MenuItem
actions to newMenuItemAction
class - Moved
Nette\Http\Request
toNetteLinkGenerator
, interfaceILinkGenerator
have new methodabsoluteLink()
[BC break] - Renamed
ArrayMenuLoader
toDefaultMenuLoader
[BC break] - Interface
IMenuComponentFactory
was removed, useMenuComponentFactory
directly [BC break] - Removed
MenuItem
option to have customlinkGenerator
for each menu item [BC break] - Changed
Menu::setActivePresenter()
method to not allow nulls [BC break] - Make working with data items more clear,
MenuItem
methodsgetData()
,hasData()
,addData()
refactoring [BC break]