Skip to content

Commit 9e7176a

Browse files
committed
Prepare changelog with #112
1 parent bbbd64d commit 9e7176a

File tree

1 file changed

+52
-62
lines changed

1 file changed

+52
-62
lines changed

CHANGELOG.md

Lines changed: 52 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,139 +1,129 @@
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+
16
# v0.14.0 - 2019-11-24
27

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)
510

611
# v0.13.0 - 2019-6-17
712

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)
1217

1318
# v0.12.0 - 2019-2-21
1419

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)
1822

1923
# v0.11.0 - 2018-10-9
2024

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
2326

2427
# v0.10.0 - 2018-9-25
2528

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)
2931

3032
# v0.9.0 - 2018-6-26
3133

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)
3536

3637
# v0.8.1 - 2018-3-21
3738

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)
4141

4242
# v0.8.0 - 2017-8-8
4343

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)
4746

4847
# v0.7.0 - 2017-3-12
4948

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)
5351

5452
# v0.6.0 - 2016-9-23
5553

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)
6158

6259
# v0.5.2 - 2016-8-24
6360

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)
6763

6864
# v0.5.1 - 2015-10-24
6965

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
7268

7369
# v0.5.0 - 2015-9-12
7470

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)
7672

7773
# v0.4.0 - 2015-7-2
7874

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).
8476

8577
# v0.3.9 - 2015-6-29
8678

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)
8980

9081
# v0.3.8 - 2015-5-28
9182

92-
- Add support for pseudo selectors `:hover` `:before`
83+
- Add support for pseudo selectors `:hover` `:before`
9384

9485
# v0.3.7 - 2015-5-27
9586

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
9889

9990
# v0.3.6 - 2015-5-21
10091

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
10293

10394
# v0.3.5 - 2015-5-12
10495

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
10798

10899
# v0.3.4 - 2015-5-12
109100

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
111102

112103
# v0.3.3 - 2015-5-11
113104

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`
116106

117107
# v0.3.1 - 2015-5-5
118108

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)
121111

122112
# v0.2.3 - 2015-5-4
123113

124-
- Add support for CSS4 descendant selector `>>` syntax
114+
- Add support for CSS4 descendant selector `>>` syntax
125115

126116
# v0.2.2 - 2015-5-1
127117

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).
129119

130120
# v0.2.1 - 2015-4-30
131121

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)
136126

137127
# v0.1.0 - 2015-4-29
138128

139-
- First release
129+
- First release

0 commit comments

Comments
 (0)