Skip to content

Releases: kangax/html-minifier

4.0.0

01 Apr 18:46
4beb325
Compare
Choose a tag to compare

Bug fixes

  • handle custom fragments within CSS/JS correctly (#1001, #1015)

Changes

  • Drop Node.js < 6 support

Improvements

  • implement continueOnParseError to treat invalid characters as text (#1004)
  • minify Content-Security-Policy (#947, #975, #1014)
  • upgrade to commander 2.19.0
  • upgrade to grunt-contrib-uglify 4.0.1
  • upgrade to gruntify-eslint 5.0.0
  • upgrade to uglify-js 3.5.1

3.5.20

19 Aug 08:57
Compare
Choose a tag to compare

Bug fixes

  • handle custom fragments inside CSS more gracefully (#928, #929, #950)

Improvements

  • upgrade to clean-css 4.2.1
  • upgrade to commander 2.17.1

3.5.19

13 Jul 08:44
Compare
Choose a tag to compare

Bug fixes

  • handle maxLineLength precisely around custom fragments & <!-- htmlmin:ignore --> (#930, #945)

Improvements

  • prefer https:// in documentation (#943)
  • convert to <!doctype html> for compressibility (#822, #944)

3.5.18

03 Jul 07:11
Compare
Choose a tag to compare

Bug fixes

  • fix DOCTYPE parsing (#938, #939)
  • ensure CLI accepts --minify-urls

Improvements

  • upgrade to commander 2.16.0

3.5.17

25 Jun 20:50
Compare
Choose a tag to compare

Improvements

  • upgrade to uglify-js 3.4.2

3.5.16

20 May 18:37
Compare
Choose a tag to compare

Bug fixes

  • handle empty class attributes (#921, #922)

3.5.15

16 Apr 18:22
Compare
Choose a tag to compare

Improvements

  • supply context to minifyCSS custom processor (#909)
  • preserve input options (#910)
  • upgrade to grunt-browserify 5.3.0

3.5.14

07 Apr 19:50
Compare
Choose a tag to compare

Bug fixes

  • preserve whitespace around <ruby> (#904, #905)

3.5.13

31 Mar 12:09
Compare
Choose a tag to compare

Bug fixes

  • fix race in QUnit web test (#899)

Improvements

  • reduce dependencies (#898)

3.5.12

19 Mar 18:37
Compare
Choose a tag to compare

Bug fixes

  • fix corner case in decodeEntities (#893, #894)