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 interface PhpSchool\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

    Checkboxes

    Checkboxes Inline

    Radios

    Radios

    Radios Inline