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