58ed1ab20b4b969b34dbf34869e4e195be594295
[yaffs-website] / vendor / consolidation / robo / CHANGELOG.md
1 # Changelog
2
3 ### 1.2.3 4/5/2018
4
5 * Hide progress indicator prior to 'exec'. (#707)
6 * Dependencies.io config for version 2 preview by Dave Gaeddert (#699)
7 * Fix path to test script in try:para
8 * Correctly parameterize the app name in the self:update command help text.
9 * Refuse to start 'release' script if phar.readonly is set.
10
11 ### 1.2.2 2/27/2018
12
13 * Experimental robo plugin mechanism (backwards compatibility not yet guarenteed)
14 * Allow traits to be documented
15 * Do not export scenarios directory
16 * *Breaking* Typo in `\Robo\Runner:errorCondtion()` fixed as `\Robo\Runner:errorCondition()`.
17
18 ### 1.2.1 12/28/2017
19
20 * Fixes to tests / build only.
21
22 ### 1.2.0 12/12/2017
23
24 * Support Symfony 4 Components (#651)
25 * Test multiple composer dependency permutations with https://github.com/greg-1-anderson/composer-test-scenarios
26
27 ### 1.1.5 10/25/2017
28
29 * Load option default values from $input for all options defined in the Application's input definition (#642)
30 * BUGFIX: Store global options in 'options' namespace rather than at the top level of config.
31
32 ### 1.1.4 10/16/2017
33
34 * Update order of command event hooks so that the option settings are injected prior to configuration being injected, so that dynamic options are available for config injection. (#636)
35 * Add shallow clone method to GithubStack task. by Stefan Lange (#633)
36 * Make Changelog task more flexible. by Matthew Grasmick(#631)
37 * Adding accessToken() to GitHub task. by Matthew Grasmick (#630)
38
39 ### 1.1.3 09/23/2017
40
41 * Add self:update command to update Robo phar distributions to the latest available version on GitHub. by Alexander Menk
42 * Fix Robo\Task\Docker\Base to implement CommandInterface. by Alexei Gorobet (#625)
43 * Add overwrite argument to Robo\Task\Filesystem\loadShortcuts.php::_rename by Alexei Gorobets (#624)
44 * Add failGroup() method for Codeception run command. by Max Gorovenko (#622)
45 * Set up composer-lock-updater on cron. (#618)
46 * Fix robo.yml loader by exporting processor instead of loader. By thomscode (#612)
47
48 ### 1.1.2 07/28/2017
49
50 * Inject option default values in help (#607)
51 * Add noRebuild() method for Codeception run command. By Max Gorovenko (#603)
52
53 ### 1.1.1 07/07/2017
54
55 * Add an option to wait an interval of time between parallel processes. By Gemma Pou #601
56 * Do not print dire messages about Robo bootstrap problems when a valid command (e.g. help, list, init, --version) runs. #502
57
58 ### 1.1.0 06/29/2017
59
60 * Configuration for multiple commands or multiple tasks may now be shared by attaching the configuration values to the task namespace or the command group. #597
61 * *Breaking* Task configuration taken from property `task.PARTIAL_NAMESPACE.CLASSNAME.settings` instead of `task.CLASSNAME.settings`. Breaks backwards compatibility only with experimental configuration features introduced in version 1.0.6. Config is now stable, as of this release; there will be no more breaking config changes until Robo 2.0. #596
62
63 ### 1.0.8 06/02/2017
64
65 * Fix regression in 1.0.7: Allow tasks to return results of types other than \Robo\Result. #585
66 * Allow Copydir exclude method to specify subfolders by Alex Skrypnyk #590
67 * Add composer init task, and general rounding out of composer tasks. #586
68 * Enhance SemVer task so that it can be used with files or strings. #589
69
70 #### 1.0.7 05/30/2017
71
72 * Add a state system for collections to allow tasks to pass state to later tasks.
73 * Ensure that task results are returned when in stopOnFail() mode.
74 * Make rawArg() and detectInteractive chainable. By Matthew Grasmick #553 #558
75 * [CopyDir] Use Symfony Filesystem. By malikkotob #555
76 * [Composer] Implement CommandInterface. By Ivan Borzenkov #561
77
78 #### 1.0.6 03/31/2017
79
80 * Add configuration features to inject values into commandline option and task setter methods. Experimental; incompatible changes may be introduced prior to the stable release of configuration in version 1.1.0.
81
82 #### 1.0.5 11/23/2016
83
84 * Incorporate word-wrapping from output-formatters 3.1.5
85 * Incorporate custom event handlers from annotated-command 2.2.0
86
87 #### 1.0.4 11/15/2016
88
89 * Updated to latest changes in `master` branch. Phar and tag issues.
90
91 #### 1.0.0 10/10/2016
92
93 * [Collection] Add tasks to a collection, and implement them as a group with rollback
94    * Tasks may be added to a collection via `$collection->add($task);`
95    * `$collection->run();` runs all tasks in the collection
96    * `$collection->addCode(function () { ... } );` to add arbitrary code to a collection
97    * `$collection->progressMessage(...);` will log a message
98    * `$collection->rollback($task);` and `$collection->rollbackCode($callable);` add a rollback function to clean up after a failed task
99    * `$collection->completion($task);` and `$collection->completionCode($callable);` add a function that is called once the collection completes or rolls back.
100    * `$collection->before();` and `$collection->after();` can be used to add a task or function that runs before or after (respectively) the specified named task. To use this feature, tasks must be given names via an optional `$taskName` parameter when they are added.
101    * Collections may be added to collections, if desired. 
102 * [CollectionBuilder] Create tasks and add them to a collection in a single operation.
103    * `$this->collectionBuilder()->taskExec('pwd')->taskExec('ls')->run()`
104 * Add output formatters
105    * If a Robo command returns a string, or a `Result` object with a `$message`, then it will be printed
106    * Commands may be annotated to describe output formats that may be used
107    * Structured arrays returned from function results may be converted into different formats, such as a table, yml, json, etc.
108    * Tasks must `use TaskIO` for output methods. It is no longer possible to `use IO` from a task. For direct access use `Robo::output()` (not recommended).   
109 * Use league/container to do Dependency Injection
110    * *Breaking* Tasks' loadTasks traits must use `$this->task(TaskClass::class);` instead of `new TaskClass();`
111    * *Breaking* Tasks that use other tasks must use `$this->collectionBuilder()->taskName();` instead of `new TaskClass();` when creating task objects to call. Implement `Robo\Contract\BuilderAwareInterface` and use `Robo\Contract\BuilderAwareTrait` to add the `collectionBuilder()` method to your task class.
112 * *Breaking* The `arg()`, `args()` and `option()` methods in CommandArguments now escape the values passed in to them. There is now a `rawArg()` method if you need to add just one argument that has already been escaped.
113 * *Breaking* taskWrite is now called taskWriteToFile
114 * [Extract] task added
115 * [Pack] task added
116 * [TmpDir], [WorkDir] and [TmpFile] tasks added
117 * Support Robo scripts that allows scripts starting with `#!/usr/bin/env robo` to define multiple robo commands.  Use `#!/usr/bin/env robo run` to define a single robo command implemented by the `run()` method.
118 * Provide ProgresIndicatorAwareInterface and ProgressIndicatorAwareTrait that make it easy to add progress indicators to tasks
119 * Add --simulate mode that causes tasks to print what they would have done, but make no changes
120 * Add `robo generate:task` code-generator to make new stack-based task wrappers around existing classes
121 * Add `robo sniff` by @dustinleblanc. Runs the PHP code sniffer followed by the code beautifier, if needed.
122 * Implement ArrayInterface for Result class, so result data may be accessed like an array 
123 * Defer execution of operations in taskWriteToFile until the run() method
124 * Add Write::textIfMatch() for taskWriteToFile
125 * ResourceExistenceChecker used for error checking in DeleteDir, CopyDir, CleanDir and Concat tasks by @burzum
126 * Provide ResultData base class for Result; ResultData may be used in instances where a specific `$task` instance is not available (e.g. in a Robo command)
127 * ArgvInput now available via $this->getInput() in RoboFile by Thomas Spigel
128 * Add optional message to git tag task by Tim Tegeler
129 * Rename 'FileSystem' to 'Filesystem' wherever it occurs.
130 * Current directory is changed with `chdir` only if specified via the `--load-from` option (RC2)
131
132 #### 0.6.0 10/30/2015
133
134 * Added `--load-from` option to make Robo start RoboFiles from other directories. Use it like `robo --load-from /path/to/where/RobFile/located`.
135 * Robo will not ask to create RoboFile if it does not exist, `init` command should be used.
136 * [ImageMinify] task added by @gabor-udvari
137 * [OpenBrowser] task added by @oscarotero
138 * [FlattenDir] task added by @gabor-udvari
139 * Robo Runner can easily extended for custom runner by passing RoboClass and RoboFile parameters to constructor. By @rdeutz See #232
140
141 #### 0.5.4 08/31/2015
142
143 * [WriteToFile] Fixed by @gabor-udvari: always writing to file regardless whether any changes were made or not. This can bring the taskrunner into an inifinite loop if a replaced file is being watched.
144 * [Scss] task added, requires `leafo/scssphp` library to compile by @gabor-udvari
145 * [PhpSpec] TAP formatter added by @orls
146 * [Less] Added ability to set import dir for less compilers by @MAXakaWIZARD
147 * [Less] fixed passing closure as compiler by @pr0nbaer
148 * [Sass] task added by *2015-08-31*
149
150 #### 0.5.3 07/15/2015
151
152  * [Rsync] Ability to use remote shell with identity file by @Mihailoff
153  * [Less] Task added by @burzum
154  * [PHPUnit] allow to test specific files with `files` parameter by @burzum.
155  * [GitStack] `tag` added by @SebSept
156  * [Concat] Fixing concat, it breaks some files if there is no new line. @burzum *2015-03-03-13*
157  * [Minify] BC fix to support Jsqueeze 1.x and 2.x @burzum *2015-03-12*
158  * [PHPUnit] Replace log-xml with log-junit @vkunz *2015-03-06*
159  * [Minify] Making it possible to pass options to the JS minification @burzum *2015-03-05*
160  * [CopyDir] Create destination recursively @boedah *2015-02-28*
161
162 #### 0.5.2 02/24/2015
163
164 * [Phar] do not compress phar if more than 1000 files included (causes internal PHP error) *2015-02-24*
165 * _copyDir and _mirrorDir shortcuts fixed by @boedah *2015-02-24*
166 * [File\Write] methods replace() and regexReplace() added by @asterixcapri *2015-02-24*
167 * [Codecept] Allow to set custom name of coverage file raw name by @raistlin *2015-02-24*
168 * [Ssh] Added property `remoteDir` by @boedah *2015-02-24*
169 * [PhpServer] fixed passing arguments to server *2015-02-24*
170
171
172 #### 0.5.1 01/27/2015
173
174 * [Exec] fixed execution of background jobs, processes persist till the end of PHP script *2015-01-27*
175 * [Ssh] Fixed SSH task by @Butochnikov *2015-01-27*
176 * [CopyDir] fixed shortcut usage by @boedah *2015-01-27*
177 * Added default value options for Configuration trait by @TamasBarta *2015-01-27*
178
179 #### 0.5.0 01/22/2015
180
181 Refactored core
182
183 * All traits moved to `Robo\Common` namespace
184 * Interfaces moved to `Robo\Contract` namespace
185 * All task extend `Robo\Task\BaseTask` to use common IO.
186 * All classes follow PSR-4 standard
187 * Tasks are loaded into RoboFile with `loadTasks` trait
188 * One-line tasks are available as shortcuts loaded by `loadShortucts` and used like `$this->_exec('ls')`
189 * Robo runner is less coupled. Output can be set by `\Robo\Config::setOutput`, `RoboFile` can be changed to any provided class.
190 * Tasks can be used outside of Robo runner (inside a project)
191 * Timer for long-running tasks added
192 * Tasks can be globally configured (WIP) via `Robo\Config` class.
193 * Updated to Symfony >= 2.5
194 * IO methods added `askHidden`, `askDefault`, `confirm`
195 * TaskIO methods added `printTaskError`, `printTaskSuccess` with different formatting.
196 * [Docker] Tasks added
197 * [Gulp] Task added by @schorsch3000
198
199 #### 0.4.7 12/26/2014
200
201 * [Minify] Task added by @Rarst. Requires additional dependencies installed *2014-12-26*
202 * [Help command is populated from annotation](https://github.com/consolidation-org/Robo/pull/71) by @jonsa *2014-12-26*
203 * Allow empty values as defaults to optional options by @jonsa *2014-12-26*
204 * `PHP_WINDOWS_VERSION_BUILD` constant is used to check for Windows in tasks by @boedah *2014-12-26*
205 * [Copy][EmptyDir] Fixed infinite loop by @boedah *2014-12-26*
206 * [ApiGen] Task added by @drobert *2014-12-26*
207 * [FileSystem] Equalized `copy` and `chmod` argument to defaults by @Rarst (BC break) *2014-12-26*
208 * [FileSystem]  Added missing umask argument to chmod() method of FileSystemStack by @Rarst
209 * [SemVer] Fixed file read and exit code
210 * [Codeception] fixed codeception coverageHtml option by @gunfrank *2014-12-26*
211 * [phpspec] Task added by @SebSept *2014-12-26*
212 * Shortcut options: if option name is like foo|f, assign f as shortcut by @jschnare *2014-12-26*
213 * [Rsync] Shell escape rsync exclude pattern by @boedah. Fixes #77 (BC break) *2014-12-26*
214 * [Npm] Task added by @AAlakkad *2014-12-26*
215
216 #### 0.4.6 10/17/2014
217
218 * [Exec] Output from buffer is not spoiled by special chars *2014-10-17*
219 * [PHPUnit] detect PHPUnit on Windows or when is globally installed with Composer *2014-10-17*
220 * Output: added methods askDefault and confirm by @bkawakami *2014-10-17*
221 * [Svn] Task added by @anvi *2014-08-13*
222 * [Stack] added dir and printed options *2014-08-12*
223 * [ExecTask] now uses Executable trait with printed, dir, arg, option methods added *2014-08-12*
224
225
226 #### 0.4.5 08/05/2014
227
228 * [Watch] bugfix: Watch only tracks last file if given array of files #46 *2014-08-05*
229 * All executable tasks can configure working directory with `dir` option
230 * If no value for an option is provided, assume it's a VALUE_NONE option. #47 by @pfaocle
231 * [Changelog] changed style *2014-06-27*
232 * [GenMarkDown] fixed formatting annotations *2014-06-27*
233
234 #### 0.4.4 06/05/2014
235
236 * Output can be disabled in all executable tasks by ->printed(false)
237 * disabled timeouts by default in ParallelExec
238 * better descriptions for Result output
239 * changed ParallelTask to display failed process in list
240 * Changed Output to be stored globally in Robo\Runner class
241 * Added **SshTask** by @boedah
242 * Added **RsyncTask** by @boedah
243 * false option added to proceess* callbacks in GenMarkDownTask to skip processing
244
245
246 #### 0.4.3 05/21/2014
247
248 *  added `SemVer` task by **@jadb**
249 *  `yell` output method added
250 *  task `FileSystemStack` added
251 * `MirrorDirTask` added by **@devster**
252 * switched to Symfony Filesystem component
253 * options can be used to commands
254 * array arguments can be used in commands
255
256 #### 0.4.2 05/09/2014
257
258 * ask can now hide answers
259 * Trait Executable added to provide standard way for passing arguments and options
260 * added ComposerDumpAutoload task by **@pmcjury**
261 * added FileSystem task by **@jadb**
262 * added CommonStack metatsk to have similar interface for all stacked tasks by **@jadb**
263 * arguments and options can be passed into variable and used in exec task
264 * passing options into commands
265
266
267 #### 0.4.1 05/05/2014
268
269 * [BC] `taskGit` task renamed to `taskGitStack` for compatibility
270 * unit and functional tests added
271 * all command tasks now use Symfony\Process to execute them
272 * enabled Bower and Concat tasks
273 * added `printed` param to Exec task
274 * codeception `suite` method now returns `$this`
275 * timeout options added to Exec task
276
277
278 #### 0.4.0 04/27/2014
279
280 * Codeception task added
281 * PHPUnit task improved
282 * Bower task added by @jadb
283 * ParallelExec task added
284 * Symfony Process component used for execution
285 * Task descriptions taken from first line of annotations
286 * `CommandInterface` added to use tasks as parameters
287
288 #### 0.3.3 02/25/2014
289
290 * PHPUnit basic task
291 * fixed doc generation
292
293 #### 0.3.5 02/21/2014
294
295 * changed generated init template
296
297
298 #### 0.3.4 02/21/2014
299
300 * [PackPhar] ->executable command will remove hashbang when generated stub file
301 * [Git][Exec] stopOnFail option for Git and Exec stack
302 * [ExecStack] shortcut for executing bash commands in stack
303
304 #### 0.3.2 02/20/2014
305
306 * release process now includes phar
307 * phar executable method added
308 * git checkout added
309 * phar pack created
310
311
312 #### 0.3.0 02/11/2014
313
314 * Dynamic configuration via magic methods
315 * added WriteToFile task
316 * Result class for managing exit codes and error messages
317
318 #### 0.2.0 01/29/2014
319
320 * Merged Tasks and Traits to same file
321 * Added Watcher task
322 * Added GitHubRelease task
323 * Added Changelog task
324 * Added ReplaceInFile task