Releases: posthtml/htmlnano
Releases · posthtml/htmlnano
1.0.0
After more than 4 years of development, it's time to release a stable 1.0.0 version 🎉
It doesn't contain anything new from the previous 0.2.9 release.
We just did a major upgrade of two dependencies: PurgeCSS and SVGO,
which changed their config format.
Thus we have to do a major release of htmlnano
.
You can safely upgrade to [email protected]
if you don't pass any config to minifySvg
or removeUnusedCss
(while used with PurgeCSS) modules.
Otherwise, you have to adapt the config according to the new PurgeCSS@3 and SVGO@2 config format.
0.2.9
0.2.8
Added
removeOptionalTags
#110.sortAttributes
#113.source[src]
andsrcset
support tominifyUrls
#117.minifyConditionalComments
#119.
Changed
0.2.7
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
forlink[rel=stylesheet]
#102. - Collapse
crossorigin
attributes #107. - Exclude excerpt comment for common CMS #108.
Fixed
- Keep JS inside SVG wrapped in
//<![CDATA[ //]]
#88.