Skip to content

Releases: projectwallace/css-analyzer

v5.0.2

01 Feb 15:09
Compare
Choose a tag to compare

Fixes

  • fix cases where .ratio would end up as NaN in #214

Full Changelog: v5.0.1...v5.0.2

v5.0.1

01 Feb 14:07
Compare
Choose a tag to compare

Fixes

  • Fix require() for CommonJS in #212

Full Changelog: v5.0.0...v5.0.1

v5.0.0

30 Dec 14:22
Compare
Choose a tag to compare

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

v5.0.0-alpha.2

30 Dec 14:17
Compare
Choose a tag to compare
v5.0.0-alpha.2 Pre-release
Pre-release

V5: faster, more detailed and browser compatible

  • Drop support for Node 8 and 10 (Node.js releases)
  • Rename all metrics ending on .share to .ratio
  • Rename stylesheets to stylesheet
  • Remove stylesheets.browserhacks
  • Remove stylesheets.cohesion (now rules.selectors.mean)
  • Remove atrules.documents
  • Remove atrules.mediaqueries.browserhacks
  • Add atrules.keyframes.prefixed
  • Drop atrules.namespace.*
  • Drop atrules.page.*
  • Drop atrules.supports.browserhacks.*
  • Remove stylesheets.simplicity(now rules.selectors.mean)
  • Add rules.selectors.mean/median/mode/etc
  • Add rules.declarations.mea/median/mode
  • Remove selectors.js.*
  • Add selectors.specificity.*
  • Add selectors.complexity.*
  • Remove selectors.browserhacks.*
  • Remove values.total
  • Remove values.browserhacks.*
  • Remove values.colors.duplicate.*

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

v5.0.0-alpha.1

30 Dec 13:44
Compare
Choose a tag to compare
v5.0.0-alpha.1 Pre-release
Pre-release

V5: faster, more detailed and browser compatible

  • Drop support for Node 8 and 10 (Node.js releases)
  • Rename all metrics ending on .share to .ratio
  • Rename stylesheets to stylesheet
  • Remove stylesheets.browserhacks
  • Remove stylesheets.cohesion (now rules.selectors.mean)
  • Remove atrules.documents
  • Remove atrules.mediaqueries.browserhacks
  • Add atrules.keyframes.prefixed
  • Drop atrules.namespace.*
  • Drop atrules.page.*
  • Drop atrules.supports.browserhacks.*
  • Remove stylesheets.simplicity(now rules.selectors.mean)
  • Add rules.selectors.mean/median/mode/etc
  • Add rules.declarations.mea/median/mode
  • Remove selectors.js.*
  • Add selectors.specificity.*
  • Add selectors.complexity.*
  • Remove selectors.browserhacks.*
  • Remove values.total
  • Remove values.browserhacks.*
  • Remove values.colors.duplicate.*

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

Don't break on throwing an Error 😬

01 Feb 21:03
Compare
Choose a tag to compare

The latest releases introduced a bug where an error was caused when the Analyzer was trying to throw an error. Fixed it. 0157385

Hotfix: error.showSourceCode is not a function

31 Jan 22:41
Compare
Choose a tag to compare

A quick and dirty fix for error.showSourceCode is not a function f695a04

Fix NPM release Action

31 Jan 22:25
Compare
Choose a tag to compare
v4.0.1

4.0.1

4.0.0

31 Jan 21:50
0d26b04
Compare
Choose a tag to compare
  • BREAKING drop Node 8 support 395524d
  • BREAKING remove brotli size reporting 395524d
  • BREAKING remove stylesheets.size b6ce0ec
  • BREAKING convert @font-face to use declaration objects instead of key-values 077fb9b
  • FIXED don't throw an error on trailing commas in selector lists ac8355f
  • Update dependencies

Drop node 8 support, drop brotli support

17 Mar 22:33
Compare
Choose a tag to compare
  • BREAKING drop Node 8 support
  • BREAKING remove brotli size reporting
  • BREAKING remove stylesheets.size
  • Update dependencies