Skip to content

Releases: postcss/postcss-calc

v8.0.0

03 Jan 16:22
Compare
Choose a tag to compare

8.0.0

  • Breaking: Updated PostCSS from v7.x to v8.x (#125)

v7.0.5

03 Oct 13:42
Compare
Choose a tag to compare

7.0.5

  • Fixed: reduction

v7.0.4

01 Sep 11:28
Compare
Choose a tag to compare

7.0.4

  • Fixed: strips away important factors from multiplications in calc() (#107)

v7.0.3

07 Aug 13:33
Compare
Choose a tag to compare

7.0.3

  • Fixed: substracted css-variable from zero (#111)

7.0.2

18 Feb 08:25
Compare
Choose a tag to compare
  • Fixed: incorrect reduction of subtraction from zero (#88)
  • Fixed: doesn't remove calc for single function
  • Fixed: relax parser on unknown units (#76)
  • Fixed: handle numbers with exponen composed (#83)
  • Fixed: handle plus sign before value (#79)
  • Fixed: better handle precision for nested calc (#75)
  • Fixed: properly handle nested add and sub expression inside sub expression (#64)
  • Fixed: handle uppercase units and functions (#71)
  • Fixed: do not break calc with single var (cssnano/cssnano#725)
  • Updated: postcss to 7.0.27 (patch)
  • Updated: postcss-selector-parser to 6.0.2
  • Updated: postcss-value-parser to 4.0.2

7.0.1

25 Oct 03:11
1738250
Compare
Choose a tag to compare
  • Updated: postcss to 7.0.2 (patch)
  • Updated: postcss-selector-parser to 5.0.0-rc.4 (patch)
  • Updated: postcss-value-parser to 3.3.1 (patch)

7.0.0

15 Oct 16:26
Compare
Choose a tag to compare
  • Changed: Updated postcss-selector-parser to version 5.0.0-rc.3
  • Changed: Dropped reduce-css-calc as a dependency
  • Fixed: Support constant() and env() (#42, #48)
  • Fixed: Support custom properties with "calc" in its name (#50)
  • Fixed: Remove unnecessary whitespace around * and / (cssnano#625)
  • Fixed: Arithmetic bugs around subtraction (#49)
  • Fixed: Handling of nested calc statements (reduce-css-calc#49)
  • Fixed: Bugs regarding complex calculations (reduce-cs-calc#45)
  • Fixed: 100% incorrectly being transformed to 1 (reduce-css-calc#44)
  • Added: support for case-insensitive calc statements

6.0.1

09 Nov 08:16
Compare
Choose a tag to compare
  • Fixed: throwing error for attribute selectors without a value

6.0.0

08 May 20:29
Compare
Choose a tag to compare
  • Breaking: Updated PostCSS from v5.x to v6.x, and reduce-css-calc from v1.x
    to v2.x (thanks to @andyjansson).

5.3.1

22 Aug 08:59
Compare
Choose a tag to compare
  • Fixed: avoid security issue related to reduce-css-calc@< 1.2.4.