You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 7.7KB

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