Releases: maltsev/htmlnano
Releases · maltsev/htmlnano
3.2.0
01 Mar 09:23
Compare
Sorry, something went wrong.
No results found
Changed
Refactor attribute normalization and sorting to avoid code duplication.
Make max preset more aggresive.
Use purgeCSS and default tool in removeUnusedCss.
Fixed
Handle exceptions raised by Terser.
3.1.0
03 Feb 13:58
Compare
Sorry, something went wrong.
No results found
This release touches almost the whole htmlnano code. Minifier modules are fully covered by tests, and many new edge cases were added, so I don’t expect regressions, but please be aware.
Added
minifyHtmlTemplate module to minify HTML inside template containers [#11 ].
removeEmptyElements module [#8 ].
minifyAttributes improvements: new module for meta refresh optimization and options for redundant whitespace handling [#37 ].
removeComments now supports a regex string in JSON config [#255 ].
Fallback SVG optimization.
Changed
Upgrade to PurgeCSS v8.
Expanded and hardened behavior across all minifier modules.
Updated SVGO peer dependency range to ^4.0.0 and synced peer/dev versions [#394 ].
Fixed
minifyJs preserves single quotes in handler attributes [#41 ].
minifyJs now pushes event-handler minification promises correctly [#398 ].
Fixed removeUnusedCss option typings [#401 ].
3.0.0
22 Dec 10:41
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Fixed
Broken CommonJS import (#373 )
2.1.4
05 Sep 11:02
Compare
Sorry, something went wrong.
No results found
2.1.3
03 Sep 07:24
Compare
Sorry, something went wrong.
No results found
Changed
Migrate to TypeScript (#336 ).
Remove docs/ from the npm package.
2.1.2
30 Apr 08:20
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Fixed
Downlevel-revealed closing comment being deleted in safe mode [#278 ]
2.1.0
19 Oct 16:49
Compare
Sorry, something went wrong.
No results found
Added
Convert htmlnano to ES Modules [#260 ]
Fixed
Collapse white spaces according to specs [#257 ]
2.0.4
15 Apr 17:23
Compare
Sorry, something went wrong.
No results found
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 ]