Skip to content

Releases: parable-php/console

Parable Console 1.0.1

30 Sep 19:13
Compare
Choose a tag to compare

1.0.1

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

Parable Console 1.0.0

12 Mar 08:53
Compare
Choose a tag to compare

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

Parable Console 0.6.1

11 Mar 14:24
Compare
Choose a tag to compare
Parable Console 0.6.1 Pre-release
Pre-release

Changes

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

Parable Console 0.6.0

11 Mar 13:09
58b0652
Compare
Choose a tag to compare
Parable Console 0.6.0 Pre-release
Pre-release

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.

Parable Console 0.5.1

21 Jan 16:03
Compare
Choose a tag to compare
Parable Console 0.5.1 Pre-release
Pre-release

0.5.1

Changes

  • Update parable-php/di dependency to 0.3.0

Parable Console 0.5.0

20 Jan 19:34
Compare
Choose a tag to compare
Parable Console 0.5.0 Pre-release
Pre-release

0.5.0

Changes

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

Parable Console 0.4.1

25 May 10:48
Compare
Choose a tag to compare
Parable Console 0.4.1 Pre-release
Pre-release

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.

Parable Console 0.4.0

25 May 10:20
Compare
Choose a tag to compare
Parable Console 0.4.0 Pre-release
Pre-release

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.

Parable Console 0.3.1

12 May 10:09
Compare
Choose a tag to compare
Parable Console 0.3.1 Pre-release
Pre-release

0.3.1

Bugfixes

  • set_error_handler has been removed.

Parable Console 0.3.0

11 May 13:59
Compare
Choose a tag to compare
Parable Console 0.3.0 Pre-release
Pre-release

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.