Skip to content

Releases: tbela99/css-parser

v1.1.0

13 Jul 11:35

Choose a tag to compare

  • inline sourcemap #82
  • css validation using mdn data #83
  • prefix removal #84

What's Changed

Full Changelog: v1.0.0...v1.1.0

v1.0.0

26 Apr 15:02

Choose a tag to compare

What's Changed

  • transform minification #75
  • keyframe minification #74
  • current color handling #78

Full Changelog: v0.9.1...v1.0.0

v0.9.1

05 Mar 09:12

Choose a tag to compare

What's Changed

  • multi-pass minification #66
  • nesting selector cannot match pseudo element #67
  • at-rule validation error #71

Full Changelog: v0.9.0...v0.9.1

v0.9.0

23 Feb 23:09

Choose a tag to compare

What's Changed

  • Media Queries Level 5 #53
  • incorrectly expand nesting rule #57
  • implement lenient validation. do not drop unknown at-rules, pseudo classes and declarations #55

Full Changelog: v0.8.0...v0.9.0

v0.8.0

21 Jan 03:13

Choose a tag to compare

What's Changed

  • fix nesting rules expansion #45
  • support more math function #50
  • fix compound selector parsing bug #51
  • at-rules and selectors validation, experimental css prefix removal #46

Full Changelog: v0.7.1...v0.8.0

v0.7.1

17 Sep 18:41

Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

14 Sep 14:34
fbe89ba

Choose a tag to compare

  • fix merging rules
    merging
.a {
    display: none;
}

.b {
    display: none;
}

.c {
    display: none;
}

would produce

.b,.c {
    display: none;
}
  • experimental CSS prefix removal
    • declaration name
    • declaration values
    • exclude -webkit-* gradients
  • css selector validation
    • pseudo element
    • partial pseudo class validation. does not validate parameters
    • attribute selector
    • combinator
    • simple selector
    • nested selector
    • strict mode: allow unknown items such as pseudo classes
      • allow unknown pseudo classes
      • allow unknown attribute selectors
  • strip universal selector when possible

What's Changed

  • add light-dark() and system colors #41 by @tbela99 in #42
  • fix merging rules, css selector validation, experimental prefix remov… by @tbela99 in #44

Full Changelog: v0.6.0...v0.7.0

v0.6.0

21 Jul 08:27

Choose a tag to compare

Add new colors

What's Changed

Full Changelog: v0.5.4...v0.6.0

v0.5.4

05 Jul 07:46

Choose a tag to compare

What's Changed

Full Changelog: v0.5.3...v0.5.4

v0.5.3

20 Jun 04:48

Choose a tag to compare

What's Changed

  • incorrectly expand css nesting rules #38

Full Changelog: v0.5.2...v0.5.3