Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Releases: postcss/postcss-custom-properties

8.0.6

26 Sep 04:42
Compare
Choose a tag to compare
  • Fixed: Issue with regular :root and html properties not getting polyfilled
  • Updated: postcss to 7.0.3 (patch)

8.0.5

21 Sep 15:39
Compare
Choose a tag to compare
  • Fixed: Issue with multiple importFrom not getting combined

8.0.4

21 Sep 01:04
Compare
Choose a tag to compare
  • Fixed: Do not break on an empty importFrom object

8.0.3

18 Sep 16:33
Compare
Choose a tag to compare
  • 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 and noValueNotifications options, as this should be the job of a linter tool
  • Removed: variables option, which is now replaced by importFrom
  • Removed: appendVariables option, which is now replaced by exportTo
  • Fixed: Custom Properties in :root are not also transformed
  • Fixed: Declarations that do not change are not duplicated during preserve

7.0.0

19 Feb 15:47
Compare
Choose a tag to compare
  • Changed: preserve option defaults as true to reflect the browser climate
  • Changed: warnings option defaults to false to reflect the browser climate

6.3.1

19 Feb 15:47
Compare
Choose a tag to compare
  • Reverted: preserve and warnings option to be added in major release

6.3.0

19 Feb 15:46
Compare
Choose a tag to compare
  • Fixed: var() captures strictly var() functions and not xvar(), etc
  • Fixed: var() better captures whitespace within the function
  • Fixed: comments within declarations using var() are now preserved
  • Changed: preserve option defaults as true to reflect the browser climate
  • Changed: warnings option defaults to false to reflect the browser climate
  • Updated documentation

6.2.0

26 Oct 06:28
Compare
Choose a tag to compare
  • Added: noValueNotifications option (#71)
  • Fixed: Typo in prefixedVariables variable name (#77)

6.1.0

26 Oct 06:28
Compare
Choose a tag to compare
  • Added: Let "warnings" option silence all warnings (#67)
  • Dependencies update (postcss, balanced-match)

6.0.1

15 May 06:59
Compare
Choose a tag to compare
  • Fixed: incorrect export