CLI Menu v4.1.0 Release Notes

Release Date: 2020-10-24 // about 1 year ago
  • [4.1.0]

    โž• Added

    • Ability to modify password length for password input (#235)
    • ๐Ÿ‘Œ Improve the formatting of disabled menu items in different terminals (#236)
    • ๐Ÿ‘Œ Support for PHP8 (#240)

Previous changes from v4.0.0

  • [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