CLI Menu v4.0.0 Release Notes
Release Date: 2020-02-18 // about 4 years ago-
[4.0.0]
โ Added
- โ Add PHP 7.4 support (#183)
- CheckboxItem & RadioItem (#186, #189, #193, #194, #226)
- Ability to force display extra (#187)
- ๐ Individual style objects for each item type (#211, #212, #213, #214, #216, #230)
- ๐
Method
getStyle()
to interfacePhpSchool\CliMenu\MenuItem\MenuItemInterface
๐ Fixed
- ๐ Fixed item extra rendering outside of menu (#66, #184, #187)
- ๐ Fix unresponsive menu upon closing and reopening (#198)
- ๐ Menu styles incorrectly propagating to submenus (#201, #210)
- Various issues with the menu width, when the terminal was too small (#223, #220, #219)
โ Removed
- โ Remove rebinding $this in builder closures so we can access the real $this (#191, #192, #196)
- ๐
Marker methods from
PhpSchool\CliMenu\MenuStyle
:
#getSelectedMarker()
#setSelectedMarker()
#getUnselectedMarker()
#setUnselectedMarker()
#getMarker()
PhpSchool\CliMenu\MenuItem\SelectableTrait
- ๐ Marker methods from
PhpSchool\CliMenu\Builder\CliMenuBuilder
:
#setUnselectedMarker()
#setSelectedMarker()
Checkboxes
Radios