This repository was archived by the owner on Jan 16, 2019. It is now read-only.
Releases: stubbles/stubbles-console
Releases · stubbles/stubbles-console
7.1.0 - Copy on write
stubbles\console\Console::write()andstubbles\console\Console::writeError()now also accept instances ofstubbles\streams\InputStreambeside raw strings and will copy the content of the passed input stream to the respective output stream
7.0.1 - Not so strict maybe
- Removed return type hint from
stubbles\console\Executor::outputOf()so it can be mocked more easily
7.0.0 - It's always coming 7
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.0stubbles\console\ConsoleExecutor, deprecated since 6.0.0
Other changes
- added
stubbles\console\input\ArgumentParser::withCliOptionParser()
6.1.0 - Something is missing in my collection
BC breaks
- deprecated
stubbles\console\Executor::executeDirect($command), use$executor->execute($command, collect($array))oriterator_to_array($executor->outputOf($command))instead, will be removed with 7.0.0
Other changes
- added
stubbles\console\collect(), but only available whenstubbles\console\Executoris used
6.0.1 - Reference cleanup
- removed reference to bin/stubcli in composer.json
6.0.0 - Excellent execution
BC breaks
- raised minimum required PHP version to 5.6
- removed bin/stubcli
stubbles\console\Executoris not an interface any more but an implementation- deprecated
stubbles\console\ConsoleExecutor, will be removed with 7.0.0
- deprecated
- changed how
stubbles\console\Executorworks 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
$redirectwith which output redirection can be influenced
- removed
- added
stubbles\console\Executor::outputOf() - moved
stubbles\input\console\ConsoleRequestfrom stubbles/input tostubbles\console\input\ConsoleRequest - moved
stubbles\input\console\BaseConsoleRequestfrom stubbles/input tostubbles\console\input\BaseConsoleRequest
5.1.0 - The working class
- added
stubbles\console\WorkingDirectory
5.0.1 - The order of order
- fixed wrong order of command line arguments
5.0.0 - Names matter
BC breaks
- removed
stubbles\console\ConsoleApp::createArgumentsBindingModule(), usestubbles\console\ConsoleApp::argumentParser()instead, was deprecated since 4.0.0
Other changes
- upgraded stubbles/core to 6.0.0
4.1.0 - Go FIGure
- implemented issue #49: Create console app should respect PSR-4