v0.19.0 - 2023-04-12
April 12, 2023 ยท View on GitHub
- Fix nesting edge case with comma separated selectors
- Thank you to @marapper for the contribution
v0.18.0 - 2021-05-11
- [breaking] Add basic postcss 8 support (older versions of PostCSS no longer compatible)
- Thank you to @delucis for the contribution
v0.17.0 - 2020-04-24
- Expand variables in AtRule properties
- Thank you to @pvande for the contribution
- Merged via https://github.com/MadLittleMods/postcss-css-variables/pull/121
v0.16.0 - 2020-04-24
- Add ability to pass callback function to
options.preserveto determine whether to preserve declaration- Thank you to @ekatioz for the contribution
v0.15.0 - 2020-04-24
- Fix algorithm to find balanced
var()pairs and nested parenthesis- Thank you to @Poetro for the contribution
v0.14.0 - 2019-11-24
- Fix regex in
resolve-value.jsto allow nested CSS functions- Thank you to @juliovedovatto for the contribution
v0.13.0 - 2019-06-17
- Add
options.preserveAtRulesOrderso media queries are outputted in the order they are defined (as expected)- Thank you to @erikthalen for the contribution via https://github.com/MadLittleMods/postcss-css-variables/pull/101
- Remove
calcfrom readme table of contents for non-existent section- Thank you to @AlexandreArpin for the contribution
v0.12.0 - 2019-02-21
- Accept whitespace in
var( --var )expression- Thank you to @benwest for the contribution
v0.11.0 - 2018-10-09
- Fix JS-defined variables using
isImportant, https://github.com/MadLittleMods/postcss-css-variables/pull/87
v0.10.0 - 2018-09-25
- Cast
opts.variablesvariable values to string- Thank you to @shonie for the contribution
v0.9.0 - 2018-06-26
- Adds
opts.preserveInjectedVariables, which when set tofalse, removes the:root { ... }custom property declarations added viaopts.variables- Thank you to @akdetrick for the contribution
v0.8.1 - 2018-03-21
- Log
undefinedvariables (available inresult.warnings())- Thank you to @pixeldrew for the contribution
v0.8.0 - 2017-08-08
- Remove PostCSS
moveTo/appenddeprecation warnings, #50- Thank you to @modosc for the contribution
v0.7.0 - 2017-03-12
- Resolve
varusage in fallbacks, #37
v0.6.0 - 2016-09-23
- Update/refactor readme
- Thank you to @isiahmeadows for the contribution
- Use string value for
undefinedvariables to play nice with other plugins downstream- Thank you to @vincentorback for the contribution
v0.5.2 - 2016-08-24
- Fix #42 where
opts.preservewas not working inside at-rules- Thank you to @muftiev for the contribution
v0.5.1 - 2015-10-24
- Fix postcss/postcss#611 where we were trying to remove the root node on clean up
- Improved test setup
v0.5.0 - 2015-09-12
- Upgrade to PostCSS v5. Fix #20
v0.4.0 - 2015-07-02
- Fix #15 - Remove slowness from cloning the
rootwithnode.clone().removeAll(). Now using./lib/shallow-clone-node.jsto avoid cloning children which will get removed right after. - Thank you to @ddprrt for bringing up the slowness issue in this article, PostCSS misconceptions.
v0.3.9 - 2015-06-29
- Remove
optsglobal leak. Fix #13
v0.3.8 - 2015-05-28
- Add support for pseudo selectors
:hover:before
v0.3.7 - 2015-05-27
- Fix #7: Support for child combinator
- Added tests for child-combinator/direct-descendant coverage
v0.3.6 - 2015-05-21
- Fix #6. Variable usage in comma separated selector to use proper scope
v0.3.5 - 2015-05-12
- Big refactor of code to reduce cyclomatic complexity. Still needs work though.
- Fix variable referencing another variable resolution when being changed by at-rule in non-root rule
v0.3.4 - 2015-05-12
- Fix variable referencing another variable resolution when being changed by at-rule
v0.3.3 - 2015-05-11
- Add support for last piece of combinator chain in selector resolution matching. -
.foo + .barcan match variables declared in.bar
v0.3.1 - 2015-05-05
- Large overhaul of code to make it more robust on proper scope resolution.
- Fix [#2]](https://github.com/MadLittleMods/postcss-css-variables/issues/2)
v0.2.3 - 2015-05-04
- Add support for CSS4 descendant selector
>>syntax
v0.2.2 - 2015-05-01
- Automatically prefix any variables defined in
options.variableswith--(according to CSS custom property syntax).
v0.2.1 - 2015-04-30
- Added support for descendant selector nesting instead of just physical space nesting
- Fixed issue with comma separated rules. It was throwing a undefined is not a function error
- Moved to external scope check
isUnderScopeinstead of integrated intoresolveValue - Added test for empty
var()call. See test/fixtures/empty-var-func.css
v0.1.0 - 2015-04-29
- First release