Skip to content

Latest commit

 

History

History
147 lines (106 loc) · 4.77 KB

CHANGELOG.md

File metadata and controls

147 lines (106 loc) · 4.77 KB

Changelog

0.4.4 (2020-12-13)

  • Improve test suite and add .gitattributes to exclude dev files from exports. Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix. (#56, #57 and #58 by @SimonFrings and #59 by @clue)

0.4.3 (2019-01-19)

  • Feature: Forward compatibility with ChildProcess v0.6. (#54 by @clue)

  • Improve test suite by testing against PHP 7.2 and PHP 7.3. (#51 by @andreybolonin and #52 by @BenMorel)

  • Update project homepage. (#53 by @clue)

0.4.2 (2017-09-02)

  • Feature: Forward compatibility with ChildProcess v0.5 and new ReactPHP components (#50 by @clue)

  • Improve test suite by locking Travis distro so new defaults will not break the build (#49 by @clue)

0.4.1 (2017-07-08)

  • Fix: Explicitly close all STDIO streams when terminating (#45 by @clue)

  • First class support for legacy PHP 5.3 through PHP 7.1 and HHVM (#47 and #44 by @clue)

  • Improve testsuite by adding PHPUnit to require-dev and Fix HHVM build for now again and ignore future HHVM build errors (#44 and #46 by @clue)

  • Improve documentation for mixing asynchronous and synchronous code and fix documentation for $selected argument for radio and checkbox dialogs and restructure examples to ease getting started (#42 and #41 by @bertvandepoel and #48 by @clue)

0.4.0 (2015-04-14)

  • BC break: Separate launch() and launchZen(). BaseZen now exposes a Promise instead of being a Promise. (#34)

  • BC break: Improve close() handling, now resolves and cleanly terminates process (#33)

  • Now uses react/child-process and no longer depends on any extensions (#32)

  • Support React v0.4 (while keeping BC) and first class support for HHVM (#35 and #36)

0.3.0 (2014-09-29)

  • BC break: Rename all classes in Clue\Zenity\React\Model\Name to Clue\Zenity\React\Dialog\NameDialog (#10)

    • For example, renamed Model\Info to Dialog\InfoDialog
    • Base Zenity renamed to Dialog\AbstractDialog
    • Hacky name Model\Listing renamed to Dialog\ListDialog
    • Fix Model\ScaleDialog to now actually work
  • BC break: Move launching logic from Dialog to Launcher (#11)

    • The Dialog now represents the dialog option setup, the Launcher represents a running instance (process) of the given dialog setup. Clear distinction between setup and the actual process.
    • Running a single Dialog setup multiple times or changing settings after launching the first instance is now handled gracefully.
    • Simplified Builder and Dialog constructors to no longer require a Launcher instance.
    • Moved Dialog::run() to Launcher::launch($dialog)
    • Moved Dialog::waitReturn() to Launcher::waitFor($dialog)
    // old
    $dialog = new Model\Info($launcher);
    $dialog->run();
    
    // new
    $dialog = new Dialog\InfoDialog();
    $launcher->launch($dialog);
  • BC break: Add dedicated runtime processors for each dialog type (#28)

    • Clear distinction between which settings are part of the setup and which settings can be invoked at runtime to update an existing dialog process.

    • TextInfoDialog

      • TextInfoDialog::writeLine() renamed to TextInfoDialog::addLine()
      • Add TextInfoZen::addLine()
    • NotificationDialog

      • Moved NotificationDialog::setIcon(), setVisible(), setMessage(), setTooltip() to NotificationZen
      • Builder::notification() no longer accepts an optional $icon parameter
    • ProgressDialog

      • Moved ProgressDialog::advance(), complete(), getPercentage() to NotificationZen
      • Add ProgressZen::setText() and setPercentage()
  • Feature: New AbstractTextDialog base class for question / error / warning / info dialogs (#25)

    • Simplified text dialog constructors to accept an optional text argument. This often makes using the Builder obsolete.
    // old
    $builder = new Builder($launcher);
    $builder->info('Hi')->waitReturn();
    
    // new
    $dialog = new InfoDialog('Hi');
    $launcher->waitFor($dialog);
  • Feature: New ScaleDialog dialog type (#9)

  • Improved documentation and vastly improved automated test suite (#26)

  • Parsing dialog values is now part of the Zen processor (#30)

  • Internal refactoring, simplify passing args, testability, maintainability (#23 and #24)

0.2.0 (2014-07-31)

  • BC break: Rename namespace from Clue\Zenity\React to Clue\React\Zenity (#2)
  • Feature: Compatibility with PHP 5.3 by using $that reference within closures (#1)
  • Use PSR-4 code layout (#3)

0.1.1 (2014-01-24)

  • Fix: Work around an issue in Zenity 3.8 which essentially broke selecting items from lists (tables, menus, radioboxes etc.) via double-click or hitting enter. This workaround is safe for both affected and unaffected versions.

0.1.0 (2013-09-06)

  • First tagged release