- Fix nesting edge case with comma separated selectors
- Thank you to @marapper for the contribution
- [breaking] Add basic postcss 8 support (older versions of PostCSS no longer compatible)
- Thank you to @delucis for the contribution
- Expand variables in AtRule properties
- Thank you to @pvande for the contribution
- Merged via #121
- Add ability to pass callback function to
options.preserve
to determine whether to preserve declaration- Thank you to @ekatioz for the contribution
- Fix algorithm to find balanced
var()
pairs and nested parenthesis- Thank you to @Poetro for the contribution
- Fix regex in
resolve-value.js
to allow nested CSS functions- Thank you to @juliovedovatto for the contribution
- Add
options.preserveAtRulesOrder
so media queries are outputted in the order they are defined (as expected)- Thank you to @erikthalen for the contribution via #101
- Remove
calc
from readme table of contents for non-existent section- Thank you to @AlexandreArpin for the contribution
- Accept whitespace in
var( --var )
expression- Thank you to @benwest for the contribution
- Fix JS-defined variables using
isImportant
, #87
- Cast
opts.variables
variable values to string- Thank you to @shonie for the contribution
- Adds
opts.preserveInjectedVariables
, which when set tofalse
, removes the:root { ... }
custom property declarations added viaopts.variables
- Thank you to @akdetrick for the contribution
- Log
undefined
variables (available inresult.warnings()
)- Thank you to @pixeldrew for the contribution
- Remove PostCSS
moveTo
/append
deprecation warnings, #50- Thank you to @modosc for the contribution
- Resolve
var
usage in fallbacks, #37
- Update/refactor readme
- Thank you to @isiahmeadows for the contribution
- Use string value for
undefined
variables to play nice with other plugins downstream- Thank you to @vincentorback for the contribution
- Fix #42 where
opts.preserve
was not working inside at-rules- Thank you to @muftiev for the contribution
- Fix postcss/postcss#611 where we were trying to remove the root node on clean up
- Improved test setup
- Upgrade to PostCSS v5. Fix #20
- Fix #15 - Remove slowness from cloning the
root
withnode.clone().removeAll()
. Now using./lib/shallow-clone-node.js
to avoid cloning children which will get removed right after. - Thank you to @ddprrt for bringing up the slowness issue in this article, PostCSS misconceptions.
- Remove
opts
global leak. Fix #13
- Add support for pseudo selectors
:hover
:before
- Fix #7: Support for child combinator
- Added tests for child-combinator/direct-descendant coverage
- Fix #6. Variable usage in comma separated selector to use proper scope
- 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
- Fix variable referencing another variable resolution when being changed by at-rule
- Add support for last piece of combinator chain in selector resolution matching. -
.foo + .bar
can match variables declared in.bar
- Large overhaul of code to make it more robust on proper scope resolution.
- Fix [#2]](#2)
- Add support for CSS4 descendant selector
>>
syntax
- Automatically prefix any variables defined in
options.variables
with--
(according to CSS custom property syntax).
- 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
isUnderScope
instead of integrated intoresolveValue
- Added test for empty
var()
call. See test/fixtures/empty-var-func.css
- First release