.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / gonzales-pe / CHANGELOG.md
1 # Changelog
2
3 #### Legend:
4
5 :japanese_ogre: — be afraid of this change because it breaks the way things
6 worked before.  
7 :star: — some new thing has been added.  
8 :green_apple: — some bad thing has been fixed.  
9
10 ## 30.03.2020, version 4.3.0
11
12 :star: Added support for interpolation of custom properties in Sass.
13 :green_apple: Updated minimist version to 1.2.5.
14 :green_apple: Updated playground link to https.
15
16 ## 22.03.2019, version 4.2.4
17
18 :star: Renamed `prepublish` script to `prepublishOnly`.  
19 :star: Updated link to playground.  
20 :green_apple: Fixed badges.  
21 :green_apple: Fixed `content` guard in `node.contains()`.  
22
23 ## 28.09.2017, version 4.2.3
24
25 :green_apple: Fixed parsing of empty `url()` in Sass and SCSS.
26
27 ## 30.08.2017, version 4.2.2
28
29 :green_apple: Fixed parsing of `/deep/` in CSS, LESS, Sass and SCSS.
30
31 ## 29.08.2017, version 4.2.1
32
33 :green_apple: Fixed parsing of `pseudo-element` in CSS, LESS, Sass and SCSS.
34
35 ## 29.08.2017, version 4.2.0
36
37 :star: Add support for custom property syntax in CSS, Sass and SCSS.  
38 :star: Add support for deep combinator syntax in CSS, LESS, Sass and SCSS.  
39 :star: Add support for alternative descendant `>>` syntax in CSS, LESS, Sass and SCSS.  
40 :star: Add support for `::slotted()` syntax in CSS, LESS, Sass and SCSS.  
41 :green_apple: Fixed parsing of non-lowercase keyframes at-rule in CSS, LESS, Sass and SCSS.  
42 :green_apple: Fixed parsing of multiline selectors within keyframes in  Sass.  
43 :green_apple: Fixed parsing of `!important` within maps in Sass and SCSS.  
44 :green_apple: Fixed parsing of `...` following a function in Sass and SCSS.  
45
46 ## 23.08.2017, version 4.1.1
47
48 :star: Unified codebase style across syntaxes.  
49 :green_apple: Fixed parsing of URLs in Sass and SCSS.  
50 :green_apple: Fixed parsing of placeholders in Sass and SCSS.  
51 :green_apple: Fixed parsing of interpolated values within type selectors in Sass and SCSS.  
52 :green_apple: Fixed parsing of spacing within pseudo class arguments in all syntaxes.  
53 :green_apple: Fixed parsing of parent selectors within parentheses in Sass and SCSS.  
54 :star: Abstracted attribute tests for CSS, LESS, Sass and SCSS.  
55 :green_apple: Fixed parsing of pseudo classes within keyframes in Sass and SCSS.  
56 :green_apple: Fixed parsing of dimensions in LESS.
57
58 ## 20.11.2016, version 4.0.3
59
60 :green_apple: Fixed parsing of interpolations inside URI nodes in SCSS and Sass.  
61
62 ## 18.11.2016, version 4.0.2
63
64 :green_apple: Fixed parsing of trailing newlines.  
65
66 ## 18.11.2016, version 4.0.1
67
68 :japanese_ogre: Removed `postinstall` script.  
69
70 ## 17.11.2016, version 4.0.0
71
72 :japanese_ogre: Dropped support for Node < 4.  
73 :japanese_ogre: Brought back `postinstall` script that should allow installing
74 from GitHub.  
75 :japanese_ogre: Made multiline comments in Sass consistent with other syntaxes
76 by removing closing `*/` from node's content.  
77 :japanese_ogre: Implemented new node type, `universalSelector`, which represents
78 `*`. See [docs](https://github.com/tonyganch/gonzales-pe/blob/dev/docs/node-types.md#universalselector)
79 for more details.
80 :green_apple: Fixed parsing of comments in Sass.  
81 :green_apple: Fixed parsing of keyframes inside includes in Sass.  
82 :green_apple: Fixed parsing of flags in arguments in Sass and SCSS.  
83 :green_apple: Fixed parsing of multiple declarations within arguments in SCSS
84 and Sass.  
85 :green_apple: Improved parsing of interpolations in SCSS and Sass.  
86 :green_apple: Adjust parsing priority of declarations & atrule in Less.  
87
88 ## 22.10.2016, version 3.4.7
89
90 :green_apple: Included forgotten test for #226.  
91 :green_apple: Fixed issue when `!important` was not parsed as function argument.  
92
93 ## 22.10.2016, version 3.4.6
94
95 :green_apple: Changed parsing of `ident` nodes which fixed issue with asterisks
96 being parsed as idents instead of operators.  
97 :green_apple: Fixed capitalisation in Changelog.  
98
99 ## 20.10.2016, version 3.4.5
100
101 :green_apple: Change parser to strip DOS newlines from comments.  
102 :star: Add links to README.md.  
103
104 ## 12.08.2016, version 3.4.4
105
106 :green_apple: Fixed parsing of numbers following interpolation in class
107 selectors in Sass and SCSS.  
108
109 ## 08.08.2016, version 3.4.3
110
111 :green_apple: Fixed parsing of unicode ranges.  
112
113 ## 04.08.2016, version 3.4.2
114
115 :green_apple: Disable Google Closure Compiler due to some errors in parsing.  
116
117 ## 27.07.2016, version 3.4.1
118
119 :star: Added publich script.  
120 :green_apple: Fixed post-refactor error in Node#last method.  
121
122 ## 27.07.2016, version 3.4.0
123
124 :star: Added `unicode-range` and `urange` node types in CSS, Less, Sass and SCSS.  
125 :green_apple: Fixed parsing of trailing interpolation in compound selector in Sass and SCSS.  
126 :green_apple: Fix parsing of hyphens after interpolation with parentSelectors in Sass and SCSS.  
127 :green_apple: Added ESLint and moved linters to a separate script.  
128 :green_apple: Fixed incorrect dimension wrap of unicode-ranges in CSS, Sass and SCSS.  
129 :green_apple: Fixed parsing of hyphens in interpolated idents in Sass and SCSS.  
130 :green_apple: Added compilation of JS using Google Closure.  
131
132 ## 01.07.2016, version 3.3.6
133
134 :green_apple: Fixed parsing of nth selector without numbers before `n`.  
135
136 ## 21.06.2016, version 3.3.5
137
138 :green_apple: Fixed issue with content at-rule and keyframes in Sass and SCSS.  
139 :green_apple: Fixed namespace attribute selector in CSS, Sass and SCSS.  
140 :green_apple: Fixed issue with modulo operator in values in Sass.  
141 :green_apple: Fixed usage of @content with keyframes in Sass and SCSS.  
142 :green_apple: Fixed namespace attribute selector issue in CSS, Sass and SCSS.  
143 :green_apple: Fixed parsing of interpolations in pseudo-classes in Sass and SCSS.  
144 :green_apple: Fixed interpolated percentage keyframe selector issue in Sass and SCSS.  
145 :green_apple: Updated Travis config to not include environment variables.  
146
147 ## 18.05.2016, version 3.3.4
148
149 :green_apple: Fixed mistake from `@3.3.2` version when parent selector was
150 "correctly" parsed as property instead of value.  
151
152 ## 18.05.2016, version 3.3.3
153
154 :green_apple: Fixed prepublish script to build lib.  
155
156 ## 18.05.2016, version 3.3.2
157
158 :star: Added AppVeyor badge.  
159 :green_apple: Fixed build file to glue multiple syntaxes into one file.  
160 :green_apple: Fixed parsing of functions inside urls in Sass.  
161 :green_apple: Fixed parsing of mulitple keyframe selectors in CSS, Sass and SCSS.  
162 :green_apple: Fixed parsing of parent selector as property in Sass and SCSS.  
163 :green_apple: Fixed parsing of parent selector inside interpolations in Sass and SCSS.  
164
165 ## 29.04.2016, version 3.3.1
166
167 :star: Added config for AppVeyor to run automated tests on Windows.  
168 :green_apple: Fix installation for Windows.  
169
170 ## 28.04.2016, version 3.3.0
171
172 :star: Added browser support. `build.sh` now build a script that can be used in
173 browsers.
174
175 ## 28.04.2016, version 3.2.7
176
177 :green_apple: Fixed typos and example in documentation.  
178 :green_apple: Fixed parsing of functions inside urls in SCSS.  
179 :green_apple: Fixed parsing of selectors starting with combinators in Sass, SCSS
180 and Less.  
181 :green_apple: Fixed incorrect CRLF line numbers.  
182 :green_apple: Fixed parsing of extends that sometimes were incorrectly parsed
183 as atrules.  
184
185 ## 07.02.2016, version 3.2.6
186
187 :green_apple: Fixed the issue with installation of the package with npm@3.  
188
189 ## 07.02.2016, version 3.2.5
190
191 :green_apple: Fixed parsing of nested multiline selectors group.  
192
193 ## 07.02.2016, version 3.2.4
194
195 :star: Added support for `!global` in Sass.  
196
197 ## 07.02.2016, version 3.2.3
198
199 :star: Modified `npm test` to remove `.DS_Store` files before running tests.  
200 :star: Updated Travis config to use Node@5.0.  
201 :star: Updated Travis config to include compiler info.  
202 :star: Made it possible to build files if module is installed from github.  
203 :green_apple: Fixed parsing of interpolation content in Sass and SCSS.  
204 :green_apple: Fixed parsing of interpolation as part of parent selector
205 extension in Sass and SCSS.  
206 :green_apple: Fixed issue with keyframeSelector in includes in SCSS.  
207
208 ## 17.01.2016, version 3.2.2
209
210 :green_apple: Made `ParsingError#message` property writeable.
211
212 ## 19.10.2015, version 3.2.1
213
214 #### Parsing rules
215
216 :green_apple: Fixed the issue when selectors inside extends were not wrapped in
217 `selector` nodes in Sass and SCSS.  
218 :green_apple: Fixed parsing of multiple selectors in extends in Sass and SCSS.
219
220 ## 19.10.2015, version 3.2.0
221
222 #### Node types
223
224 :star: Added new node type: `parentSelectorExtension`.
225
226 #### Parsing rules
227
228 :green_apple: Fixed parsing of parent selectors with extensions, like
229 `&__element` or `&--modifier`.
230
231 ## 19.10.2015, version 3.1.1
232
233 #### Parsing rules
234
235 :green_apple: Fixed parsing of selectors starting or ending with a combinator
236 in Less, Sass and SCSS.
237
238 ## 18.10.2015, version 3.1.0
239
240 #### CLI
241
242 :green_apple: Fixed passing a `--context` argument.  
243 :green_apple: Fixed printing of a simplified tree.  
244
245 #### Node types
246
247 :star: Added new node type: `keyframesSelector`.  
248
249 #### Parsing rules
250
251 :green_apple: Fixed parsing of keyframes in all syntaxes.  
252
253 ## 18.10.2015, version 3.0.3
254
255 #### Parsing rules
256
257 :green_apple: Fixed parsing of spaces inside interpolations in Sass and SCSS.  
258
259 ## 18.10.2015, version 3.0.2
260
261 #### Parsing rules
262
263 :green_apple: Fixed the issue when operators were parsed as idents inside
264 parentheses in Sass and SCSS.  
265
266 ## 18.10.2015, version 3.0.1
267
268 #### Parsing rules
269 :green_apple: Fixed parsing of parent selectors in SCSS and Less.  
270 :green_apple: Fixed parsing of placeholders inside selectors in SCSS.  
271
272 ## 18.10.2015, version 3.0.0
273
274 #### CLI
275
276 :japanese_ogre: Made cli process stdin only if `-` argument is passed.  
277 :star: Added help message.  
278
279 #### API
280
281 :japanese_ogre: Renamed `parseTree.remove` to `parseTree.removeChild()`.  
282 :japanese_ogre: Unwraped callback parameters for `traverse...` methods.  
283 :japanese_ogre: Made `first()`, `last()` and `get()` methods return `null` if no child nodes were found.  
284 :japanese_ogre: Made `node.length` return a number of child nodes.  
285 :japanese_ogre: Renamed `rule` to `context`.  
286 :star: Made `parseTree.removeChild()` return a removed node.  
287 :star: Added `traverseBy...` methods to all nodes, not only root ones.  
288 :star: Added support for specifying a tab size in spaces.  
289
290 #### Parsing rules
291
292 :green_apple: Fixed parsing of single-line comments after `url` token.  
293 :green_apple: Fixed parsing of interpolations inside id selectors in Less.  
294 :green_apple: Fixed parsing of selectors according to spec.  
295 :green_apple: Fixed parsing of placeholders as selectors in SCSS.  
296
297 #### Misc
298
299 :star: Added Travis badge to Readme page.  
300 :star: Added init script to build sources.  
301 :star: Added commit message template.  
302
303 ## 05.10.2015, version 3.0.0-beta
304
305 #### CLI
306
307 :star: Added `--simple` flag for printing a simplified tree structure.  
308 :green_apple: CLI now prints parse tree to stdout.  
309
310 #### API
311
312 :japanese_ogre: Parse tree is now represented as objects, not arrays.  
313 :japanese_ogre: Renamed `gonzales.srcToAST()` to `gonzales.parse()`.
314 See [Readme](README.md#gonzalesparsecss-options).  
315 :japanese_ogre: Renamed `gonzales.astToSrc()` to `parseTree.toString()`.
316 See [Readme](README.md#parsetreetostring).  
317 :japanese_ogre: Renamed `gonzales.astToString()` to `parseTree.toJson()`.
318 See [Readme](README.md#parsetreetojson).  
319 :star: Added information about column number to nodes.  
320 :star: Added information about end position to nodes.  
321 :green_apple: Made empty strings to be parsed as empty nodes.  
322
323 #### Node types
324
325 :japanese_ogre: In Sass renamed `interpolatedVariable` to `interpolation`.  
326 :japanese_ogre: Separated `include` and `extend` nodes.  
327 :japanese_ogre: Replaced `filter` with `declaration`.  
328 :japanese_ogre: Replaced `braces` with `brackets` and `parentheses`.  
329 :japanese_ogre: Replaced `atrulers` with `block`.  
330 :japanese_ogre: Renamed `nthSelector` to `pseudoClass`.  
331 :japanese_ogre: Renamed `atrules`, `atruler` and `atruleb` to `atrule`.  
332 :japanese_ogre: Renamed `functionBody` to `arguments`.  
333 :japanese_ogre: Renamed `functionExpression` to `expression`.  
334 :japanese_ogre: Renamed `attrib` to `attributeSelector`.  
335 :japanese_ogre: Renamed `attrselector` to `attributeMatch`.  
336 :japanese_ogre: Renamed `commentSL` to `singlelineComment`.  
337 :japanese_ogre: Renamed `commentML` to `multilineComment`.  
338 :japanese_ogre: Renamed `declDelim` to `declarationDelimiter`.  
339 :japanese_ogre: Renamed `delim` to `delimiter`.  
340 :japanese_ogre: Renamed `propertyDelim` to `propertyDelimiter`.  
341 :japanese_ogre: Renamed `pseudoc` to `pseudoClass`.  
342 :japanese_ogre: Renamed `pseudoe` to `pseudoElement`.  
343 :japanese_ogre: Renamed `s` to `space`.  
344 :japanese_ogre: Renamed `shash` to `color`.  
345 :japanese_ogre: Renamed `vhash` to `id`.  
346 :japanese_ogre: Removed `atrulerq`, `unary` and `unknown`.  
347 :star: Added `attributeFlags`.  
348 :star: Added `attributeName`.  
349 :star: Added `attributeValue`.  
350 :star: Added `conditionalStatement`.  
351 :star: Added `namePrefix`.  
352 :star: Added `namespacePrefix`.  
353 :star: Added `namespaceSeparator`.  
354 :star: Added `typeSelector`.  
355
356 #### Parsing rules
357
358 :japanese_ogre: Spaces that separate two nodes are now put between those
359 nodes in parse tree.  
360 :star: Added support for `extend` nodes in Less.  
361 :star: Added support for equality and inequality signs in Sass and SCSS.  
362 :star: Added support for `/deep/` combinator.  
363 :star: Added support for `!optional` and `!global` in Sass and SCSS.  
364 :green_apple: Fixed parsing of interpolations in Sass and SCSS.  
365 :green_apple: Fixed parsing of arguments in Sass, SCSS and Less.  
366 :green_apple: Fixed parsing of declaration delimiters in Sass.  
367 :green_apple: Fixed the issue when pseudo-classes were parsed like declarations.  
368 :green_apple: Fixed parsing of selectors on multiple lines in Sass.  
369 :green_apple: Fixed parsing of percent sign as operator in SCSS.  
370 :green_apple: Fixed parsing of pseudo-elements as selectors in Sass.  
371
372 #### Misc
373
374 :star: Added Babel to build source files.  
375 :star: Used mocha for tests.  
376 :star: Added helper scripts.  
377 :star: Added Travis config.  
378 :rocket: Improved tests structure.  
379 :rocket: Separated log and test scripts.  
380 :rocket: Improved error messages.  
381 :rocket: Removed benchmark tests.  
382 :rocket: Moved source files from `lib` to `src` directory.  
383 :rocket: Made package availbale for install from GitHub.  
384
385 ## 29.12.2013, version 2.0.2
386
387 - Sass includes can have both arguments list and content block,
388   i.e. `@include nani() { color: tomato }` is valid syntax.
389
390 ## 18.11.2013, version 2.0.1
391
392 - Bring back lost whitespaces and comments
393
394 ## 11.11.2013, version 2.0.0
395
396 - Support preprocessors: Sass (both SCSS and indented syntax), LESS.
397 - New node types:
398     - `arguments` (less and sass only)
399     - `commentML`
400     - `commentSL` (less and sass only)
401     - `condition` (sass only)
402     - `default` (sass only)
403     - `escapedString` (less only)
404     - `include` (less and sass only)
405     - `loop` (sass only)
406     - `mixin` (less and sass only)
407     - `parentselector` (less and sass only)
408     - `placeholder` (sass only)
409     - `propertyDelim`
410     - `variable` (less and sass only)
411     - `varialeList` (less and sass only)
412 - Rename methods:
413     - `srcToCSSP` -> `cssToAST`
414     - `csspToSrc` -> `astToCSS`
415     - `csspToTree` -> `astToTree`
416 - Pass all arguments as one object:
417     - `gonzales.cssToAST({css: a, syntax: b, rule: c, needInfo: d})`
418     - `gonzales.astToCSS({ast: ast, syntax: syntax})`
419 - Remove built files from VCS
420 - Move test command from `make` to `npm`
421 - Build files before running tests
422 - Divide tests into groups according to syntax
423 - Add script to test one specific css string
424 - Add token's index number to info object
425
426 ## 11.02.2013, version 1.0.7
427
428 - Identifiers like `_0` are identifiers now.
429 - Throw error instead of console.error: https://github.com/css/csso/issues/109
430
431 ## 25.11.2012, version 1.0.6
432
433 - Typo fix (global variable leak): https://github.com/css/csso/pull/110
434 - Attribute selectors extended by `|`.
435 - `not(..)` pseudo-class special support: https://github.com/css/csso/issues/111
436
437 ## 28.10.2012, version 1.0.5
438
439 - Better error line numbering: https://github.com/css/gonzales/issues/2
440
441 ## 11.10.2012, version 1.0.4
442
443 - CSSO issue (@page inside @media error): https://github.com/css/csso/issues/90
444
445 ## 10.10.2012, version 1.0.3
446
447 - Both .t-1 and .t-01 should be idents: https://github.com/css/gonzales/issues/1
448
449 ## 08.10.2012, version 1.0.2
450
451 - CSSO issue (filter + important breaks csso v1.3.1): https://github.com/css/csso/issues/87
452
453 ## 08.10.2012, version 1.0.1
454
455 - CSSO issue ("filter" IE property breaks CSSO v1.3.0): https://github.com/css/csso/issues/86
456
457 ## 03.10.2012, version 1.0.0
458
459 - First revision.