FLUJOS/BACK_BACK/node_modules/htmlnano/CHANGELOG.md
2025-11-07 00:06:12 +01:00

8.7 KiB
Executable file

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.2.9 - 2021-04-11

Added

  • minifyConditionalComment support <html> #125.
  • Minify JS within <script type="module"> #135.

Fixed

  • collapseWhitespaces around comment #120.
  • handle CDATA inside script correctly #122.
  • Minify SVG correctly #129.

Changed

  • Upgrade to terser@5 (JS minification).

0.2.8 - 2020-11-15

Added

Changed

  • Sort by frequency sortAttributesWithLists #111.
  • Strip more spaces in collapseWhitespace #112.
  • Remove loading="eager" from <img> and <iframe> #114.
  • Remove redundant type from <script> #114.
  • Strip whitespaces between textnode and element #116.

0.2.7 - 2020-10-17

Added

  • More aggressive whitespace removal option #90.
  • Cloudflare SSE support to removeComments #94.
  • Improve compression ratio by sorting attribute values #95.
  • New minifyUrls module #98.
  • New removeAttributeQuotes module #104.
  • Remove type=text/css for link[rel=stylesheet] #102.
  • Collapse crossorigin attributes #107.
  • Exclude excerpt comment for common CMS #108.

Fixed

  • Keep JS inside SVG wrapped in //<![CDATA[ //]] #88.

0.2.6 - 2020-07-15

Added

  • Let PostHTML options to be passed.

Fixed

  • <script> tags merging without content.

0.2.5 - 2019-11-09

Added

  • Option to remove unused CSS using PurgeCSS #84.

Fixed

  • Keep the order of inline and external JS #80.

0.2.4 - 2019-07-11

Fixed

  • Remove crossorigin from boolean attribute #78, #79.
  • Disable SVGO plugin convertShapeToPath in safe preset #76.

0.2.3 - 2019-02-14

Fixed

  • Keep <g> in SVG by default #71.

0.2.2 - 2019-01-03

Added

  • removeUnusedCss module #36.

Fixed

  • Bug when tag === false #66.
  • Add crossorigin to boolean attributes #67.

0.2.1 - 2018-12-01

Fixed

  • Disable JS minifying on AMP pages #65.

0.2.0 - 2018-09-14

Breaking changes

  • The API of minifyCss module has been changed since cssnano has been updated to version 4, which has a different API. Check the following resources for more info:

Added

  • Add presets #64.
  • Add collapseAttributeWhitespace module for collapsing spaces in list-like attributes #25.
  • Add deduplicateAttributeValues module for de-duplicating values in list-like attributes #39.
  • Better support for AMP pages #59.
  • Collapse whitespaces between top-level tags #24.

Changed

  • Improve whitespace normalization using normalize-html-whitespace #21.

Fixed

  • Don't collapse visible="false" attributes in A-Frame pages #62.

0.1.10 - 2018-08-03

Fixed

  • Merging <script> tags without leading ; #55.

0.1.9 - 2018-04-29

Fixed

  • Default minification options safety #50.

0.1.8 - 2018-04-17

Fixed

  • ES6+ minification #48.

0.1.7 - 2018-03-13

Fixed

  • Update dependencies which also fixes the SVG minification bug #47.

0.1.6 - 2017-06-27

Fixed

  • "Not a function" error #42.

0.1.5 - 2016-04-24

Added

  • Minify SVG #28.
  • Merge <script> #19.

Changed

  • Remove redundant type="submit" from <button> #31.

Fixed

  • Windows build #30.

0.1.4 - 2016-02-16

Added

  • Minify JSON.
  • Merge multiple <style> into one.
  • Collapse boolean attributes.
  • Remove redundant attributes.
  • HTML minifiers benchmark #22.

Changed

  • Expand list of JSON-like mime types #20.

0.1.3 - 2016-02-09

Fixed

  • Don't alter HTML comments inside not relevant modules #17.

0.1.2 - 2016-02-07

Fixed

  • Don't remove conditional comments in safe mode #13.
  • Downgrade: String.startsWith -> String.search.

0.1.1 - 2016-01-31

Added

  • Minify CSS inside <style> tags and style attributes.
  • Minify JS inside <script> tags and on* attributes.

Changed

  • Remove attributes that contains only white spaces.