Skip to content

v5.0.0

Compare
Choose a tag to compare
@bartveneman bartveneman released this 30 Dec 14:22
· 196 commits to master since this release

V5: faster, more detailed and browser compatible

Breaking 🔥

  • Drop support for Node 8 and 10 (see Node.js releases)
  • Rename all metrics ending on .share to .ratio
  • Rename stylesheets to stylesheet
  • Remove stylesheets.browserhacks.*
  • Remove stylesheets.cohesion (replaced with rules.selectors.mean)
  • Remove atrules.documents.*
  • Remove atrules.mediaqueries.browserhacks.*
  • Remove atrules.namespace.*
  • Remove atrules.page.*
  • Remove atrules.supports.browserhacks.*
  • Remove stylesheets.simplicity (replaced by rules.selectors.mean`)
  • Remove selectors.js.*
  • Remove selectors.browserhacks.*
  • Remove values.total
  • Remove values.browserhacks.*
  • Remove values.colors.duplicate.*

New features

  • Add atrules.keyframes.prefixed.*
  • Add rules.selectors.mean/median/mode/etc
  • Add rules.declarations.mean/median/mode
  • Add selectors.specificity.*
  • Add selectors.complexity.*

Closes #207, #206, #200, #184, #183, #181, #148, #142, #129, #121, #83, #59