Skip to content

Releases: contributte/menu-control

v3.2.0

28 Nov 19:03
59a579c
Compare
Choose a tag to compare

Bumped! 🤽

Diff: 3.1.0...v3.2.0

Changes:

Maintenance:

v3.1.0

03 Feb 15:24
Compare
Choose a tag to compare
  • Support nette/utils 4.0
  • Fixed compatibility with Nette\Localization\Translator::translate() new definition
  • Allow ReturnTranslator::getRealTitle() return type Stringable

v3.0.1

03 Feb 14:18
Compare
Choose a tag to compare

Updated minimum required package versions to fully support PHP 8.2

  • nette/di: ^3.0.15
  • nette/utils: ^3.2.8
  • nette/application: ^3.1.8
  • nette/http: ^3.1.7

v3.0.0

18 Dec 20:46
Compare
Choose a tag to compare
Use php 8 native property types

v3.0.0-alpha1

09 Oct 20:27
Compare
Choose a tag to compare
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 using Nette\Schema
  • Use Nette Translator interface instead of deprecated ITranslator

Refactoring

  • Split template configuration to new TemplatePaths and MenuVisibility classes
  • Moved $visbility and $data properties from MenuItem to traits
  • Move MenuItem actions to new MenuItemAction class
  • Moved Nette\Http\Request to NetteLinkGenerator, interface ILinkGenerator have new method absoluteLink() [BC break]
  • Renamed ArrayMenuLoader to DefaultMenuLoader [BC break]
  • Interface IMenuComponentFactory was removed, use MenuComponentFactory directly [BC break]
  • Removed MenuItem option to have custom linkGenerator for each menu item [BC break]
  • Changed Menu::setActivePresenter() method to not allow nulls [BC break]
  • Make working with data items more clear, MenuItem methods getData() , hasData(), addData() refactoring [BC break]

v2.2.1

28 Mar 21:16
Compare
Choose a tag to compare
  • Fixed reverse logic in MenuItem::isActive() (#42)
  • Fixed possible bug in nette/application by updating minimal version to 3.0.4
  • Make installabe as contributte/menu-control
  • Updated MenuExtension namespace to Contributte\MenuControl\DI [BC break]

v2.1.2

28 Mar 21:17
Compare
Choose a tag to compare
  • Make installabe as contributte/menu-control
  • Updated MenuExtension namespace to Contributte\MenuControl\DI [BC break]

v2.2.0

16 Nov 17:01
Compare
Choose a tag to compare
  • Nette 3 compatibility

v2.1.1

16 Nov 17:18
Compare
Choose a tag to compare
  • Fixed link generation error when using modules introduced in PR #32

v2.1.0

16 Nov 17:02
Compare
Choose a tag to compare
  • Fixed registration of more menus #23
  • Added shortcuts for working with data #24