5 :japanese_ogre: — be afraid of this change because it breaks the way things
7 :star: — some new thing has been added.
8 :green_apple: — some bad thing has been fixed.
10 ## 30.03.2020, version 4.3.0
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.
16 ## 22.03.2019, version 4.2.4
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()`.
23 ## 28.09.2017, version 4.2.3
25 :green_apple: Fixed parsing of empty `url()` in Sass and SCSS.
27 ## 30.08.2017, version 4.2.2
29 :green_apple: Fixed parsing of `/deep/` in CSS, LESS, Sass and SCSS.
31 ## 29.08.2017, version 4.2.1
33 :green_apple: Fixed parsing of `pseudo-element` in CSS, LESS, Sass and SCSS.
35 ## 29.08.2017, version 4.2.0
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.
46 ## 23.08.2017, version 4.1.1
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.
58 ## 20.11.2016, version 4.0.3
60 :green_apple: Fixed parsing of interpolations inside URI nodes in SCSS and Sass.
62 ## 18.11.2016, version 4.0.2
64 :green_apple: Fixed parsing of trailing newlines.
66 ## 18.11.2016, version 4.0.1
68 :japanese_ogre: Removed `postinstall` script.
70 ## 17.11.2016, version 4.0.0
72 :japanese_ogre: Dropped support for Node < 4.
73 :japanese_ogre: Brought back `postinstall` script that should allow installing
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)
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
85 :green_apple: Improved parsing of interpolations in SCSS and Sass.
86 :green_apple: Adjust parsing priority of declarations & atrule in Less.
88 ## 22.10.2016, version 3.4.7
90 :green_apple: Included forgotten test for #226.
91 :green_apple: Fixed issue when `!important` was not parsed as function argument.
93 ## 22.10.2016, version 3.4.6
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.
99 ## 20.10.2016, version 3.4.5
101 :green_apple: Change parser to strip DOS newlines from comments.
102 :star: Add links to README.md.
104 ## 12.08.2016, version 3.4.4
106 :green_apple: Fixed parsing of numbers following interpolation in class
107 selectors in Sass and SCSS.
109 ## 08.08.2016, version 3.4.3
111 :green_apple: Fixed parsing of unicode ranges.
113 ## 04.08.2016, version 3.4.2
115 :green_apple: Disable Google Closure Compiler due to some errors in parsing.
117 ## 27.07.2016, version 3.4.1
119 :star: Added publich script.
120 :green_apple: Fixed post-refactor error in Node#last method.
122 ## 27.07.2016, version 3.4.0
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.
132 ## 01.07.2016, version 3.3.6
134 :green_apple: Fixed parsing of nth selector without numbers before `n`.
136 ## 21.06.2016, version 3.3.5
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.
147 ## 18.05.2016, version 3.3.4
149 :green_apple: Fixed mistake from `@3.3.2` version when parent selector was
150 "correctly" parsed as property instead of value.
152 ## 18.05.2016, version 3.3.3
154 :green_apple: Fixed prepublish script to build lib.
156 ## 18.05.2016, version 3.3.2
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.
165 ## 29.04.2016, version 3.3.1
167 :star: Added config for AppVeyor to run automated tests on Windows.
168 :green_apple: Fix installation for Windows.
170 ## 28.04.2016, version 3.3.0
172 :star: Added browser support. `build.sh` now build a script that can be used in
175 ## 28.04.2016, version 3.2.7
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
181 :green_apple: Fixed incorrect CRLF line numbers.
182 :green_apple: Fixed parsing of extends that sometimes were incorrectly parsed
185 ## 07.02.2016, version 3.2.6
187 :green_apple: Fixed the issue with installation of the package with npm@3.
189 ## 07.02.2016, version 3.2.5
191 :green_apple: Fixed parsing of nested multiline selectors group.
193 ## 07.02.2016, version 3.2.4
195 :star: Added support for `!global` in Sass.
197 ## 07.02.2016, version 3.2.3
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.
208 ## 17.01.2016, version 3.2.2
210 :green_apple: Made `ParsingError#message` property writeable.
212 ## 19.10.2015, version 3.2.1
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.
220 ## 19.10.2015, version 3.2.0
224 :star: Added new node type: `parentSelectorExtension`.
228 :green_apple: Fixed parsing of parent selectors with extensions, like
229 `&__element` or `&--modifier`.
231 ## 19.10.2015, version 3.1.1
235 :green_apple: Fixed parsing of selectors starting or ending with a combinator
236 in Less, Sass and SCSS.
238 ## 18.10.2015, version 3.1.0
242 :green_apple: Fixed passing a `--context` argument.
243 :green_apple: Fixed printing of a simplified tree.
247 :star: Added new node type: `keyframesSelector`.
251 :green_apple: Fixed parsing of keyframes in all syntaxes.
253 ## 18.10.2015, version 3.0.3
257 :green_apple: Fixed parsing of spaces inside interpolations in Sass and SCSS.
259 ## 18.10.2015, version 3.0.2
263 :green_apple: Fixed the issue when operators were parsed as idents inside
264 parentheses in Sass and SCSS.
266 ## 18.10.2015, version 3.0.1
269 :green_apple: Fixed parsing of parent selectors in SCSS and Less.
270 :green_apple: Fixed parsing of placeholders inside selectors in SCSS.
272 ## 18.10.2015, version 3.0.0
276 :japanese_ogre: Made cli process stdin only if `-` argument is passed.
277 :star: Added help message.
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.
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.
299 :star: Added Travis badge to Readme page.
300 :star: Added init script to build sources.
301 :star: Added commit message template.
303 ## 05.10.2015, version 3.0.0-beta
307 :star: Added `--simple` flag for printing a simplified tree structure.
308 :green_apple: CLI now prints parse tree to stdout.
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.
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`.
358 :japanese_ogre: Spaces that separate two nodes are now put between those
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.
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.
385 ## 29.12.2013, version 2.0.2
387 - Sass includes can have both arguments list and content block,
388 i.e. `@include nani() { color: tomato }` is valid syntax.
390 ## 18.11.2013, version 2.0.1
392 - Bring back lost whitespaces and comments
394 ## 11.11.2013, version 2.0.0
396 - Support preprocessors: Sass (both SCSS and indented syntax), LESS.
398 - `arguments` (less and sass only)
400 - `commentSL` (less and sass only)
401 - `condition` (sass only)
402 - `default` (sass only)
403 - `escapedString` (less only)
404 - `include` (less and sass only)
406 - `mixin` (less and sass only)
407 - `parentselector` (less and sass only)
408 - `placeholder` (sass only)
410 - `variable` (less and sass only)
411 - `varialeList` (less and sass only)
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
426 ## 11.02.2013, version 1.0.7
428 - Identifiers like `_0` are identifiers now.
429 - Throw error instead of console.error: https://github.com/css/csso/issues/109
431 ## 25.11.2012, version 1.0.6
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
437 ## 28.10.2012, version 1.0.5
439 - Better error line numbering: https://github.com/css/gonzales/issues/2
441 ## 11.10.2012, version 1.0.4
443 - CSSO issue (@page inside @media error): https://github.com/css/csso/issues/90
445 ## 10.10.2012, version 1.0.3
447 - Both .t-1 and .t-01 should be idents: https://github.com/css/gonzales/issues/1
449 ## 08.10.2012, version 1.0.2
451 - CSSO issue (filter + important breaks csso v1.3.1): https://github.com/css/csso/issues/87
453 ## 08.10.2012, version 1.0.1
455 - CSSO issue ("filter" IE property breaks CSSO v1.3.0): https://github.com/css/csso/issues/86
457 ## 03.10.2012, version 1.0.0