commit | author | age
|
2207d6
|
1 |
CHANGELOG |
W |
2 |
========= |
|
3 |
|
|
4 |
4.2.0 |
|
5 |
----- |
|
6 |
|
|
7 |
* allowed passing commands as `[$process, 'ENV_VAR' => 'value']` to |
|
8 |
`ProcessHelper::run()` to pass environment variables |
|
9 |
* deprecated passing a command as a string to `ProcessHelper::run()`, |
|
10 |
pass it the command as an array of its arguments instead |
|
11 |
* made the `ProcessHelper` class final |
|
12 |
* added `WrappableOutputFormatterInterface::formatAndWrap()` (implemented in `OutputFormatter`) |
|
13 |
* added `capture_stderr_separately` option to `CommandTester::execute()` |
|
14 |
|
|
15 |
4.1.0 |
|
16 |
----- |
|
17 |
|
|
18 |
* added option to run suggested command if command is not found and only 1 alternative is available |
|
19 |
* added option to modify console output and print multiple modifiable sections |
|
20 |
* added support for iterable messages in output `write` and `writeln` methods |
|
21 |
|
|
22 |
4.0.0 |
|
23 |
----- |
|
24 |
|
|
25 |
* `OutputFormatter` throws an exception when unknown options are used |
|
26 |
* removed `QuestionHelper::setInputStream()/getInputStream()` |
|
27 |
* removed `Application::getTerminalWidth()/getTerminalHeight()` and |
|
28 |
`Application::setTerminalDimensions()/getTerminalDimensions()` |
|
29 |
* removed `ConsoleExceptionEvent` |
|
30 |
* removed `ConsoleEvents::EXCEPTION` |
|
31 |
|
|
32 |
3.4.0 |
|
33 |
----- |
|
34 |
|
|
35 |
* added `SHELL_VERBOSITY` env var to control verbosity |
|
36 |
* added `CommandLoaderInterface`, `FactoryCommandLoader` and PSR-11 |
|
37 |
`ContainerCommandLoader` for commands lazy-loading |
|
38 |
* added a case-insensitive command name matching fallback |
|
39 |
* added static `Command::$defaultName/getDefaultName()`, allowing for |
|
40 |
commands to be registered at compile time in the application command loader. |
|
41 |
Setting the `$defaultName` property avoids the need for filling the `command` |
|
42 |
attribute on the `console.command` tag when using `AddConsoleCommandPass`. |
|
43 |
|
|
44 |
3.3.0 |
|
45 |
----- |
|
46 |
|
|
47 |
* added `ExceptionListener` |
|
48 |
* added `AddConsoleCommandPass` (originally in FrameworkBundle) |
|
49 |
* [BC BREAK] `Input::getOption()` no longer returns the default value for options |
|
50 |
with value optional explicitly passed empty |
|
51 |
* added console.error event to catch exceptions thrown by other listeners |
|
52 |
* deprecated console.exception event in favor of console.error |
|
53 |
* added ability to handle `CommandNotFoundException` through the |
|
54 |
`console.error` event |
|
55 |
* deprecated default validation in `SymfonyQuestionHelper::ask` |
|
56 |
|
|
57 |
3.2.0 |
|
58 |
------ |
|
59 |
|
|
60 |
* added `setInputs()` method to CommandTester for ease testing of commands expecting inputs |
|
61 |
* added `setStream()` and `getStream()` methods to Input (implement StreamableInputInterface) |
|
62 |
* added StreamableInputInterface |
|
63 |
* added LockableTrait |
|
64 |
|
|
65 |
3.1.0 |
|
66 |
----- |
|
67 |
|
|
68 |
* added truncate method to FormatterHelper |
|
69 |
* added setColumnWidth(s) method to Table |
|
70 |
|
|
71 |
2.8.3 |
|
72 |
----- |
|
73 |
|
|
74 |
* remove readline support from the question helper as it caused issues |
|
75 |
|
|
76 |
2.8.0 |
|
77 |
----- |
|
78 |
|
|
79 |
* use readline for user input in the question helper when available to allow |
|
80 |
the use of arrow keys |
|
81 |
|
|
82 |
2.6.0 |
|
83 |
----- |
|
84 |
|
|
85 |
* added a Process helper |
|
86 |
* added a DebugFormatter helper |
|
87 |
|
|
88 |
2.5.0 |
|
89 |
----- |
|
90 |
|
|
91 |
* deprecated the dialog helper (use the question helper instead) |
|
92 |
* deprecated TableHelper in favor of Table |
|
93 |
* deprecated ProgressHelper in favor of ProgressBar |
|
94 |
* added ConsoleLogger |
|
95 |
* added a question helper |
|
96 |
* added a way to set the process name of a command |
|
97 |
* added a way to set a default command instead of `ListCommand` |
|
98 |
|
|
99 |
2.4.0 |
|
100 |
----- |
|
101 |
|
|
102 |
* added a way to force terminal dimensions |
|
103 |
* added a convenient method to detect verbosity level |
|
104 |
* [BC BREAK] made descriptors use output instead of returning a string |
|
105 |
|
|
106 |
2.3.0 |
|
107 |
----- |
|
108 |
|
|
109 |
* added multiselect support to the select dialog helper |
|
110 |
* added Table Helper for tabular data rendering |
|
111 |
* added support for events in `Application` |
|
112 |
* added a way to normalize EOLs in `ApplicationTester::getDisplay()` and `CommandTester::getDisplay()` |
|
113 |
* added a way to set the progress bar progress via the `setCurrent` method |
|
114 |
* added support for multiple InputOption shortcuts, written as `'-a|-b|-c'` |
|
115 |
* added two additional verbosity levels, VERBOSITY_VERY_VERBOSE and VERBOSITY_DEBUG |
|
116 |
|
|
117 |
2.2.0 |
|
118 |
----- |
|
119 |
|
|
120 |
* added support for colorization on Windows via ConEmu |
|
121 |
* add a method to Dialog Helper to ask for a question and hide the response |
|
122 |
* added support for interactive selections in console (DialogHelper::select()) |
|
123 |
* added support for autocompletion as you type in Dialog Helper |
|
124 |
|
|
125 |
2.1.0 |
|
126 |
----- |
|
127 |
|
|
128 |
* added ConsoleOutputInterface |
|
129 |
* added the possibility to disable a command (Command::isEnabled()) |
|
130 |
* added suggestions when a command does not exist |
|
131 |
* added a --raw option to the list command |
|
132 |
* added support for STDERR in the console output class (errors are now sent |
|
133 |
to STDERR) |
|
134 |
* made the defaults (helper set, commands, input definition) in Application |
|
135 |
more easily customizable |
|
136 |
* added support for the shell even if readline is not available |
|
137 |
* added support for process isolation in Symfony shell via |
|
138 |
`--process-isolation` switch |
|
139 |
* added support for `--`, which disables options parsing after that point |
|
140 |
(tokens will be parsed as arguments) |