diff options
author | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
commit | bf6655a534a6775d30cafa67bd801276bda1d98d (patch) | |
tree | c6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/symfony/console/CHANGELOG.md | |
parent | 94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff) | |
download | AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip |
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/symfony/console/CHANGELOG.md')
-rw-r--r-- | vendor/symfony/console/CHANGELOG.md | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/vendor/symfony/console/CHANGELOG.md b/vendor/symfony/console/CHANGELOG.md new file mode 100644 index 0000000..25d7f71 --- /dev/null +++ b/vendor/symfony/console/CHANGELOG.md | |||
@@ -0,0 +1,274 @@ | |||
1 | CHANGELOG | ||
2 | ========= | ||
3 | |||
4 | 7.1 | ||
5 | --- | ||
6 | |||
7 | * Add `ArgvInput::getRawTokens()` | ||
8 | |||
9 | 7.0 | ||
10 | --- | ||
11 | |||
12 | * Add method `__toString()` to `InputInterface` | ||
13 | * Remove `Command::$defaultName` and `Command::$defaultDescription`, use the `AsCommand` attribute instead | ||
14 | * Require explicit argument when calling `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` | ||
15 | * Remove `StringInput::REGEX_STRING` | ||
16 | |||
17 | 6.4 | ||
18 | --- | ||
19 | |||
20 | * Add `SignalMap` to map signal value to its name | ||
21 | * Multi-line text in vertical tables is aligned properly | ||
22 | * The application can also catch errors with `Application::setCatchErrors(true)` | ||
23 | * Add `RunCommandMessage` and `RunCommandMessageHandler` | ||
24 | * Dispatch `ConsoleTerminateEvent` after an exit on signal handling and add `ConsoleTerminateEvent::getInterruptingSignal()` | ||
25 | |||
26 | 6.3 | ||
27 | --- | ||
28 | |||
29 | * Add support for choosing exit code while handling signal, or to not exit at all | ||
30 | * Add `ProgressBar::setPlaceholderFormatter` to set a placeholder attached to a instance, instead of being global. | ||
31 | * Add `ReStructuredTextDescriptor` | ||
32 | |||
33 | 6.2 | ||
34 | --- | ||
35 | |||
36 | * Improve truecolor terminal detection in some cases | ||
37 | * Add support for 256 color terminals (conversion from Ansi24 to Ansi8 if terminal is capable of it) | ||
38 | * Deprecate calling `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()`, `Question::setAutocompleterCallback/setValidator()`without any arguments | ||
39 | * Change the signature of `OutputFormatterStyleInterface::setForeground/setBackground()` to `setForeground/setBackground(?string)` | ||
40 | * Change the signature of `HelperInterface::setHelperSet()` to `setHelperSet(?HelperSet)` | ||
41 | |||
42 | 6.1 | ||
43 | --- | ||
44 | |||
45 | * Add support to display table vertically when calling setVertical() | ||
46 | * Add method `__toString()` to `InputInterface` | ||
47 | * Added `OutputWrapper` to prevent truncated URL in `SymfonyStyle::createBlock`. | ||
48 | * Deprecate `Command::$defaultName` and `Command::$defaultDescription`, use the `AsCommand` attribute instead | ||
49 | * Add suggested values for arguments and options in input definition, for input completion | ||
50 | * Add `$resumeAt` parameter to `ProgressBar#start()`, so that one can easily 'resume' progress on longer tasks, and still get accurate `getEstimate()` and `getRemaining()` results. | ||
51 | |||
52 | 6.0 | ||
53 | --- | ||
54 | |||
55 | * `Command::setHidden()` has a default value (`true`) for `$hidden` parameter and is final | ||
56 | * Remove `Helper::strlen()`, use `Helper::width()` instead | ||
57 | * Remove `Helper::strlenWithoutDecoration()`, use `Helper::removeDecoration()` instead | ||
58 | * `AddConsoleCommandPass` can not be configured anymore | ||
59 | * Remove `HelperSet::setCommand()` and `getCommand()` without replacement | ||
60 | |||
61 | 5.4 | ||
62 | --- | ||
63 | |||
64 | * Add `TesterTrait::assertCommandIsSuccessful()` to test command | ||
65 | * Deprecate `HelperSet::setCommand()` and `getCommand()` without replacement | ||
66 | |||
67 | 5.3 | ||
68 | --- | ||
69 | |||
70 | * Add `GithubActionReporter` to render annotations in a Github Action | ||
71 | * Add `InputOption::VALUE_NEGATABLE` flag to handle `--foo`/`--no-foo` options | ||
72 | * Add the `Command::$defaultDescription` static property and the `description` attribute | ||
73 | on the `console.command` tag to allow the `list` command to instantiate commands lazily | ||
74 | * Add option `--short` to the `list` command | ||
75 | * Add support for bright colors | ||
76 | * Add `#[AsCommand]` attribute for declaring commands on PHP 8 | ||
77 | * Add `Helper::width()` and `Helper::length()` | ||
78 | * The `--ansi` and `--no-ansi` options now default to `null`. | ||
79 | |||
80 | 5.2.0 | ||
81 | ----- | ||
82 | |||
83 | * Added `SingleCommandApplication::setAutoExit()` to allow testing via `CommandTester` | ||
84 | * added support for multiline responses to questions through `Question::setMultiline()` | ||
85 | and `Question::isMultiline()` | ||
86 | * Added `SignalRegistry` class to stack signals handlers | ||
87 | * Added support for signals: | ||
88 | * Added `Application::getSignalRegistry()` and `Application::setSignalsToDispatchEvent()` methods | ||
89 | * Added `SignalableCommandInterface` interface | ||
90 | * Added `TableCellStyle` class to customize table cell | ||
91 | * Removed `php ` prefix invocation from help messages. | ||
92 | |||
93 | 5.1.0 | ||
94 | ----- | ||
95 | |||
96 | * `Command::setHidden()` is final since Symfony 5.1 | ||
97 | * Add `SingleCommandApplication` | ||
98 | * Add `Cursor` class | ||
99 | |||
100 | 5.0.0 | ||
101 | ----- | ||
102 | |||
103 | * removed support for finding hidden commands using an abbreviation, use the full name instead | ||
104 | * removed `TableStyle::setCrossingChar()` method in favor of `TableStyle::setDefaultCrossingChar()` | ||
105 | * removed `TableStyle::setHorizontalBorderChar()` method in favor of `TableStyle::setDefaultCrossingChars()` | ||
106 | * removed `TableStyle::getHorizontalBorderChar()` method in favor of `TableStyle::getBorderChars()` | ||
107 | * removed `TableStyle::setVerticalBorderChar()` method in favor of `TableStyle::setVerticalBorderChars()` | ||
108 | * removed `TableStyle::getVerticalBorderChar()` method in favor of `TableStyle::getBorderChars()` | ||
109 | * removed support for returning `null` from `Command::execute()`, return `0` instead | ||
110 | * `ProcessHelper::run()` accepts only `array|Symfony\Component\Process\Process` for its `command` argument | ||
111 | * `Application::setDispatcher` accepts only `Symfony\Contracts\EventDispatcher\EventDispatcherInterface` | ||
112 | for its `dispatcher` argument | ||
113 | * renamed `Application::renderException()` and `Application::doRenderException()` | ||
114 | to `renderThrowable()` and `doRenderThrowable()` respectively. | ||
115 | |||
116 | 4.4.0 | ||
117 | ----- | ||
118 | |||
119 | * deprecated finding hidden commands using an abbreviation, use the full name instead | ||
120 | * added `Question::setTrimmable` default to true to allow the answer to be trimmed | ||
121 | * added method `minSecondsBetweenRedraws()` and `maxSecondsBetweenRedraws()` on `ProgressBar` | ||
122 | * `Application` implements `ResetInterface` | ||
123 | * marked all dispatched event classes as `@final` | ||
124 | * added support for displaying table horizontally | ||
125 | * deprecated returning `null` from `Command::execute()`, return `0` instead | ||
126 | * Deprecated the `Application::renderException()` and `Application::doRenderException()` methods, | ||
127 | use `renderThrowable()` and `doRenderThrowable()` instead. | ||
128 | * added support for the `NO_COLOR` env var (https://no-color.org/) | ||
129 | |||
130 | 4.3.0 | ||
131 | ----- | ||
132 | |||
133 | * added support for hyperlinks | ||
134 | * added `ProgressBar::iterate()` method that simplify updating the progress bar when iterating | ||
135 | * added `Question::setAutocompleterCallback()` to provide a callback function | ||
136 | that dynamically generates suggestions as the user types | ||
137 | |||
138 | 4.2.0 | ||
139 | ----- | ||
140 | |||
141 | * allowed passing commands as `[$process, 'ENV_VAR' => 'value']` to | ||
142 | `ProcessHelper::run()` to pass environment variables | ||
143 | * deprecated passing a command as a string to `ProcessHelper::run()`, | ||
144 | pass it the command as an array of its arguments instead | ||
145 | * made the `ProcessHelper` class final | ||
146 | * added `WrappableOutputFormatterInterface::formatAndWrap()` (implemented in `OutputFormatter`) | ||
147 | * added `capture_stderr_separately` option to `CommandTester::execute()` | ||
148 | |||
149 | 4.1.0 | ||
150 | ----- | ||
151 | |||
152 | * added option to run suggested command if command is not found and only 1 alternative is available | ||
153 | * added option to modify console output and print multiple modifiable sections | ||
154 | * added support for iterable messages in output `write` and `writeln` methods | ||
155 | |||
156 | 4.0.0 | ||
157 | ----- | ||
158 | |||
159 | * `OutputFormatter` throws an exception when unknown options are used | ||
160 | * removed `QuestionHelper::setInputStream()/getInputStream()` | ||
161 | * removed `Application::getTerminalWidth()/getTerminalHeight()` and | ||
162 | `Application::setTerminalDimensions()/getTerminalDimensions()` | ||
163 | * removed `ConsoleExceptionEvent` | ||
164 | * removed `ConsoleEvents::EXCEPTION` | ||
165 | |||
166 | 3.4.0 | ||
167 | ----- | ||
168 | |||
169 | * added `SHELL_VERBOSITY` env var to control verbosity | ||
170 | * added `CommandLoaderInterface`, `FactoryCommandLoader` and PSR-11 | ||
171 | `ContainerCommandLoader` for commands lazy-loading | ||
172 | * added a case-insensitive command name matching fallback | ||
173 | * added static `Command::$defaultName/getDefaultName()`, allowing for | ||
174 | commands to be registered at compile time in the application command loader. | ||
175 | Setting the `$defaultName` property avoids the need for filling the `command` | ||
176 | attribute on the `console.command` tag when using `AddConsoleCommandPass`. | ||
177 | |||
178 | 3.3.0 | ||
179 | ----- | ||
180 | |||
181 | * added `ExceptionListener` | ||
182 | * added `AddConsoleCommandPass` (originally in FrameworkBundle) | ||
183 | * [BC BREAK] `Input::getOption()` no longer returns the default value for options | ||
184 | with value optional explicitly passed empty | ||
185 | * added console.error event to catch exceptions thrown by other listeners | ||
186 | * deprecated console.exception event in favor of console.error | ||
187 | * added ability to handle `CommandNotFoundException` through the | ||
188 | `console.error` event | ||
189 | * deprecated default validation in `SymfonyQuestionHelper::ask` | ||
190 | |||
191 | 3.2.0 | ||
192 | ------ | ||
193 | |||
194 | * added `setInputs()` method to CommandTester for ease testing of commands expecting inputs | ||
195 | * added `setStream()` and `getStream()` methods to Input (implement StreamableInputInterface) | ||
196 | * added StreamableInputInterface | ||
197 | * added LockableTrait | ||
198 | |||
199 | 3.1.0 | ||
200 | ----- | ||
201 | |||
202 | * added truncate method to FormatterHelper | ||
203 | * added setColumnWidth(s) method to Table | ||
204 | |||
205 | 2.8.3 | ||
206 | ----- | ||
207 | |||
208 | * remove readline support from the question helper as it caused issues | ||
209 | |||
210 | 2.8.0 | ||
211 | ----- | ||
212 | |||
213 | * use readline for user input in the question helper when available to allow | ||
214 | the use of arrow keys | ||
215 | |||
216 | 2.6.0 | ||
217 | ----- | ||
218 | |||
219 | * added a Process helper | ||
220 | * added a DebugFormatter helper | ||
221 | |||
222 | 2.5.0 | ||
223 | ----- | ||
224 | |||
225 | * deprecated the dialog helper (use the question helper instead) | ||
226 | * deprecated TableHelper in favor of Table | ||
227 | * deprecated ProgressHelper in favor of ProgressBar | ||
228 | * added ConsoleLogger | ||
229 | * added a question helper | ||
230 | * added a way to set the process name of a command | ||
231 | * added a way to set a default command instead of `ListCommand` | ||
232 | |||
233 | 2.4.0 | ||
234 | ----- | ||
235 | |||
236 | * added a way to force terminal dimensions | ||
237 | * added a convenient method to detect verbosity level | ||
238 | * [BC BREAK] made descriptors use output instead of returning a string | ||
239 | |||
240 | 2.3.0 | ||
241 | ----- | ||
242 | |||
243 | * added multiselect support to the select dialog helper | ||
244 | * added Table Helper for tabular data rendering | ||
245 | * added support for events in `Application` | ||
246 | * added a way to normalize EOLs in `ApplicationTester::getDisplay()` and `CommandTester::getDisplay()` | ||
247 | * added a way to set the progress bar progress via the `setCurrent` method | ||
248 | * added support for multiple InputOption shortcuts, written as `'-a|-b|-c'` | ||
249 | * added two additional verbosity levels, VERBOSITY_VERY_VERBOSE and VERBOSITY_DEBUG | ||
250 | |||
251 | 2.2.0 | ||
252 | ----- | ||
253 | |||
254 | * added support for colorization on Windows via ConEmu | ||
255 | * add a method to Dialog Helper to ask for a question and hide the response | ||
256 | * added support for interactive selections in console (DialogHelper::select()) | ||
257 | * added support for autocompletion as you type in Dialog Helper | ||
258 | |||
259 | 2.1.0 | ||
260 | ----- | ||
261 | |||
262 | * added ConsoleOutputInterface | ||
263 | * added the possibility to disable a command (Command::isEnabled()) | ||
264 | * added suggestions when a command does not exist | ||
265 | * added a --raw option to the list command | ||
266 | * added support for STDERR in the console output class (errors are now sent | ||
267 | to STDERR) | ||
268 | * made the defaults (helper set, commands, input definition) in Application | ||
269 | more easily customizable | ||
270 | * added support for the shell even if readline is not available | ||
271 | * added support for process isolation in Symfony shell via | ||
272 | `--process-isolation` switch | ||
273 | * added support for `--`, which disables options parsing after that point | ||
274 | (tokens will be parsed as arguments) | ||