This repository was archived by the owner on Feb 18, 2022. It is now read-only.
Releases: postcss/postcss-custom-properties
Releases · postcss/postcss-custom-properties
8.0.6
- Fixed: Issue with regular
:root
andhtml
properties not getting polyfilled - Updated:
postcss
to 7.0.3 (patch)
8.0.5
- Fixed: Issue with multiple
importFrom
not getting combined
8.0.4
- Fixed: Do not break on an empty
importFrom
object
8.0.3
- Added: New
exportTo
function to specify where to export custom properties to - Added: New
importFrom
option to specify where to import custom properties from - Added: Support for variables written within
html
- Added: Support for PostCSS 7+
- Added: Support for PostCSS Values Parser 2+
- Added: Support for Node 6+
- Removed:
strict
option, as using the fallback value isn’t necessarily more valid. - Removed:
preserve: "computed"
option, as there seems to be little use in preserving custom property declarations while removing all usages of them - Removed:
warnings
andnoValueNotifications
options, as this should be the job of a linter tool - Removed:
variables
option, which is now replaced byimportFrom
- Removed:
appendVariables
option, which is now replaced byexportTo
- Fixed: Custom Properties in
:root
are not also transformed - Fixed: Declarations that do not change are not duplicated during preserve
7.0.0
- Changed:
preserve
option defaults astrue
to reflect the browser climate - Changed:
warnings
option defaults tofalse
to reflect the browser climate
6.3.1
- Reverted:
preserve
andwarnings
option to be added in major release
6.3.0
- Fixed:
var()
captures strictlyvar()
functions and notxvar()
, etc - Fixed:
var()
better captures whitespace within the function - Fixed: comments within declarations using
var()
are now preserved - Changed:
preserve
option defaults astrue
to reflect the browser climate - Changed:
warnings
option defaults tofalse
to reflect the browser climate - Updated documentation
6.2.0
6.1.0
6.0.1
- Fixed: incorrect export