|
| 1 | +# v0.15.0 - 2020-4-24 |
| 2 | + |
| 3 | +- Fix algorithm to find balanced `var()` pairs and nested parenthesis |
| 4 | + - Thank you to [@Poetro](https://github.com/juliovedovatto) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/112) |
| 5 | + |
1 | 6 | # v0.14.0 - 2019-11-24
|
2 | 7 |
|
3 |
| - - Fix regex in `resolve-value.js` to allow nested CSS functions |
4 |
| - - Thank you to [@juliovedovatto](https://github.com/juliovedovatto) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/97) |
| 8 | +- Fix regex in `resolve-value.js` to allow nested CSS functions |
| 9 | + - Thank you to [@juliovedovatto](https://github.com/juliovedovatto) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/97) |
5 | 10 |
|
6 | 11 | # v0.13.0 - 2019-6-17
|
7 | 12 |
|
8 |
| - - Add `options.preserveAtRulesOrder` so media queries are outputted in the order they are defined (as expected) |
9 |
| - - Thank you to [@erikthalen](https://github.com/erikthalen) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/92) via https://github.com/MadLittleMods/postcss-css-variables/pull/101 |
10 |
| - - Remove `calc` from readme table of contents for non-existent section |
11 |
| - - Thank you to [@AlexandreArpin](https://github.com/AlexandreArpin) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/99) |
| 13 | +- Add `options.preserveAtRulesOrder` so media queries are outputted in the order they are defined (as expected) |
| 14 | + - Thank you to [@erikthalen](https://github.com/erikthalen) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/92) via https://github.com/MadLittleMods/postcss-css-variables/pull/101 |
| 15 | +- Remove `calc` from readme table of contents for non-existent section |
| 16 | + - Thank you to [@AlexandreArpin](https://github.com/AlexandreArpin) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/99) |
12 | 17 |
|
13 | 18 | # v0.12.0 - 2019-2-21
|
14 | 19 |
|
15 |
| - - Accept whitespace in `var( --var )` expression |
16 |
| - - Thank you to [@benwest](https://github.com/benwest) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/93) |
17 |
| - |
| 20 | +- Accept whitespace in `var( --var )` expression |
| 21 | + - Thank you to [@benwest](https://github.com/benwest) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/93) |
18 | 22 |
|
19 | 23 | # v0.11.0 - 2018-10-9
|
20 | 24 |
|
21 |
| - - Fix JS-defined variables using `isImportant`, https://github.com/MadLittleMods/postcss-css-variables/pull/87 |
22 |
| - |
| 25 | +- Fix JS-defined variables using `isImportant`, https://github.com/MadLittleMods/postcss-css-variables/pull/87 |
23 | 26 |
|
24 | 27 | # v0.10.0 - 2018-9-25
|
25 | 28 |
|
26 |
| - - Cast `opts.variables` variable values to string |
27 |
| - - Thank you to [@shonie](https://github.com/shonie) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/84) |
28 |
| - |
| 29 | +- Cast `opts.variables` variable values to string |
| 30 | + - Thank you to [@shonie](https://github.com/shonie) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/84) |
29 | 31 |
|
30 | 32 | # v0.9.0 - 2018-6-26
|
31 | 33 |
|
32 |
| - - Adds `opts.preserveInjectedVariables`, which when set to `false`, removes the `:root { ... }` custom property declarations added via `opts.variables` |
33 |
| - - Thank you to [@akdetrick](https://github.com/akdetrick) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/74) |
34 |
| - |
| 34 | +- Adds `opts.preserveInjectedVariables`, which when set to `false`, removes the `:root { ... }` custom property declarations added via `opts.variables` |
| 35 | + - Thank you to [@akdetrick](https://github.com/akdetrick) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/74) |
35 | 36 |
|
36 | 37 | # v0.8.1 - 2018-3-21
|
37 | 38 |
|
38 |
| - - Log `undefined` variables (available in `result.warnings()`) |
39 |
| - - Thank you to [@pixeldrew](https://github.com/pixeldrew) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/69) |
40 |
| - |
| 39 | +- Log `undefined` variables (available in `result.warnings()`) |
| 40 | + - Thank you to [@pixeldrew](https://github.com/pixeldrew) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/69) |
41 | 41 |
|
42 | 42 | # v0.8.0 - 2017-8-8
|
43 | 43 |
|
44 |
| - - Remove PostCSS `moveTo`/`append` deprecation warnings, [#50](https://github.com/MadLittleMods/postcss-css-variables/issues/50) |
45 |
| - - Thank you to [@modosc](https://github.com/modosc) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/56) |
46 |
| - |
| 44 | +- Remove PostCSS `moveTo`/`append` deprecation warnings, [#50](https://github.com/MadLittleMods/postcss-css-variables/issues/50) |
| 45 | + - Thank you to [@modosc](https://github.com/modosc) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/56) |
47 | 46 |
|
48 | 47 | # v0.7.0 - 2017-3-12
|
49 | 48 |
|
50 |
| - - Resolve `var` usage in fallbacks, [#37](https://github.com/MadLittleMods/postcss-css-variables/issues/37) |
51 |
| - - Thank you to [@asvny](https://github.com/asvny) and [@marklu](https://github.com/marklu) for the contribution, [#39](https://github.com/MadLittleMods/postcss-css-variables/issues/39) -> [#49](https://github.com/MadLittleMods/postcss-css-variables/pull/49) |
52 |
| - |
| 49 | +- Resolve `var` usage in fallbacks, [#37](https://github.com/MadLittleMods/postcss-css-variables/issues/37) |
| 50 | + - Thank you to [@asvny](https://github.com/asvny) and [@marklu](https://github.com/marklu) for the contribution, [#39](https://github.com/MadLittleMods/postcss-css-variables/issues/39) -> [#49](https://github.com/MadLittleMods/postcss-css-variables/pull/49) |
53 | 51 |
|
54 | 52 | # v0.6.0 - 2016-9-23
|
55 | 53 |
|
56 |
| - - Update/refactor readme |
57 |
| - - Thank you to [@isiahmeadows](github.com/isiahmeadows) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/36) |
58 |
| - - Use string value for `undefined` variables to play nice with other plugins downstream |
59 |
| - - Thank you to [@vincentorback](github.com/vincentorback) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/44) |
60 |
| - |
| 54 | +- Update/refactor readme |
| 55 | + - Thank you to [@isiahmeadows](github.com/isiahmeadows) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/36) |
| 56 | +- Use string value for `undefined` variables to play nice with other plugins downstream |
| 57 | + - Thank you to [@vincentorback](github.com/vincentorback) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/44) |
61 | 58 |
|
62 | 59 | # v0.5.2 - 2016-8-24
|
63 | 60 |
|
64 |
| - - Fix [#42](https://github.com/MadLittleMods/postcss-css-variables/issues/42) where `opts.preserve` was not working inside at-rules |
65 |
| - - Thank you to [@muftiev](github.com/muftiev) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/43) |
66 |
| - |
| 61 | +- Fix [#42](https://github.com/MadLittleMods/postcss-css-variables/issues/42) where `opts.preserve` was not working inside at-rules |
| 62 | + - Thank you to [@muftiev](github.com/muftiev) for the [contribution](https://github.com/MadLittleMods/postcss-css-variables/pull/43) |
67 | 63 |
|
68 | 64 | # v0.5.1 - 2015-10-24
|
69 | 65 |
|
70 |
| - - Fix [postcss/postcss#611](https://github.com/postcss/postcss/issues/611) where we were trying to remove the root node on clean up |
71 |
| - - Improved test setup |
| 66 | +- Fix [postcss/postcss#611](https://github.com/postcss/postcss/issues/611) where we were trying to remove the root node on clean up |
| 67 | +- Improved test setup |
72 | 68 |
|
73 | 69 | # v0.5.0 - 2015-9-12
|
74 | 70 |
|
75 |
| - - Upgrade to PostCSS v5. Fix [#20](https://github.com/MadLittleMods/postcss-css-variables/issues/20) |
| 71 | +- Upgrade to PostCSS v5. Fix [#20](https://github.com/MadLittleMods/postcss-css-variables/issues/20) |
76 | 72 |
|
77 | 73 | # v0.4.0 - 2015-7-2
|
78 | 74 |
|
79 |
| - - Fix [#15](https://github.com/MadLittleMods/postcss-css-variables/issues/15) |
80 |
| - - Remove slowness from cloning the `root` with `node.clone().removeAll()`. Now using `./lib/shallow-clone-node.js` to avoid cloning children which will get removed right after. |
81 |
| - - Thank you to [@ddprrt](https://github.com/ddprrt) for bringing up the slowness issue in this article, [PostCSS misconceptions](https://medium.com/@ddprrt/postcss-misconceptions-faf5dc5038df). |
82 |
| - |
83 |
| - |
| 75 | +- Fix [#15](https://github.com/MadLittleMods/postcss-css-variables/issues/15) - Remove slowness from cloning the `root` with `node.clone().removeAll()`. Now using `./lib/shallow-clone-node.js` to avoid cloning children which will get removed right after. - Thank you to [@ddprrt](https://github.com/ddprrt) for bringing up the slowness issue in this article, [PostCSS misconceptions](https://medium.com/@ddprrt/postcss-misconceptions-faf5dc5038df). |
84 | 76 |
|
85 | 77 | # v0.3.9 - 2015-6-29
|
86 | 78 |
|
87 |
| - - Remove `opts` global leak. Fix [#13](https://github.com/MadLittleMods/postcss-css-variables/issues/13) |
88 |
| - |
| 79 | +- Remove `opts` global leak. Fix [#13](https://github.com/MadLittleMods/postcss-css-variables/issues/13) |
89 | 80 |
|
90 | 81 | # v0.3.8 - 2015-5-28
|
91 | 82 |
|
92 |
| - - Add support for pseudo selectors `:hover` `:before` |
| 83 | +- Add support for pseudo selectors `:hover` `:before` |
93 | 84 |
|
94 | 85 | # v0.3.7 - 2015-5-27
|
95 | 86 |
|
96 |
| - - Fix [#7](https://github.com/MadLittleMods/postcss-css-variables/issues/7): Support for child combinator |
97 |
| - - Added tests for child-combinator/direct-descendant coverage |
| 87 | +- Fix [#7](https://github.com/MadLittleMods/postcss-css-variables/issues/7): Support for child combinator |
| 88 | +- Added tests for child-combinator/direct-descendant coverage |
98 | 89 |
|
99 | 90 | # v0.3.6 - 2015-5-21
|
100 | 91 |
|
101 |
| - - Fix [#6](https://github.com/MadLittleMods/postcss-css-variables/issues/6). Variable usage in comma separated selector to use proper scope |
| 92 | +- Fix [#6](https://github.com/MadLittleMods/postcss-css-variables/issues/6). Variable usage in comma separated selector to use proper scope |
102 | 93 |
|
103 | 94 | # v0.3.5 - 2015-5-12
|
104 | 95 |
|
105 |
| - - Big refactor of code to reduce cyclomatic complexity. Still needs work though. |
106 |
| - - Fix variable referencing another variable resolution when being changed by at-rule in non-root rule |
| 96 | +- Big refactor of code to reduce cyclomatic complexity. Still needs work though. |
| 97 | +- Fix variable referencing another variable resolution when being changed by at-rule in non-root rule |
107 | 98 |
|
108 | 99 | # v0.3.4 - 2015-5-12
|
109 | 100 |
|
110 |
| - - Fix variable referencing another variable resolution when being changed by at-rule |
| 101 | +- Fix variable referencing another variable resolution when being changed by at-rule |
111 | 102 |
|
112 | 103 | # v0.3.3 - 2015-5-11
|
113 | 104 |
|
114 |
| - - Add support for last piece of combinator chain in selector resolution matching. |
115 |
| - - `.foo + .bar` can match variables declared in `.bar` |
| 105 | +- Add support for last piece of combinator chain in selector resolution matching. - `.foo + .bar` can match variables declared in `.bar` |
116 | 106 |
|
117 | 107 | # v0.3.1 - 2015-5-5
|
118 | 108 |
|
119 |
| - - Large overhaul of code to make it more robust on proper scope resolution. |
120 |
| - - Fix [#2]](https://github.com/MadLittleMods/postcss-css-variables/issues/2) |
| 109 | +- Large overhaul of code to make it more robust on proper scope resolution. |
| 110 | +- Fix [#2]](https://github.com/MadLittleMods/postcss-css-variables/issues/2) |
121 | 111 |
|
122 | 112 | # v0.2.3 - 2015-5-4
|
123 | 113 |
|
124 |
| - - Add support for CSS4 descendant selector `>>` syntax |
| 114 | +- Add support for CSS4 descendant selector `>>` syntax |
125 | 115 |
|
126 | 116 | # v0.2.2 - 2015-5-1
|
127 | 117 |
|
128 |
| - - Automatically prefix any variables defined in `options.variables` with `--` (according to CSS custom property syntax). |
| 118 | +- Automatically prefix any variables defined in `options.variables` with `--` (according to CSS custom property syntax). |
129 | 119 |
|
130 | 120 | # v0.2.1 - 2015-4-30
|
131 | 121 |
|
132 |
| - - Added support for descendant selector nesting instead of just physical space nesting |
133 |
| - - Fixed issue with comma separated rules. It was throwing a undefined is not a function error |
134 |
| - - Moved to external scope check `isUnderScope` instead of integrated into `resolveValue` |
135 |
| - - Added test for empty `var()` call. See [test/fixtures/empty-var-func.css](https://github.com/MadLittleMods/postcss-css-variables/blob/master/test/fixtures/empty-var-func.css) |
| 122 | +- Added support for descendant selector nesting instead of just physical space nesting |
| 123 | +- Fixed issue with comma separated rules. It was throwing a undefined is not a function error |
| 124 | +- Moved to external scope check `isUnderScope` instead of integrated into `resolveValue` |
| 125 | +- Added test for empty `var()` call. See [test/fixtures/empty-var-func.css](https://github.com/MadLittleMods/postcss-css-variables/blob/master/test/fixtures/empty-var-func.css) |
136 | 126 |
|
137 | 127 | # v0.1.0 - 2015-4-29
|
138 | 128 |
|
139 |
| - - First release |
| 129 | +- First release |
0 commit comments