Repository navigation
2.0.0 alpha1 release
Pre-release
Pre-release
This alpha release does not represent the final feature set of 2.0.
As the development of 2.0 hanged for a while, many people are already using the current state of the code so this alpha release allows them to lock it if they cannot update for the new changes.
Changelog:
- Added protected methods
buildOptionsandconfigureItemin the MenuFactory as extension point by inheritance - [BC break] Refactored the way to mark items as current
setCurrentUri,getCurrentUriandgetCurrentItemhave been removed from the ItemInterface.
Determining the current items is now delegated to a matcher, and the default implementation
uses voters to apply the matching. Getting the current items can be done thanks to the CurrentItemFilterIterator. - [BC break] The signature of the CurrentItemFilterIterator constructor changed to accept the item matcher
- [BC break] Changed the format of the breadcrumb array
Instead of storing the elements with the label as key and the uri as value
the array now stores an array of array elements with 3 keys:label,urianditem.