Skip to content

Releases: maltsev/htmlnano

3.0.0

22 Dec 10:41
3.0.0
4251629

Choose a tag to compare

Changed

  • SVGO has been upgraded to v4, which includes some breaking changes. This is the main reason for the major version bump in this release of htmlnano.

Added

2.1.5

19 Sep 09:24
2.1.5
d33cba7

Choose a tag to compare

Fixed

  • Broken CommonJS import (#373)

2.1.4

05 Sep 11:02
2.1.4
8a4952c

Choose a tag to compare

Fixed

  • Broken import (#342)

2.1.3

03 Sep 07:24
2.1.3
71563f4

Choose a tag to compare

Changed

  • Migrate to TypeScript (#336).
  • Remove docs/ from the npm package.

2.1.2

30 Apr 08:20
2.1.2
7dc260a

Choose a tag to compare

Added

  • skipInternalWarnings flag to avoid console.warn output [#293]

Fixed

  • Use Node.js sort instead of timsort [#328]

2.1.1

28 Apr 17:43

Choose a tag to compare

Fixed

  • Downlevel-revealed closing comment being deleted in safe mode [#278]

2.1.0

19 Oct 16:49

Choose a tag to compare

Added

  • Convert htmlnano to ES Modules [#260]

Fixed

  • Collapse white spaces according to specs [#257]

2.0.4

15 Apr 17:23

Choose a tag to compare

Fixed

  • Should not minify <script> and <style> with SRI [#220]
  • Should not merge <style> or <script> with SRI [#220]
  • Should not minify json with SRI [#220]

2.0.3

13 Nov 17:49

Choose a tag to compare

Added

  • Minify function for HtmlMinimizerWebpackPlugin

Fixed

  • collapseWhitespace: handle textNode when comment is preserved [#184]
  • minifyUrls: srcset & javascript: url [#185]
  • Correct missing value default usage
  • collapseBooleanAttributes: empty string attributes
  • Guard type of attributes' value [#195]
  • Do not choke on svg error [#197]

Changed

  • Minify based on invalid value default
  • Avoid hardcoding preset keys

2.0.2

01 Sep 19:04

Choose a tag to compare

Fixed

  • JSON-LD crash [#182]