symfony/console
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.6...v6.1.7)
- bug #β47907 Update Application.php (aleksandr-shevchenko)
- bug #β47883 Fix error output on windows cli (Maximilian.Beckers)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.5...v6.1.6)
- bug #β47779 Fix
Helper::removeDecoration
hyperlink bug (greew)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.4...v6.1.5)
- bug #β47463 Make fish completion run in non interactive mode (Seldaek)
- bug #β47394 Make bash completion run in non interactive mode (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.3...v6.1.4)
- bug #β47372 Fix OutputFormatterStyleStack::getCurrent return type (alamirault)
- bug #β47218 fix dispatch signal event check for compatibility with the contract interface (xabbuh)
- bug #β45333 Fix ConsoleEvents::SIGNAL subscriber dispatch (GwendolenLynch)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.2...v6.1.3)
- bug #β47022 get full command path for command in search path (remicollet)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.1...v6.1.2)
- bug #β46747 Fix global state pollution between tests run with ApplicationTester (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.0...v6.1.1)
- bug #β46608 Fix deprecation when description is null (HypeMC)
- bug #β46574 Escape % in command name & description from PHP (getDefault* methods) (ogizanagi)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.1.0-RC1...v6.1.0)
- bug #β46387 Complete negatable options (Fish) (GromNaN)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.14...v6.0.15)
- bug #β47907 Update Application.php (aleksandr-shevchenko)
- bug #β47883 Fix error output on windows cli (Maximilian.Beckers)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.13...v6.0.14)
- bug #β47779 Fix
Helper::removeDecoration
hyperlink bug (greew)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.12...v6.0.13)
- bug #β47394 Make bash completion run in non interactive mode (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.11...v6.0.12)
- bug #β47372 Fix OutputFormatterStyleStack::getCurrent return type (alamirault)
- bug #β47218 fix dispatch signal event check for compatibility with the contract interface (xabbuh)
- bug #β45333 Fix ConsoleEvents::SIGNAL subscriber dispatch (GwendolenLynch)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.10...v6.0.11)
- bug #β47022 get full command path for command in search path (remicollet)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.9...v6.0.10)
- bug #β46747 Fix global state pollution between tests run with ApplicationTester (Seldaek)
- bug #β46608 Fix deprecation when description is null (HypeMC)
- bug #β46595 Escape % in command name & description from getDefaultName() (ogizanagi)
- bug #β46574 Escape % in command name & description from PHP (getDefault* methods) (ogizanagi)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.8...v6.0.9)
- bug #β46386 Β Fix missing negative variation of negatable options in shell completion (GromNaN)
- bug #β46114 Fixes "Incorrectly nested style tag found" error when using multi-line header content (Perturbatio)
- bug #β46341 Fix aliases handling in command name completion (Seldaek)
- bug #β46291 Suppress unhandled error in some specific use-cases. (rw4lll)
- bug #β46264 Better required argument check in InputArgument (jnoordsij)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.7...v6.0.8)
- bug #β45565 Fix table header seperator wrapping (alamirault)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.6...v6.0.7)
- bug #β45851 Fix exit status on uncaught exception with negative code (acoulton)
- bug #β44915 Fix compact table style to avoid outputting a leading space (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.4...v6.0.5)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.2...v6.0.3)
- bug #β43149 Silence warnings during tty detection (neclimdul)
- bug #β45181 Fix PHP 8.1 deprecation in ChoiceQuestion (BrokenSourceCode)
- bug #β45109 fix restoring stty mode on CTRL+C (nicolas-grekas)
- bug #β45088 fix parsing escaped chars in StringInput (nicolas-grekas)
- bug #β45053 use STDOUT/ERR in ConsoleOutput to save opening too many file descriptors (nicolas-grekas)
- bug #β44912 Allow OutputFormatter::escape() to be used for escaping URLs used in (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.1...v6.0.2)
- bug #β44730 Β Fix autocompletion of argument with default value (GromNaN)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.0...v6.0.1)
- bug #β44523 Fix polyfill-php73 requirement (Seldaek)
- bug #β44494 Remove FQCN type hints on properties (fabpot)
- bug #β44475 Handle alias in completion script (GromNaN)
- bug #β44467 Fix parameter types for
ProcessHelper::mustRun()
(derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v6.0.0-RC1...v6.0.0)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.14...v5.4.15)
- bug #β47907 Update Application.php (aleksandr-shevchenko)
- bug #β47883 Fix error output on windows cli (Maximilian.Beckers)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.13...v5.4.14)
- bug #β47779 Fix
Helper::removeDecoration
hyperlink bug (greew)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.12...v5.4.13)
- bug #β47394 Make bash completion run in non interactive mode (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.11...v5.4.12)
- bug #β47218 fix dispatch signal event check for compatibility with the contract interface (xabbuh)
- bug #β45333 Fix ConsoleEvents::SIGNAL subscriber dispatch (GwendolenLynch)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.10...v5.4.11)
- bug #β47022 get full command path for command in search path (remicollet)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.9...v5.4.10)
- bug #β46747 Fix global state pollution between tests run with ApplicationTester (Seldaek)
- bug #β46608 Fix deprecation when description is null (HypeMC)
- bug #β46595 Escape % in command name & description from getDefaultName() (ogizanagi)
- bug #β46574 Escape % in command name & description from PHP (getDefault* methods) (ogizanagi)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.8...v5.4.9)
- bug #β46386 Β Fix missing negative variation of negatable options in shell completion (GromNaN)
- bug #β46114 Fixes "Incorrectly nested style tag found" error when using multi-line header content (Perturbatio)
- bug #β46341 Fix aliases handling in command name completion (Seldaek)
- bug #β46291 Suppress unhandled error in some specific use-cases. (rw4lll)
- bug #β46264 Better required argument check in InputArgument (jnoordsij)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.7...v5.4.8)
- bug #β45565 Fix table header seperator wrapping (alamirault)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.6...v5.4.7)
- bug #β45851 Fix exit status on uncaught exception with negative code (acoulton)
- bug #β44915 Fix compact table style to avoid outputting a leading space (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.4...v5.4.5)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.2...v5.4.3)
- bug #β43149 Silence warnings during tty detection (neclimdul)
- bug #β45181 Fix PHP 8.1 deprecation in ChoiceQuestion (BrokenSourceCode)
- bug #β45109 fix restoring stty mode on CTRL+C (nicolas-grekas)
- bug #β45088 fix parsing escaped chars in StringInput (nicolas-grekas)
- bug #β45053 use STDOUT/ERR in ConsoleOutput to save opening too many file descriptors (nicolas-grekas)
- bug #β44912 Allow OutputFormatter::escape() to be used for escaping URLs used in (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.1...v5.4.2)
- bug #β44730 Β Fix autocompletion of argument with default value (GromNaN)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.0...v5.4.1)
- bug #β44523 Fix polyfill-php73 requirement (Seldaek)
- bug #β44475 Handle alias in completion script (GromNaN)
- bug #β44467 Fix parameter types for
ProcessHelper::mustRun()
(derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.4.0-RC1...v5.4.0)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.15...v5.3.16)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.13...v5.3.14)
- bug #β43149 Silence warnings during tty detection (neclimdul)
- bug #β45181 Fix PHP 8.1 deprecation in ChoiceQuestion (BrokenSourceCode)
- bug #β45109 fix restoring stty mode on CTRL+C (nicolas-grekas)
- bug #β45088 fix parsing escaped chars in StringInput (nicolas-grekas)
- bug #β45053 use STDOUT/ERR in ConsoleOutput to save opening too many file descriptors (nicolas-grekas)
- bug #β44912 Allow OutputFormatter::escape() to be used for escaping URLs used in (Seldaek)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.12...v5.3.13)
- bug #β44467 Fix parameter types for
ProcessHelper::mustRun()
(derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.10...v5.3.11)
- bug #β44176 Default ansi option to null (jderusse)
- bug #β43884 Runtime conflict for psr/log >= 3.0 instead of composer conflict (fancyweb)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.9...v5.3.10)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.6...v5.3.7)
- bug #β42685 Fix ProgressBar to correctly clear multi-line formats (rtek)
- bug #β42381 Don't pass null to preg_replace() (derrabus)
- bug #β42260 Fix return types for PHP 8.1 (derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.5...v5.3.6)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.3...v5.3.4)
- bug #β42207 fix table setHeaderTitle without headers (a1812)
- bug #β42091 Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals (PaolaRuby)
- bug #β42174 Indicate compatibility with psr/log 2 and 3 (derrabus)
- bug #β42009 Fix save correct name in setDefaultCommand() for PHP8 (a1812)
- bug #β41966 Revert "bug #β41952 fix handling positional arguments" (chalasr, nicolas-grekas)
- bug #β41952 fix handling positional arguments (nicolas-grekas)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.1...v5.3.2)
- bug #β41686 Fix using #[AsCommand] without DI (nicolas-grekas)
- bug #β41680 fix managing signals when commands are lazy loaded (nicolas-grekas)
- bug #β41535 Fix negated options not accessible (jderusse)
- bug #β41386 Escape synopsis output (jschaedl)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.3.0-RC1...v5.3.0)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.13...v5.2.14)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.11...v5.2.12)
- bug #β42207 fix table setHeaderTitle without headers (a1812)
- bug #β42091 Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals (PaolaRuby)
- bug #β42174 Indicate compatibility with psr/log 2 and 3 (derrabus)
- bug #β41966 Revert "bug #β41952 fix handling positional arguments" (chalasr, nicolas-grekas)
- bug #β41952 fix handling positional arguments (nicolas-grekas)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.10...v5.2.11)
- bug #β41386 Escape synopsis output (jschaedl)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.9...v5.2.10)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.7...v5.2.8)
- bug #β41174 Fix Windows code page support (orkan)
- bug #β41113 Fix Windows code page support (orkan)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.6...v5.2.7)
- bug #β40698 Add Helper::width() and Helper::length() (Nyholm, grasmash)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.5...v5.2.6)
- bug #β40593 Uses the correct assignment action for console options depending if they are short or long (topikito)
- bug #β40524 fix emojis messing up the line width (MarionLeHerisson)
- bug #β40348 Fix line wrapping for decorated text in block output (grasmash)
- bug #β40460 Correctly clear lines for multi-line progress bar messages (grasmash)
- bug #β40450 ProgressBar clears too many lines on update (danepowell)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.4...v5.2.5)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.3...v5.2.4)
- bug #β40192 fix QuestionHelper::getHiddenResponse() not working with space in project directory name (Yendric)
- bug #β40187 Fix PHP 8.1 null error for preg_match flag (kylekatarnls)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.2...v5.2.3)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.1...v5.2.2)
- bug #β39932 Fix Closure code binding when it is a static anonymous function (fancyweb)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.2.0...v5.2.1)
- bug #β39361 acces public-deprecated services via the private container to remove false-positive deprecations (nicolas-grekas)
- bug #β39223 Re-enable hyperlinks in Konsole/Yakuake (OndraM)
Compare Source
- Added
SingleCommandApplication::setAutoExit()
to allow testing via CommandTester
- added support for multiline responses to questions through
Question::setMultiline()
and Question::isMultiline()
- Added
SignalRegistry
class to stack signals handlers
- Added support for signals:
- Added
Application::getSignalRegistry()
and Application::setSignalsToDispatchEvent()
methods
- Added
SignalableCommandInterface
interface
- Added
TableCellStyle
class to customize table cell
- Removed
php
prefix invocation from help messages.
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.10...v5.1.11)
- bug #β39932 Fix Closure code binding when it is a static anonymous function (fancyweb)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.9...v5.1.10)
- bug #β39361 acces public-deprecated services via the private container to remove false-positive deprecations (nicolas-grekas)
- bug #β39223 Re-enable hyperlinks in Konsole/Yakuake (OndraM)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.8...v5.1.9)
- bug #β39160 Use a partial buffer in SymfonyStyle (jderusse)
- bug #β39168 Fix console closing tag (jderusse)
- bug #β38991 Fix ANSI when stdErr is not a tty (jderusse)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.7...v5.1.8)
Compare Source
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.5...v5.1.6)
- bug #β38166 work around disabled putenv() (SenTisso)
- bug #β38116 Silence warnings on sapi_windows_cp_set() call (chalasr)
- bug #β38114 guard $argv + $token against null, preventing unnecessary exceptions (bilogic)
- bug #β38080 Make sure $maxAttempts is an int or null (derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.4...v5.1.5)
- bug #β38024 Fix undefined index for inconsistent command name definition (chalasr)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.3...v5.1.4)
- bug #β37731 Table: support cells with newlines after a cell with colspan >= 2 (GMTA)
- bug #β37774 Make sure we pass a numeric array of arguments to call_user_func_array() (derrabus)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.2...v5.1.3)
- bug #β37469 always use stty when possible to ask hidden questions (nicolas-grekas)
- bug #β37385 Fixes question input encoding on Windows (YaFou)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.1...v5.1.2)
- bug #β37286 Reset question validator attempts only for actual stdin (bis) (nicolas-grekas)
- bug #β37160 Reset question validator attempts only for actual stdin (ostrolucky)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.1.0...v5.1.1)
- bug #β37130 allow cursor to be used even when STDIN is not defined (xabbuh)
Compare Source
Command::setHidden()
is final since Symfony 5.1
- Add
SingleCommandApplication
- Add
Cursor
class
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.10...v5.0.11)
- bug #β37469 always use stty when possible to ask hidden questions (nicolas-grekas)
- bug #β37385 Fixes question input encoding on Windows (YaFou)
- bug #β37286 Reset question validator attempts only for actual stdin (bis) (nicolas-grekas)
- bug #β37160 Reset question validator attempts only for actual stdin (ostrolucky)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.9...v5.0.10)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.8...v5.0.9)
- bug #β37007 Fix QuestionHelper::disableStty() (chalasr)
- bug #β37000 Add meaningful message when using ProcessHelper and Process is not installed (l-vo)
- bug #β36696 don't check tty on stdin, it breaks with "data lost during stream conversion" (nicolas-grekas)
- bug #β36590 Default hidden question to 1 attempt for non-tty session (ostrolucky)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.7...v5.0.8)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.6...v5.0.7)
- bug #β36222 Fix OutputStream for PHP 7.4 (guillbdx)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.5...v5.0.6)
- bug #β36031 Fallback to default answers when unable to read input (ostrolucky)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.4...v5.0.5)
- bug #β35676 Handle zero row count in appendRow() for Table (Adam Prickett)
- bug #β35696 Don't load same-namespace alternatives on exact match (chalasr)
- bug #β33897 Consider STDIN interactive (ostrolucky)
- bug #β34114 SymonfyStyle - Check value isset to avoid PHP notice (leevigraham)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.3...v5.0.4)
Compare Source
Changelog (https://github.com/symfony/console/compare/v5.0.2...v5.0.3)
- bug #β35094 Fix filtering out identical alternatives when there is a command loader (fancyweb)
Compare Source
Compare Source
Compare Source
- removed support for finding hidden commands using an abbreviation, use the full name instead
- removed
TableStyle::setCrossingChar()
method in favor of TableStyle::setDefaultCrossingChar()
- removed
TableStyle::setHorizontalBorderChar()
method in favor of TableStyle::setDefaultCrossingChars()
- removed
TableStyle::getHorizontalBorderChar()
method in favor of TableStyle::getBorderChars()
- removed
TableStyle::setVerticalBorderChar()
method in favor of TableStyle::setVerticalBorderChars()
- removed
TableStyle::getVerticalBorderChar()
method in favor of TableStyle::getBorderChars()
- removed support for returning
null
from Command::execute()
, return 0
instead
ProcessHelper::run()
accepts only array|Symfony\Component\Process\Process
for its command
argument
Application::setDispatcher
accepts only Symfony\Contracts\EventDispatcher\EventDispatcherInterface
for its dispatcher
argument
- renamed
Application::renderException()
and Application::doRenderException()
to renderThrowable()
and doRenderThrowable()
respectively.