v3.0.0-alpha1
Pre-release
Pre-release
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]