CLI Menu v2.0.0 Release Notes

Release Date: 2016-10-27 // over 7 years ago
  • [2.0.0]

    ๐Ÿ›  Fixed

    • โšก๏ธ PHPUnit deprecations - updated to createMock()

    ๐Ÿ”„ Changed

    • Require ext-posix (#50)
    • ๐Ÿ’… Make MenuStyle easier to construct by only allowing changes to be made via setters (#45)

    โž• Added

    • โž• Added getStyle() to CliMenu to get access to the style object from the menu itself (#42)
    • โž• Added redraw method to CliMenu which can redraw the menu immediately with any style changes. See
      examples/crazy-redraw.php for an example (#43)
    • โž• Added tests for child menu style inheritance (#44)
    • โž• Add getter getItems() to get all items from the menu (#46)
    • โž• Add method removeItem(ItemInterface $item) to remove an item from the menu (#46)
    • ๐Ÿ‘€ Ability to toggle item extra while the menu is open - see examples/toggle-item-extra.php (#46)
    • โž• Added dialogues flash and confirm - they both display some text on top of the menu, flash is dismissed with
      any key press where the confirm requires enter to be pressed on the provided button.
      ๐Ÿ‘€ See examples/confirm.php and examples/flash.php (#49)

    โœ‚ Removed

    • โœ‚ Removed windows terminal - many required terminal features are unavailable (#50)
    • Individual component instantiation restrictions (#41)

    ๐Ÿฑ screen shot 2016-10-27 at 22 23 23

    ๐Ÿฑ screen shot 2016-10-27 at 22 24 01