|
2 | 2 |
|
3 | 3 | ## 4.0.0
|
4 | 4 |
|
| 5 | +### Task system changes |
| 6 | + |
5 | 7 | - replaced 3.x task system (orchestrator) with new task system (bach)
|
6 | 8 | - removed gulp.reset
|
7 | 9 | - removed 3 argument syntax for `gulp.task`
|
|
10 | 12 | - added single argument syntax for `gulp.task` which allows a named function to be used as the name of the task and task function.
|
11 | 13 | - added `gulp.tree` method for retrieving the task tree. Pass `{ deep: true }` for an `archy` compatible node list.
|
12 | 14 | - added `gulp.registry` for setting custom registries.
|
| 15 | + |
| 16 | +### CLI changes |
| 17 | + |
| 18 | +- split CLI out into a module if you want to save bandwidth/disk space. you can install the gulp CLI using either `npm install gulp -g` or `npm install gulp-cli -g`, where gulp-cli is the smaller one (no module code included) |
| 19 | +- add `--tasks-json` flag to CLI to dump the whole tree out for other tools to consume |
13 | 20 | - added `--verify` flag to check the dependencies in package.json against the plugin blacklist.
|
| 21 | + |
| 22 | +### vinyl/vinyl-fs changes |
| 23 | + |
14 | 24 | - added `gulp.symlink` which functions exactly like `gulp.dest`, but symlinks instead.
|
15 | 25 | - added `dirMode` param to `gulp.dest` and `gulp.symlink` which allows better control over the mode of the destination folder that is created.
|
16 | 26 | - globs passed to `gulp.src` will be evaluated in order, which means this is possible `gulp.src(['*.js', '!b*.js', 'bad.js'])` (exclude every JS file that starts with a b except bad.js)
|
| 27 | +- performance for gulp.src has improved massively |
| 28 | + - `gulp.src(['**/*', '!b.js'])` will no longer eat CPU since negations happen during walking now |
17 | 29 | - added `since` option to `gulp.src` which lets you only match files that have been modified since a certain date (for incremental builds)
|
18 |
| -- split CLI out into a module if you want to save bandwidth/disk space. you can install the gulp CLI using either `npm install gulp -g` or `npm install gulp-cli -g`, where gulp-cli is the smaller one (no module code included) |
19 |
| -- add `--tasks-json` flag to CLI to dump the whole tree out for other tools to consume |
| 30 | +- fixed `gulp.src` not following symlinks |
| 31 | +- added `overwrite` option to `gulp.dest` which allows you to enable or disable overwriting of existing files |
20 | 32 |
|
21 | 33 | ## 3.9.1
|
22 | 34 |
|
|
0 commit comments