Skip to content

Commit 942d171

Browse files
committed
Update CHANGELOG
1 parent 1e1dce4 commit 942d171

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
3.0.0 / 2017-03-15
2+
==========
3+
4+
## Changes since 3.0.0-beta
5+
6+
### Breaking Changes
7+
8+
- Don't exit on `CssSyntaxError` in watch mode. v2 behaved this way, but v3.0.0-beta didn't.
9+
- Error out if `from` or `to` options are set in the config file. Use command line arguments instead.
10+
11+
### New Features
12+
13+
- Add `--poll` option. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2.
14+
15+
### Bugfixes
16+
17+
- Set `from` option for correct sourcemaps
18+
- Fix `--watch`'s glob handling
19+
- Fix error handling
20+
21+
22+
## Changes since v2.6.0
23+
24+
### Breaking Changes
25+
- Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format.
26+
- Can't set input files in config file; pass input files on the command line instead.
27+
- `--use` accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.
28+
- Can't pass options to plugins via `--plugin.key=value` anymore, use a config file.
29+
- Changed usage of the `--map` option; use `--map` for external sourcemaps, `--no-map` to disable all maps. Inline sourcemaps are default.
30+
- Removed `--log` flag; this behavior is now default.
31+
- Removed the `--local-plugins` flag; same result can be achieved with `postcss.config.js`.
32+
- Removed the global `watchCSS` handler, plugins that import/rely on other files should use a `dependency` message instead.
33+
- Changed behavior of the `--poll` option; no longer accepts an integer `interval`.
34+
35+
### New Features
36+
- `--ext` (`-x`) option allows you to set the file extensions for your output files when using `--dir`.
37+
- `--env` allows you to set `NODE_ENV` in a cross-platform manner.
38+
39+
Migration guide for upgrading from v2: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
40+
141
3.0.0-beta / 2017-03-17
242
==========
343

0 commit comments

Comments
 (0)