GeezerVison is showing github.com — Docs: Add "What's new in 4.0" section (closes #2089) (#2267) · gulpjs/gulp@75ea634
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +11Lines changed: 11 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | - **Strong Ecosystem** - Use npm modules to do anything you want + over 2000 curated plugins for streaming file transformations |
16 | 16 | - **Simple** - By providing only a minimal API surface, gulp is easy to learn and simple to use |
17 | 17 |
|
| 18 | +## What's new in 4.0?! |
| 19 | + |
| 20 | +* The task system was rewritten from the ground-up, allowing task composition using `series()` and `parallel()` methods |
| 21 | +* The watcher was updated, now using chokidar (no more need for gulp-watch!), with feature parity to our task system |
| 22 | +* First-class support was added for incremental builds using `lastRun()` |
| 23 | +* A `symlink()` method was exposed to create symlinks instead of copying files |
| 24 | +* Built-in support for sourcemaps was added - the gulp-sourcemaps plugin is no longer necessary! |
| 25 | +* Task registration of exported functions - using node or ES exports - is now recommended |
| 26 | +* Custom registries were designed, allowing for shared tasks or augmented functionality |
| 27 | +* Stream implementations were improved, allowing for better conditional and phased builds |
| 28 | + |
18 | 29 | ## Installation |
19 | 30 |
|
20 | 31 | There are a few ways to install: |
|