.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / postcss / CHANGELOG.md
1 # Change Log
2 This project adheres to [Semantic Versioning](http://semver.org/).
3
4 ## 6.0.23
5 * Fix parsing nested at-rules without semicolon, params, and spaces.
6
7 ## 6.0.22
8 * Fix `Node#prev` and `Node#next` on missed parent.
9
10 ## 6.0.21
11 * Rename Chinese docs to fix `yarnpkg.com` issue.
12
13 ## 6.0.20
14 * Better error message on `null` as input CSS.
15
16 ## 6.0.19
17 * Fix TypeScript definitions for source maps (by Oleh Kuchuk).
18 * Fix `source` field in TypeScript definitions (by Sylvain Pollet-Villard).
19
20 ## 6.0.18
21 * Use primitive object in TypeScript definitions (by Sylvain Pollet-Villard).
22
23 ## 6.0.17
24 * Fix parsing comment in selector between word tokens (by Oleh Kuchuk).
25
26 ## 6.0.16
27 * Fix warning text (by Michael Keller).
28
29 ## 6.0.15
30 * Add warning about missed `from` option on `process().then()` call.
31 * Add IE 10 support.
32
33 ## 6.0.14
34 * Fix TypeScript definitions (by Jed Mao).
35
36 ## 6.0.13
37 * Fix TypeScript definitions for case of multiple PostCSS versions
38   in `node_modules` (by Chris Eppstein).
39 * Use `source-map` 0.6.
40
41 ## 6.0.12
42 * Don’t copy `*` hack to declaration indent.
43
44 ## 6.0.11
45 * Add upper case `!IMPORTANT` support.
46
47 ## 6.0.10
48 * Reduce PostCSS size in webpack bundle.
49
50 ## 6.0.9
51 * Improve error message for plugin with old PostCSS (by Igor Adamenko).
52
53 ## 6.0.8
54 * Fix Node.js 4.2.2 support.
55
56 ## 6.0.7
57 * Fix base64 decoding for old Node.js and browser.
58
59 ## 6.0.6
60 * Fix `end` position in at-rule without semicolon (by Oleh Kuchuk).
61
62 ## 6.0.5
63 * Move Babel config from `package.json` for `node_modules` compiling cases.
64
65 ## 6.0.4
66 * Fix parsing `;;` after rules.
67 * Use Chalk 2.0.
68
69 ## 6.0.3
70 * Fix escape sequences parsing (by Oleh Kuchuk).
71 * Added ability to force disable colors with an environment variable.
72 * Improved color detection of some terminal apps.
73
74 ## 6.0.2
75 * Keep `raws.before` on moving `Root` children to new `Root`.
76
77 ## 6.0.1
78 * Fix parser extensibility to use it in Safe Parser.
79
80 ## 6.0 “Marquis Orias”
81 * Remove node.js 0.12 support.
82 * Remove deprecated method from PostCSS 4.
83 * Insert methods remove child from previous parent, instead of closing.
84 * Insert methods and cloning doesn’t clean `raws` anymore.
85 * Methods `moveTo`, `moveAfter`, `moveBefore` were deprecated.
86 * Options was changed in `Plugin#process(css, processOptions, pluginOptions)`.
87 * Add stream parser to reduce memory usage (by Oleh Kuchuk).
88 * Add `before()`/`after()` shortcuts for `node.parent.insertBefore(node, x)`.
89 * Add `Rule#raws.ownSemicolon` for semicolon after templates for `@apply`.
90 * Use `babel-preset-env` to compile npm package.
91 * Remove `js-base64` from dependencies (by Roman Dvornov).
92 * Fix error message on single `:` in CSS.
93 * Move tests to Jest.
94 * Clean up test (by Gabriel Kalani).
95
96 ## 5.2.18
97 * Fix TypeScript definitions for case of multiple PostCSS versions
98   in `node_modules` (by Chris Eppstein).
99
100 ## 5.2.17
101 * Add `postcss-sass` suggestion to syntax error on `.sass` input.
102
103 ## 5.2.16
104 * Better error on wrong argument in node constructor.
105
106 ## 5.2.15
107 * Fix TypeScript definitions (by bumbleblym).
108
109 ## 5.2.14
110 * Fix browser bundle building in webpack (by janschoenherr).
111
112 ## 5.2.13
113 * Do not add comment to important raws.
114 * Fix JSDoc (by Dmitry Semigradsky).
115
116 ## 5.2.12
117 * Fix typo in deprecation message (by Garet McKinley).
118
119 ## 5.2.11
120 * Fix TypeScript definitions (by Jed Mao).
121
122 ## 5.2.10
123 * Fix TypeScript definitions (by Jed Mao).
124
125 ## 5.2.9
126 * Update TypeScript definitions (by Jed Mao).
127
128 ## 5.2.8
129 * Fix error message (by Ben Briggs).
130
131 ## 5.2.7
132 * Better error message on syntax object in plugins list.
133
134 ## 5.2.6
135 * Fix `postcss.vendor` for values with spaces (by 刘祺).
136
137 ## 5.2.5
138 * Better error message on unclosed string (by Ben Briggs).
139
140 ## 5.2.4
141 * Improve terminal CSS syntax highlight (by Simon Lydell).
142
143 ## 5.2.3
144 * Better color highlight in syntax error code frame.
145 * Fix color highlight support in old systems.
146
147 ## 5.2.2
148 * Update `Processor#version`.
149
150 ## 5.2.1
151 * Fix source map path for CSS without `from` option (by Michele Locati).
152
153 ## 5.2 “Duke Vapula”
154 * Add syntax highlight to code frame in syntax error (by Andrey Popp).
155 * Use Babel code frame style and size in syntax error.
156 * Add `[` and `]` tokens to parse `[attr=;] {}` correctly.
157 * Add `ignoreErrors` options to tokenizer (by Andrey Popp).
158 * Fix error position on tab indent (by Simon Lydell).
159
160 ## 5.1.2
161 * Suggests SCSS/Less parsers on parse errors depends on file extension.
162
163 ## 5.1.1
164 * Fix TypeScript definitions (by Efremov Alexey).
165
166 ## 5.1 “King and President Zagan”
167 * Add URI in source map support (by Mark Finger).
168 * Add `map.from` option (by Mark Finger).
169 * Add `<no source>` mappings for nodes without source (by Bogdan Chadkin).
170 * Add function value support to `map.prev` option (by Chris Montoro).
171 * Add declaration value type check in shortcut creating (by 刘祺).
172 * `Result#warn` now returns new created warning.
173 * Don’t call plugin creator in `postcss.plugin` call.
174 * Add source maps to PostCSS ES5 build.
175 * Add JSDoc to PostCSS classes.
176 * Clean npm package from unnecessary docs.
177
178 ## 5.0.21
179 * Fix support with input source mao with `utf8` encoding name.
180
181 ## 5.0.20
182 * Fix between raw value parsing (by David Clark).
183 * Update TypeScript definitions (by Jed Mao).
184 * Clean fake node.source after `append(string)`.
185
186 ## 5.0.19
187 * Fix indent-based syntaxes support.
188
189 ## 5.0.18
190 * Parse new lines according W3C CSS syntax specification.
191
192 ## 5.0.17
193 * Fix options argument in `Node#warn` (by Ben Briggs).
194 * Fix TypeScript definitions (by Jed Mao).
195
196 ## 5.0.16
197 * Fix CSS syntax error position on unclosed quotes.
198
199 ## 5.0.15
200 * Fix `Node#clone()` on `null` value somewhere in node.
201
202 ## 5.0.14
203 * Allow to use PostCSS in webpack bundle without JSON loader.
204
205 ## 5.0.13
206 * Fix `index` and `word` options in `Warning#toString` (by Bogdan Chadkin).
207 * Fix input source content loading in errors.
208 * Fix map options on using `LazyResult` as input CSS.
209 * 100% test coverage.
210 * Use Babel 6.
211
212 ## 5.0.12
213 * Allow passing a previous map with no mappings (by Andreas Lind).
214
215 ## 5.0.11
216 * Increase plugins performance by 1.5 times.
217
218 ## 5.0.10
219 * Fix warning from nodes without source.
220
221 ## 5.0.9
222 * Fix source map type detection (by @asan).
223
224 ## 5.0.8
225 * Fixed a missed step in `5.0.7` that caused the module to be published as
226   ES6 code.
227
228 ## 5.0.7
229 * PostCSS now requires that node 0.12 is installed via the engines property
230   in package.json (by Howard Zuo).
231
232 ## 5.0.6
233 * Fix parsing nested at-rule without semicolon (by Matt Drake).
234 * Trim `Declaration#value` (by Bogdan Chadkin).
235
236 ## 5.0.5
237 * Fix multi-tokens property parsing (by Matt Drake).
238
239 ## 5.0.4
240 * Fix start position in `Root#source`.
241 * Fix source map annotation, when CSS uses `\r\n` (by Mohammad Younes).
242
243 ## 5.0.3
244 * Fix `url()` parsing.
245 * Fix using `selectors` in `Rule` constructor.
246 * Add start source to `Root` node.
247
248 ## 5.0.2
249 * Fix `remove(index)` to be compatible with 4.x plugin.
250
251 ## 5.0.1
252 * Fix PostCSS 4.x plugins compatibility.
253 * Fix type definition loading (by Jed Mao).
254
255 ## 5.0 “President Valac”
256 * Remove `safe` option. Move Safe Parser to separate project.
257 * `Node#toString` does not include `before` for root nodes.
258 * Remove plugin returning `Root` API.
259 * Remove Promise polyfill for node.js 0.10.
260 * Deprecate `eachInside`, `eachDecl`, `eachRule`, `eachAtRule` and `eachComment`
261   in favor of `walk`, `walkDecls`, `walkRules`, `walkAtRules` and `walkComments`
262   (by Jed Mao).
263 * Deprecate `Container#remove` and `Node#removeSelf`
264   in favor of `Container#removeChild` and `Node#remove` (by Ben Briggs).
265 * Deprecate `Node#replace` in favor of `replaceWith` (by Ben Briggs).
266 * Deprecate raw properties in favor of `Node#raws` object.
267 * Deprecate `Node#style` in favor of `raw`.
268 * Deprecate `CssSyntaxError#generated` in favor of `input`.
269 * Deprecate `Node#cleanStyles` in favor of `cleanRaws`.
270 * Deprecate `Root#prevMap` in favor of `Root.source.input.map`.
271 * Add `syntax`, `parser` and `stringifier` options for Custom Syntaxes.
272 * Add stringifier option to `Node#toString`.
273 * Add `Result#content` alias for non-CSS syntaxes.
274 * Add `plugin.process(css)` shortcut to every plugin function (by Ben Briggs).
275 * Add multiple nodes support to insert methods (by Jonathan Neal).
276 * Add `Node#warn` shortcut (by Ben Briggs).
277 * Add `word` and `index` options to errors and warnings (by David Clark).
278 * Add `line`, `column` properties to `Warning`.
279 * Use `supports-color` library to detect color support in error output.
280 * Add type definitions for TypeScript plugin developers (by Jed Mao).
281 * `Rule#selectors` setter detects separators.
282 * Add `postcss.stringify` method.
283 * Throw descriptive errors for incorrectly formatted plugins.
284 * Add docs to npm release.
285 * Fix `url()` parsing.
286 * Fix Windows support (by Jed Mao).
287
288 ## 4.1.16
289 * Fix errors without stack trace.
290
291 ## 4.1.15
292 * Allow asynchronous plugins to change processor plugins list (by Ben Briggs).
293
294 ## 4.1.14
295 * Fix for plugins packs defined by `postcss.plugin`.
296
297 ## 4.1.13
298 * Fix input inlined source maps with UTF-8 encoding.
299
300 ## 4.1.12
301 * Update Promise polyfill.
302
303 ## 4.1.11
304 * Fix error message on wrong plugin format.
305
306 ## 4.1.10
307 * Fix Promise behavior on sync plugin errors.
308 * Automatically fill `plugin` field in `CssSyntaxError`.
309 * Fix warning message (by Ben Briggs).
310
311 ## 4.1.9
312 * Speed up `node.clone()`.
313
314 ## 4.1.8
315 * Accepts `Processor` instance in `postcss()` constructor too.
316
317 ## 4.1.7
318 * Speed up `postcss.list` (by Bogdan Chadkin).
319
320 ## 4.1.6
321 * Fix Promise behavior on parsing error.
322
323 ## 4.1.5
324 * Parse at-words in declaration values.
325
326 ## 4.1.4
327 * Fix Promise polyfill dependency (by Anton Yakushev and Matija Marohnić).
328
329 ## 4.1.3
330 * Add Promise polyfill for node.js 0.10 and IE.
331
332 ## 4.1.2
333 * List helpers can be accessed independently `var space = postcss.list.space`.
334
335 ## 4.1.1
336 * Show deprecated message only once.
337
338 ## 4.1 “Marquis Andras”
339 * Asynchronous plugin support.
340 * Add warnings from plugins and `Result#messages`.
341 * Add `postcss.plugin()` to create plugins with a standard API.
342 * Insert nodes by CSS string.
343 * Show version warning message on error from an outdated plugin.
344 * Send `Result` instance to plugins as the second argument.
345 * Add `CssSyntaxError#plugin`.
346 * Add `CssSyntaxError#showSourceCode()`.
347 * Add `postcss.list` and `postcss.vendor` aliases.
348 * Add `Processor#version`.
349 * Parse wrong closing bracket.
350 * Parse `!important` statement with spaces and comments inside (by Ben Briggs).
351 * Throw an error on declaration without `prop` or `value` (by Philip Peterson).
352 * Fix source map mappings position.
353 * Add indexed source map support.
354 * Always set `error.generated`.
355 * Clean all source map annotation comments.
356
357 ## 4.0.6
358 * Remove `babel` from released package dependencies (by Andres Suarez).
359
360 ## 4.0.5
361 * Fix error message on double colon in declaration.
362
363 ## 4.0.4
364 * Fix indent detection in some rare cases.
365
366 ## 4.0.3
367 * Faster API with 6to5 Loose mode.
368 * Fix indexed source maps support.
369
370 ## 4.0.2
371 * Do not copy IE hacks to code style.
372
373 ## 4.0.1
374 * Add `source.input` to `Root` too.
375
376 ## 4.0 “Duke Flauros”
377 * Rename `Container#childs` to `nodes`.
378 * Rename `PostCSS#processors` to `plugins`.
379 * Add `Node#replaceValues()` method.
380 * Add `Node#moveTo()`, `moveBefore()` and `moveAfter()` methods.
381 * Add `Node#cloneBefore()` and `cloneAfter()` shortcuts.
382 * Add `Node#next()`, `prev()` and `root()` shortcuts.
383 * Add `Node#replaceWith()` method.
384 * Add `Node#error()` method.
385 * Add `Container#removeAll()` method.
386 * Add filter argument to `eachDecl()` and `eachAtRule()`.
387 * Add `Node#source.input` and move `source.file` or `source.id` to `input`.
388 * Change code indent, when node was moved.
389 * Better fix code style on `Rule`, `AtRule` and `Comment` nodes changes.
390 * Allow to create rules and at-rules by hash shortcut in append methods.
391 * Add class name to CSS syntax error output.
392
393 ## 3.0.7
394 * Fix IE filter parsing with multiple commands.
395 * Safer way to consume PostCSS object as plugin (by Maxime Thirouin).
396
397 ## 3.0.6
398 * Fix missing semicolon when comment comes after last declaration.
399 * Fix Safe Mode declaration parsing on unclosed blocks.
400
401 ## 3.0.5
402 * Fix parser to support difficult cases with backslash escape and brackets.
403 * Add `CssSyntaxError#stack` (by Maxime Thirouin).
404
405 ## 3.0.4
406 * Fix Safe Mode on unknown word before declaration.
407
408 ## 3.0.3
409 * Increase tokenizer speed (by Roman Dvornov).
410
411 ## 3.0.2
412 * Fix empty comment parsing.
413 * Fix `Root#normalize` in some inserts.
414
415 ## 3.0.1
416 * Fix Rhino JS runtime support.
417 * Typo in deprecated warning (by Maxime Thirouin).
418
419 ## 3.0 “Marquis Andrealphus”
420 * New parser, which become the fastest ever CSS parser written in JavaScript.
421 * Parser can now parse declarations and rules in one parent (like in `@page`)
422   and nested declarations for plugins like `postcss-nested`.
423 * Child nodes array is now in `childs` property, instead of `decls` and `rules`.
424 * `map.inline` and `map.sourcesContent` options are now `true` by default.
425 * Fix iterators (`each`, `insertAfter`) on children array changes.
426 * Use previous source map to show origin source of CSS syntax error.
427 * Use 6to5 ES6 compiler, instead of ES6 Transpiler.
428 * Use code style for manually added rules from existing rules.
429 * Use `from` option from previous source map `file` field.
430 * Set `to` value to `from` if `to` option is missing.
431 * Use better node source name when missing `from` option.
432 * Show a syntax error when `;` is missed between declarations.
433 * Allow to pass `PostCSS` instance or list of plugins to `use()` method.
434 * Allow to pass `Result` instance to `process()` method.
435 * Trim Unicode BOM on source maps parsing.
436 * Parse at-rules without spaces like `@import"file"`.
437 * Better previous `sourceMappingURL` annotation comment cleaning.
438 * Do not remove previous `sourceMappingURL` comment on `map.annotation: false`.
439 * Parse nameless at-rules in Safe Mode.
440 * Fix source map generation for nodes without source.
441 * Fix next child `before` if `Root` first child got removed.
442
443 ## 2.2.6
444 * Fix map generation for nodes without source (by Josiah Savary).
445
446 ## 2.2.5
447 * Fix source map with BOM marker support (by Mohammad Younes).
448 * Fix source map paths (by Mohammad Younes).
449
450 ## 2.2.4
451 * Fix `prepend()` on empty `Root`.
452
453 ## 2.2.3
454 * Allow to use object shortcut in `use()` with functions like `autoprefixer`.
455
456 ## 2.2.2
457 * Add shortcut to set processors in `use()` via object with `.postcss` property.
458
459 ## 2.2.1
460 * Send `opts` from `Processor#process(css, opts)` to processors.
461
462 ## 2.2 “Marquis Cimeies”
463 * Use GNU style syntax error messages.
464 * Add `Node#replace` method.
465 * Add `CssSyntaxError#reason` property.
466
467 ## 2.1.2
468 * Fix UTF-8 support in inline source map.
469 * Fix source map `sourcesContent` if there is no `from` and `to` options.
470
471 ## 2.1.1
472 * Allow to miss `to` and `from` options for inline source maps.
473 * Add `Node#source.id` if file name is unknown.
474 * Better detect splitter between rules in CSS concatenation tools.
475 * Automatically clone node in insert methods.
476
477 ## 2.1 “King Amdusias”
478 * Change Traceur ES6 compiler to ES6 Transpiler.
479 * Show broken CSS line in syntax error.
480
481 ## 2.0 “King Belial”
482 * Project was rewritten from CoffeeScript to ES6.
483 * Add Safe Mode to works with live input or with hacks from legacy code.
484 * More safer parser to pass all hacks from Browserhacks.com.
485 * Use real properties instead of magic getter/setter for raw properties.
486
487 ## 1.0 “Marquis Decarabia”
488 * Save previous source map for each node to support CSS concatenation
489   with multiple previous maps.
490 * Add `map.sourcesContent` option to add origin content to `sourcesContent`
491   inside map.
492 * Allow to set different place of output map in annotation comment.
493 * Allow to use arrays and `Root` in `Container#append` and same methods.
494 * Add `Root#prevMap` with information about previous map.
495 * Allow to use latest PostCSS from GitHub by npm.
496 * `Result` now is lazy and it will generate output CSS only if you use `css`
497   or `map` property.
498 * Use separated `map.prev` option to set previous map.
499 * Rename `inlineMap` option to `map.inline`.
500 * Rename `mapAnnotation` option to `map.annotation`.
501 * `Result#map` now return `SourceMapGenerator` object, instead of string.
502 * Run previous map autodetect only if input CSS contains annotation comment.
503 * Add `map: 'inline'` shortcut for `map: { inline: true }` option.
504 * `Node#source.file` now will contains absolute path.
505 * Clean `Declaration#between` style on node clone.
506
507 ## 0.3.5
508 * Allow to use `Root` or `Result` as first argument in `process()`.
509 * Save parsed AST to `Result#root`.
510
511 ## 0.3.4
512 * Better space symbol detect to read UTF-8 BOM correctly.
513
514 ## 0.3.3
515 * Remove source map hacks by using new Mozilla’s `source-map` (by Simon Lydell).
516
517 ## 0.3.2
518 * Add URI encoding support for inline source maps.
519
520 ## 0.3.1
521 * Fix relative paths from previous source map.
522 * Safer space split in `Rule#selectors` (by Simon Lydell).
523
524 ## 0.3 “Prince Seere”
525 * Add `Comment` node for comments between declarations or rules.
526 * Add source map annotation comment to output CSS.
527 * Allow to inline source map to annotation comment by data:uri.
528 * Fix source maps on Windows.
529 * Fix source maps for subdirectory (by Dmitry Nikitenko and Simon Lydell).
530 * Autodetect previous source map.
531 * Add `first` and `last` shortcuts to container nodes.
532 * Parse `!important` to separated property in `Declaration`.
533 * Allow to break iteration by returning `false`.
534 * Copy code style to new nodes.
535 * Add `eachInside` method to recursively iterate all nodes.
536 * Add `selectors` shortcut to get selectors array.
537 * Add `toResult` method to `Rule` to simplify work with several input files.
538 * Clean declaration’s `value`, rule’s `selector` and at-rule’s `params`
539   by storing spaces in `between` property.
540
541 ## 0.2 “Duke Dantalion”
542 * Add source map support.
543 * Add shortcuts to create nodes.
544 * Method `process()` now returns object with `css` and `map` keys.
545 * Origin CSS file option was renamed from `file` to `from`.
546 * Rename `Node#remove()` method to `removeSelf()` to fix name conflict.
547 * Node source was moved to `source` property with origin file
548   and node end position.
549 * You can set own CSS generate function.
550
551 ## 0.1 “Count Andromalius”
552 * Initial release.