Skip to content

Latest commit

 

History

History
executable file
·
94 lines (56 loc) · 2.27 KB

CHANGELOG.md

File metadata and controls

executable file
·
94 lines (56 loc) · 2.27 KB

Parable Console

1.0.1

  • Make sure that all nullable property values are set to null explicitly.

1.0.0

Just a re-release locking the interface in place. First final release!

0.6.1

Changes

  • Small bugfix that crept up after splitting named commands and instantiated ones.

0.6.0

Changes

  • Add static analysis using psalm.
  • Output::writelns(string ...$lines) now takes multiple string values instead of an array of those.
  • Exception has been renamed to ConsoleException for clarity.
  • Multiple small code changes to make it more php8.

0.5.1

Changes

  • Update parable-php/di dependency to 0.3.0

0.5.0

Changes

  • Dropped support for php7, php8 only from now on.

0.4.1

Bugfixes

  • When instantiating a command that was added with addCommandByNameAndClass, it was not prepared properly. Now it is.
  • In addition, Application::run() will check whether a command is already prepared and do so if needed.

0.4.0

Changes

  • It is now possible to add commands lazily, by calling Application::addCommandByNameAndClass(string $commandName, string $className). When the command is requested (through getCommand() or getCommands()), it will be instantiated automatically.
  • Command::getUsage() has been replaced with Application::getCommandUsage($command).
  • Tags class added, which is the only class that actually deals with tags.

0.3.1

Bugfixes

  • set_error_handler has been removed.

0.3.0

Changes

  • Renamed Option and Argument to have Parameter suffix for clarity (OptionParameter and ArgumentParameter).
  • Renamed Help command to HelpCommand for clarity.
  • Renamed Command and Parameter namespaces to plural for consistency.
  • Changed Environment::TERMINAL_DEFAULT_HEIGHT to 24.
  • Added InputTest to prevent future breaking changes to that class as well.

0.2.0

Changes

  • App has been renamed to Application for consistency reasons.
  • Running a Command (or the Application) will no longer return any values. All are typed to return void.

0.1.3

Changes

  • Upgrade parable-php/di to 0.2.3.

0.1.2

Changes

  • Merged PR #2, which stops unknown tags from throwing.
  • All files are now enforcing strict types.

0.1.1

Changes

  • Code style clean-up.

0.1.0

Changes

  • First release.