UNPKG

7.84 kBMarkdownView Raw
1# gulp changelog
2
3## 4.0.0
4
5### Task system changes
6
7- replaced 3.x task system (orchestrator) with new task system (bach)
8 - removed gulp.reset
9 - removed 3 argument syntax for `gulp.task`
10 - `gulp.task` should only be used when you will call the task with the CLI
11 - added `gulp.series` and `gulp.parallel` methods for composing tasks. Everything must use these now.
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.
13 - added `gulp.tree` method for retrieving the task tree. Pass `{ deep: true }` for an `archy` compatible node list.
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
20- added `--verify` flag to check the dependencies in package.json against the plugin blacklist.
21
22### vinyl/vinyl-fs changes
23
24- added `gulp.symlink` which functions exactly like `gulp.dest`, but symlinks instead.
25- added `dirMode` param to `gulp.dest` and `gulp.symlink` which allows better control over the mode of the destination folder that is created.
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
29- added `since` option to `gulp.src` which lets you only match files that have been modified since a certain date (for incremental builds)
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
32
33## 3.9.1
34
35- update interpret to 1.0.0 (support for babel-register)
36- fix to include manpages in published tarball
37- documentation/recipe updates
38
39## 3.9.0
40
41- add babel support
42- add transpiler fallback support
43- add support for some renamed transpilers: livescript, etc
44- add JSCS
45- update dependencies (liftoff, interpret)
46- documentation tweaks
47
48## 3.8.11
49
50- fix node 0.12/iojs problems
51- add node 0.12 and iojs to travis
52- update dependencies (liftoff, v8flags)
53- documentation tweaks
54
55## 3.8.10
56
57- add link to spanish docs
58- update dependencies (archy, semver, mocha, etc)
59- documentation tweaks
60
61## 3.8.9
62
63- fix local version undefined output
64- add completion for fish shell
65- fix powershell completion line splitting
66- add support for arbitrary node flags (oops, should have been a minor bump)
67- add v8flags dependency
68- update dependencies (liftoff)
69- documentation tweaks
70
71## 3.8.8
72
73- update dependencies (minimist, tildify)
74- documentation tweaks
75
76## 3.8.7
77
78- handle errors a bit better
79- update dependencies (gulp-util, semver, etc)
80- documentation tweaks
81
82## 3.8.6
83
84- remove executable flag from LICENSE
85- update dependencies (chalk, minimist, liftoff, etc)
86- documentation tweaks
87
88## 3.8.5
89
90- simplify --silent and --tasks-simple
91- fix bug in autocomplete where errors would come out
92
93## 3.8.4
94
95- CLI will use exit code 1 on exit when any task fails during the lifetime of the process
96
97
98## 3.8.3
99
100- Tweak error formatting to work better with PluginErrors and strings
101
102## 3.8.2
103
104- add manpage generation
105
106## 3.8.1
107
108- the CLI now adds process.env.INIT_CWD which is the original cwd it was launched from
109
110## 3.8.0
111
112- update vinyl-fs
113 - gulp.src is now a writable passthrough, this means you can use it to add files to your pipeline at any point
114 - gulp.dest can now take a function to determine the folder
115
116This is now possible!
117
118```js
119gulp.src('lib/*.js')
120 .pipe(uglify())
121 .pipe(gulp.src('styles/*.css'))
122 .pipe(gulp.dest(function(file){
123 // I don't know, you can do something cool here
124 return 'build/whatever';
125 }));
126```
127
128## 3.7.0
129
130- update vinyl-fs to remove BOM from UTF8 files
131- add --tasks-simple flag for plaintext task listings
132- updated autocomplete scripts to be simpler and use new --tasks-simple flag
133- added support for transpilers via liftoff 0.11 and interpret
134 - just npm install your compiler (coffee-script for example) and it will work out of the box
135
136## 3.5.5
137
138- update deps
139- gulp.dest now support mode option, uses source file mode by default (file.stat.mode)
140- use chalk for colors in bin
141- update gulp.env deprecation msg to be more helpful
142
143
144## 3.5.2
145
146- add -V for version on CLI (unix standard)
147- -v is deprecated, use -V
148- add -T as an alias for --tasks
149- documentation
150
151## 3.5
152
153- added `gulp.watch(globs, tasksArray)` sugar
154- remove gulp.taskQueue
155- deprecate gulp.run
156- deprecate gulp.env
157- add engineStrict to prevent people with node < 0.9 from installing
158
159## 3.4
160
161- added `--tasks` that prints out the tree of tasks + deps
162- global cli + local install mismatch is no longer fatal
163- remove tests for fs stuff
164- switch core src, dest, and watch to vinyl-fs
165- internal cleaning
166
167## 3.3.4
168
169- `--base` is now `--cwd`
170
171## 3.3.3
172
173- support for `--base` CLI arg to change where the search for gulpfile/`--require`s starts
174- support for `--gulpfile` CLI arg to point to a gulpfile specifically
175
176## 3.3.0
177
178- file.contents streams are no longer paused coming out of src
179- dest now passes files through before they are empty to fix passing to multiple dests
180
181## 3.2.4
182
183- Bug fix - we didn't have any CLI tests
184
185## 3.2.3
186
187- Update dependencies for bug fixes
188- autocomplete stuff in the completion folder
189
190## 3.2
191
192- File object is now [vinyl](https://github.com/wearefractal/vinyl)
193- .watch() is now [glob-watcher](https://github.com/wearefractal/glob-watcher)
194- Fix CLI -v when no gulpfile found
195- gulp-util updated
196- Logging moved to CLI bin file
197 - Will cause double logging if you update global CLI to 3.2 but not local
198 - Will cause no logging if you update local to 3.1 but not global CLI
199- Drop support for < 0.9
200
201## 3.1.3
202
203- Move isStream and isBuffer to gulp-util
204
205## 3.1
206
207- Move file class to gulp-util
208
209## 3.0
210
211- Ability to pass multiple globs and glob negations to glob-stream
212- Breaking change to the way glob-stream works
213- File object is now a class
214- file.shortened changed to file.relative
215- file.cwd added
216- Break out getStats to avoid nesting
217- Major code reorganization
218
219## 2.7
220
221- Breaking change to the way options are passed to glob-stream
222- Introduce new File object to ease pain of computing shortened names (now a getter)
223
224## 2.4 - 2.6
225
226- Moved stuff to gulp-util
227- Quit exposing createGlobStream (just use the glob-stream module)
228- More logging
229- Prettier time durations
230- Tons of documentation changes
231- gulp.trigger(tasks...) as a through stream
232
233## 1.2-2.4 (11/12/13)
234
235- src buffer=false fixed for 0.8 and 0.9 (remember to .resume() on these versions before consuming)
236- CLI completely rewritten
237 - Colorful logging
238 - Uses local version of gulp to run tasks
239 - Uses findup to locate gulpfile (so you can run it anywhere in your project)
240 - chdir to gulpfile directory before loading it
241 - Correct exit codes on errors
242- silent flag added to gulp to disable logging
243- Fixes to task orchestration (3rd party)
244- Better support for globbed directories (thanks @robrich)
245
246## 1.2 (10/28/13)
247
248- Can specify buffer=false on src streams to make file.content a stream
249- Can specify read=false on src streams to disable file.content
250
251## 1.1 (10/21/13)
252
253- Can specify run callback
254- Can specify task dependencies
255- Tasks can accept callback or return promise
256- `gulp.verbose` exposes run-time internals
257
258## 1.0 (9/26/13)
259
260- Specify dependency versions
261- Updated docs
262
263## 0.2 (8/6/13)
264
265- Rename .files() to .src() and .folder() to .dest()
266
267## 0.1 (7/18/13)
268
269- Initial Release
270
\No newline at end of file