|
1 | 1 | # 5.0.0 / 2018-02-06
|
2 | 2 |
|
3 |
| -* Now allows passing a directory as the input (all files in the directory will be processed) |
4 |
| -* The CLI is now silent by default; added `--verbose` flag for if you want noisy logs |
5 |
| -* Doesn't exit watch mode when there's an error in the plugin chain |
6 |
| -* Removed non-obvious shorthand arguments (`-x`, `-p`, `-s`, `-t`, `-e`, `-b`, & `-c`). Also removed `-v` as an alias for `--version`. |
7 |
| -* Prevent stupid option combinations like `--dir` & `-o`, and `--watch` & `--replace` |
8 |
| -* Doesn't allow `--watch` when writing to STDOUT |
| 3 | +- Now allows passing a directory as the input (all files in the directory will be processed) |
| 4 | +- The CLI is now silent by default; added `--verbose` flag for if you want noisy logs |
| 5 | +- Doesn't exit watch mode when there's an error in the plugin chain |
| 6 | +- Removed non-obvious shorthand arguments (`-x`, `-p`, `-s`, `-t`, `-e`, `-b`, & `-c`). Also removed `-v` as an alias for `--version`. |
| 7 | +- Prevent stupid option combinations like `--dir` & `-o`, and `--watch` & `--replace` |
| 8 | +- Doesn't allow `--watch` when writing to STDOUT |
9 | 9 |
|
10 | 10 | # 4.1.1 / 2017-08-17
|
11 | 11 |
|
12 |
| -* Fixed bug with `--config` |
13 |
| -* Upgraded dependencies |
| 12 | +- Fixed bug with `--config` |
| 13 | +- Upgraded dependencies |
14 | 14 |
|
15 | 15 | # 4.1.0 / 2017-06-10
|
16 | 16 |
|
17 |
| -* Can now pass a number to `--poll` to set poll interval |
18 |
| -* Updated `postcss-reporter` dependency to v4.0.0 |
| 17 | +- Can now pass a number to `--poll` to set poll interval |
| 18 | +- Updated `postcss-reporter` dependency to v4.0.0 |
19 | 19 |
|
20 | 20 | # 4.0.0 / 2017-05-09
|
21 | 21 |
|
22 |
| -* **BREAKING:** Upgrade postcss to v6.x |
| 22 | +- **BREAKING:** Upgrade postcss to v6.x |
23 | 23 |
|
24 | 24 | # 3.2.0 / 2017-04-21
|
25 | 25 |
|
26 |
| -* Added `--base` CLI option for keeping directory structure |
| 26 | +- Added `--base` CLI option for keeping directory structure |
27 | 27 |
|
28 | 28 | # 3.1.1 / 2017-04-04
|
29 | 29 |
|
30 |
| -* Fixed `files` property in `package.json`; `lib/` folder wasn't included in v3.1.0 |
| 30 | +- Fixed `files` property in `package.json`; `lib/` folder wasn't included in v3.1.0 |
31 | 31 |
|
32 | 32 | # 3.1.0 / 2017-04-04
|
33 | 33 |
|
34 |
| -* Improved incremental rebuilds for better performance in watch mode. |
35 |
| -* Switched to `read-cache` for file reading for better performance. |
36 |
| -* Set a dummy filename when reading from stdin to help plugins like autoprefixer find config files. |
37 |
| -* Updated `fs-promise` dependency. |
| 34 | +- Improved incremental rebuilds for better performance in watch mode. |
| 35 | +- Switched to `read-cache` for file reading for better performance. |
| 36 | +- Set a dummy filename when reading from stdin to help plugins like autoprefixer find config files. |
| 37 | +- Updated `fs-promise` dependency. |
38 | 38 |
|
39 | 39 | # 3.0.0 / 2017-03-15
|
40 | 40 |
|
41 | 41 | ## Changes since 3.0.0-beta
|
42 | 42 |
|
43 | 43 | ### Breaking Changes
|
44 | 44 |
|
45 |
| -* Don't exit on `CssSyntaxError` in watch mode. v2 behaved this way, but v3.0.0-beta didn't. |
46 |
| -* Error out if `from` or `to` options are set in the config file. Use command line arguments instead. |
| 45 | +- Don't exit on `CssSyntaxError` in watch mode. v2 behaved this way, but v3.0.0-beta didn't. |
| 46 | +- Error out if `from` or `to` options are set in the config file. Use command line arguments instead. |
47 | 47 |
|
48 | 48 | ### New Features
|
49 | 49 |
|
50 |
| -* Add `--poll` option. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2. |
| 50 | +- Add `--poll` option. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2. |
51 | 51 |
|
52 | 52 | ### Bugfixes
|
53 | 53 |
|
54 |
| -* Set `from` option for correct sourcemaps |
55 |
| -* Fix `--watch`'s glob handling |
56 |
| -* Fix error handling |
| 54 | +- Set `from` option for correct sourcemaps |
| 55 | +- Fix `--watch`'s glob handling |
| 56 | +- Fix error handling |
57 | 57 |
|
58 | 58 | ## Changes since v2.6.0
|
59 | 59 |
|
60 | 60 | ### Breaking Changes
|
61 | 61 |
|
62 |
| -* Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format. |
63 |
| -* Can't set input files in config file; pass input files on the command line instead. |
64 |
| -* `--use` accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command. |
65 |
| -* Can't pass options to plugins via `--plugin.key=value` anymore, use a config file. |
66 |
| -* Changed usage of the `--map` option; use `--map` for external sourcemaps, `--no-map` to disable all maps. Inline sourcemaps are default. |
67 |
| -* Removed `--log` flag; this behavior is now default. |
68 |
| -* Removed the `--local-plugins` flag; same result can be achieved with `postcss.config.js`. |
69 |
| -* Removed the global `watchCSS` handler, plugins that import/rely on other files should use a `dependency` message instead. |
70 |
| -* Changed behavior of the `--poll` option; no longer accepts an integer `interval`. |
| 62 | +- Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format. |
| 63 | +- Can't set input files in config file; pass input files on the command line instead. |
| 64 | +- `--use` accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command. |
| 65 | +- Can't pass options to plugins via `--plugin.key=value` anymore, use a config file. |
| 66 | +- Changed usage of the `--map` option; use `--map` for external sourcemaps, `--no-map` to disable all maps. Inline sourcemaps are default. |
| 67 | +- Removed `--log` flag; this behavior is now default. |
| 68 | +- Removed the `--local-plugins` flag; same result can be achieved with `postcss.config.js`. |
| 69 | +- Removed the global `watchCSS` handler, plugins that import/rely on other files should use a `dependency` message instead. |
| 70 | +- Changed behavior of the `--poll` option; no longer accepts an integer `interval`. |
71 | 71 |
|
72 | 72 | ### New Features
|
73 | 73 |
|
74 |
| -* `--ext` (`-x`) option allows you to set the file extensions for your output files when using `--dir`. |
75 |
| -* `--env` allows you to set `NODE_ENV` in a cross-platform manner. |
| 74 | +- `--ext` (`-x`) option allows you to set the file extensions for your output files when using `--dir`. |
| 75 | +- `--env` allows you to set `NODE_ENV` in a cross-platform manner. |
76 | 76 |
|
77 | 77 | Migration guide for upgrading from v2: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
|
78 | 78 |
|
79 | 79 | # 3.0.0-beta / 2017-03-17
|
80 | 80 |
|
81 | 81 | ## Breaking Changes
|
82 | 82 |
|
83 |
| -* Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format. |
84 |
| -* Can't set input files in config file; pass input files on the command line instead. |
85 |
| -* `--use` accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command. |
86 |
| -* Can't pass options to plugins via `--plugin.key=value` anymore, use a config file. |
87 |
| -* Changed usage of the `--map` option; use `--map` for external sourcemaps, `--no-map` to disable all maps. Inline sourcemaps are default. |
88 |
| -* Removed `--log` flag; this behavior is now default. |
89 |
| -* Removed the `--local-plugins` flag; same result can be achieved with `postcss.config.js`. |
90 |
| -* Removed the global `watchCSS` handler, plugins that import/rely on other files should use a `dependency` message instead. |
| 83 | +- Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format. |
| 84 | +- Can't set input files in config file; pass input files on the command line instead. |
| 85 | +- `--use` accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command. |
| 86 | +- Can't pass options to plugins via `--plugin.key=value` anymore, use a config file. |
| 87 | +- Changed usage of the `--map` option; use `--map` for external sourcemaps, `--no-map` to disable all maps. Inline sourcemaps are default. |
| 88 | +- Removed `--log` flag; this behavior is now default. |
| 89 | +- Removed the `--local-plugins` flag; same result can be achieved with `postcss.config.js`. |
| 90 | +- Removed the global `watchCSS` handler, plugins that import/rely on other files should use a `dependency` message instead. |
91 | 91 |
|
92 | 92 | ## New Features
|
93 | 93 |
|
94 |
| -* `--ext` (`-x`) option allows you to set the file extensions for your output files when using `--dir`. |
95 |
| -* `--env` allows you to set `NODE_ENV` in a cross-platform manner. |
| 94 | +- `--ext` (`-x`) option allows you to set the file extensions for your output files when using `--dir`. |
| 95 | +- `--env` allows you to set `NODE_ENV` in a cross-platform manner. |
96 | 96 |
|
97 | 97 | Migration guide: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
|
98 | 98 |
|
99 | 99 | # 2.6.0 / 2016-08-30
|
100 | 100 |
|
101 |
| -* Add log option |
102 |
| -* Update postcss-import to v8.1.2 from v7.1.0 |
103 |
| -* Update globby to v4.1.0 from v3.0.1 |
104 |
| -* Update postcss-url to v5.1.2 from v4.0.0 |
105 |
| -* Update jshint to v2.9.2 from v2.6.3 |
106 |
| -* Update chokidar to v1.5.1 from v1.0.3 |
107 |
| -* Update yargs to v4.7.1 from v3.32.0 |
108 |
| -* Support es6 export |
109 |
| -* Allow running without plugins |
110 |
| -* Add test for --poll |
111 |
| -* Add --poll flag |
| 101 | +- Add log option |
| 102 | +- Update postcss-import to v8.1.2 from v7.1.0 |
| 103 | +- Update globby to v4.1.0 from v3.0.1 |
| 104 | +- Update postcss-url to v5.1.2 from v4.0.0 |
| 105 | +- Update jshint to v2.9.2 from v2.6.3 |
| 106 | +- Update chokidar to v1.5.1 from v1.0.3 |
| 107 | +- Update yargs to v4.7.1 from v3.32.0 |
| 108 | +- Support es6 export |
| 109 | +- Allow running without plugins |
| 110 | +- Add test for --poll |
| 111 | +- Add --poll flag |
112 | 112 |
|
113 | 113 | # 2.5.2 / 2016-04-18
|
114 | 114 |
|
115 |
| -* Fix typo in help message: -use => [--use|-u] |
116 |
| -* npm install --save mkdirp |
117 |
| -* Support mkdirp to create dest path if it doesn't exists |
118 |
| -* Fix booleans in config file |
| 115 | +- Fix typo in help message: -use => [--use|-u] |
| 116 | +- npm install --save mkdirp |
| 117 | +- Support mkdirp to create dest path if it doesn't exists |
| 118 | +- Fix booleans in config file |
119 | 119 |
|
120 | 120 | # 2.5.1 / 2016-02-11
|
121 | 121 |
|
122 |
| -* fix `input` argument |
| 122 | +- fix `input` argument |
123 | 123 |
|
124 | 124 | # 2.5.0 / 2016-01-30
|
125 | 125 |
|
126 |
| -* move to postcss/postcss-cli repository |
127 |
| -* Update Readme.md |
| 126 | +- move to postcss/postcss-cli repository |
| 127 | +- Update Readme.md |
128 | 128 |
|
129 | 129 | # 2.4.1 / 2016-01-27
|
130 | 130 |
|
131 |
| -* improve warning disply format |
| 131 | +- improve warning disply format |
132 | 132 |
|
133 | 133 | # 2.4.0 / 2016-01-15
|
134 | 134 |
|
135 |
| -* add support for source maps |
| 135 | +- add support for source maps |
136 | 136 |
|
137 | 137 | # 2.3.3 / 2015-12-28
|
138 | 138 |
|
139 |
| -* add usage example for `local-plugins` option in config file |
| 139 | +- add usage example for `local-plugins` option in config file |
140 | 140 |
|
141 | 141 | # 2.3.2 / 2015-10-27
|
142 | 142 |
|
143 |
| -* auto-configure postcss-import support |
144 |
| -* add support for watching multiple entry points |
| 143 | +- auto-configure postcss-import support |
| 144 | +- add support for watching multiple entry points |
145 | 145 |
|
146 | 146 | # 2.3.1 / 2015-10-25
|
147 | 147 |
|
148 |
| -* update Travis config |
149 |
| -* upgrade postcss-import dependency - fix deprecation warnings during make test-watch |
| 148 | +- update Travis config |
| 149 | +- upgrade postcss-import dependency - fix deprecation warnings during make test-watch |
150 | 150 |
|
151 | 151 | # 2.3.0 / 2015-10-24
|
152 | 152 |
|
153 |
| -* add --local-plugins option that lets postcss-cli to look for plugins in current directory |
| 153 | +- add --local-plugins option that lets postcss-cli to look for plugins in current directory |
154 | 154 |
|
155 | 155 | # 2.2.0 / 2015-10-09
|
156 | 156 |
|
157 |
| -* add support for --replace|-r - if used input files are replaced with generated output |
158 |
| -* refactor support for custom syntax options |
| 157 | +- add support for --replace|-r - if used input files are replaced with generated output |
| 158 | +- refactor support for custom syntax options |
159 | 159 |
|
160 | 160 | # 2.1.1 / 2015-10-08
|
161 | 161 |
|
162 |
| -* add globby to support wildcards in Windows |
163 |
| -* remove obsolete note on postcss-import compatibility |
| 162 | +- add globby to support wildcards in Windows |
| 163 | +- remove obsolete note on postcss-import compatibility |
164 | 164 |
|
165 | 165 | # 2.1.0 / 2015-09-01
|
166 | 166 |
|
167 |
| -* add support for PostCSS 5.0 custom syntax options |
| 167 | +- add support for PostCSS 5.0 custom syntax options |
168 | 168 |
|
169 | 169 | # 2.0.0 / 2015-08-24
|
170 | 170 |
|
171 |
| -* remove support for --safe option |
172 |
| -* switch to using postcss 5.x |
| 171 | +- remove support for --safe option |
| 172 | +- switch to using postcss 5.x |
173 | 173 |
|
174 | 174 | # 1.5.0 / 2015-07-20
|
175 | 175 |
|
176 |
| -* add watch mode (-w|--watch) in which postcss-cli observes and recompiles inputs whenever they change |
177 |
| -* update neo-async dependency to released version |
178 |
| -* update postcss-url dependency (used in tests only) |
| 176 | +- add watch mode (-w|--watch) in which postcss-cli observes and recompiles inputs whenever they change |
| 177 | +- update neo-async dependency to released version |
| 178 | +- update postcss-url dependency (used in tests only) |
179 | 179 |
|
180 | 180 | # 1.4.0 / 2015-07-12
|
181 | 181 |
|
182 |
| -* allow specifying input file via config file |
183 |
| -* allow specifying -u|--use via config file |
| 182 | +- allow specifying input file via config file |
| 183 | +- allow specifying -u|--use via config file |
184 | 184 |
|
185 | 185 | # 1.3.1 / 2015-05-03
|
186 | 186 |
|
187 |
| -* update npm keyword: postcssrunner -> postcss-runner |
| 187 | +- update npm keyword: postcssrunner -> postcss-runner |
188 | 188 |
|
189 | 189 | # 1.3.0 / 2015-04-28
|
190 | 190 |
|
191 |
| -* add support for stdin/stdout if no input/output file specified |
| 191 | +- add support for stdin/stdout if no input/output file specified |
192 | 192 |
|
193 | 193 | # 1.2.1 / 2015-04-20
|
194 | 194 |
|
195 |
| -* fix typo in readme |
| 195 | +- fix typo in readme |
196 | 196 |
|
197 | 197 | # 1.2.0 / 2015-04-02
|
198 | 198 |
|
199 |
| -* display warnings and errors |
200 |
| -* stop testing on node 0.10 |
| 199 | +- display warnings and errors |
| 200 | +- stop testing on node 0.10 |
201 | 201 |
|
202 | 202 | # 1.1.0 / 2015-03-28
|
203 | 203 |
|
204 |
| -* prefer postcss async API if available |
| 204 | +- prefer postcss async API if available |
205 | 205 |
|
206 | 206 | # 1.0.0 / 2015-03-22
|
207 | 207 |
|
208 |
| -* use official yargs version |
209 |
| -* add support for multiple input files |
| 208 | +- use official yargs version |
| 209 | +- add support for multiple input files |
210 | 210 |
|
211 | 211 | # 0.3.0 / 2015-03-19
|
212 | 212 |
|
213 |
| -* support JS format as plugins config |
| 213 | +- support JS format as plugins config |
214 | 214 |
|
215 | 215 | # 0.2.0 / 2015-03-13
|
216 | 216 |
|
217 |
| -* use autoprefixer instead of autoprefixer-core |
218 |
| -* change short options for --use from `p` to `u` |
219 |
| -* add -v|--version support |
220 |
| -* add --safe option to enable postcss safe mode |
| 217 | +- use autoprefixer instead of autoprefixer-core |
| 218 | +- change short options for --use from `p` to `u` |
| 219 | +- add -v|--version support |
| 220 | +- add --safe option to enable postcss safe mode |
221 | 221 |
|
222 | 222 | # 0.1.0 / 2015-03-11
|
223 | 223 |
|
224 |
| -* initial implementaion |
| 224 | +- initial implementaion |
0 commit comments