Skip to content
This repository was archived by the owner on Jan 16, 2019. It is now read-only.

Releases: stubbles/stubbles-console

7.1.0 - Copy on write

30 Aug 20:50
9b8d8e0

Choose a tag to compare

  • stubbles\console\Console::write() and stubbles\console\Console::writeError() now also accept instances of stubbles\streams\InputStream beside raw strings and will copy the content of the passed input stream to the respective output stream

7.0.1 - Not so strict maybe

29 Aug 14:21

Choose a tag to compare

  • Removed return type hint from stubbles\console\Executor::outputOf() so it can be mocked more easily

7.0.0 - It's always coming 7

31 Jul 11:17

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 7.0.0
  • introduced scalar type hints and strict type checking
  • removed deprecated classes and methods:
    • stubbles\console\Executor::executeDirect($command), deprecated since 6.1.0
    • stubbles\console\ConsoleExecutor, deprecated since 6.0.0

Other changes

  • added stubbles\console\input\ArgumentParser::withCliOptionParser()

6.1.0 - Something is missing in my collection

22 Jun 17:10

Choose a tag to compare

BC breaks

  • deprecated stubbles\console\Executor::executeDirect($command), use $executor->execute($command, collect($array)) or iterator_to_array($executor->outputOf($command)) instead, will be removed with 7.0.0

Other changes

  • added stubbles\console\collect(), but only available when stubbles\console\Executor is used

6.0.1 - Reference cleanup

17 Jun 13:07

Choose a tag to compare

  • removed reference to bin/stubcli in composer.json

6.0.0 - Excellent execution

17 Jun 13:08

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 5.6
  • removed bin/stubcli
  • stubbles\console\Executor is not an interface any more but an implementation
    • deprecated stubbles\console\ConsoleExecutor, will be removed with 7.0.0
  • changed how stubbles\console\Executor works with output streams:
    • removed stubbles\console\Executor::streamOutputTo()
    • removed stubbles\console\Executor::out()
    • stubbles\console\Executor::execute() now takes a callable as optional second argument which receives each single line
    • all methods now have an optional parameter $redirect with which output redirection can be influenced
  • added stubbles\console\Executor::outputOf()
  • moved stubbles\input\console\ConsoleRequest from stubbles/input to stubbles\console\input\ConsoleRequest
  • moved stubbles\input\console\BaseConsoleRequest from stubbles/input to stubbles\console\input\BaseConsoleRequest

5.1.0 - The working class

01 Jan 11:14

Choose a tag to compare

  • added stubbles\console\WorkingDirectory

5.0.1 - The order of order

01 Jan 11:12

Choose a tag to compare

  • fixed wrong order of command line arguments

5.0.0 - Names matter

01 Jan 11:10

Choose a tag to compare

BC breaks

  • removed stubbles\console\ConsoleApp::createArgumentsBindingModule(), use stubbles\console\ConsoleApp::argumentParser() instead, was deprecated since 4.0.0

Other changes

  • upgraded stubbles/core to 6.0.0

4.1.0 - Go FIGure

01 Jan 11:09

Choose a tag to compare

  • implemented issue #49: Create console app should respect PSR-4