minify v2.3.5 Release Notes

Release Date: 2018-06-08 // almost 6 years ago
    • CLI: Add bash completion for the minify command
    • CLI: improved error messages
    • ๐Ÿ›  CLI bugfix: don't open all files at once when concatenating, which usually panics when >10000 files are open
    • ๐Ÿ›  CLI bugfix: don't minify modified files twice when watching them
    • ๐Ÿ›  Bugfix: prevent panic on long decimals with negative exponent, where rewriting would previously cause longer numbers
    • HTML: accept alternative syntax for MS conditional comments
    • ๐Ÿ›  HTML bugfix: draggable is not a boolean
    • ๐Ÿ›  HTML bugfix: do not assume mediatype in <meta content="x">
    • CSS: add option for CSS2 numbers without exponents
    • CSS: trim space in url()
    • ๐Ÿ‘ CSS: minify box-shadow, background and @import better
    • ๐Ÿ›  CSS bugfix: prevent panic for functions with no arguments or end parenthesis
    • ๐Ÿ›  CSS bugfix: keep dimensions for zeros in flex property
    • ๐Ÿ›  CSS bugfix: keep other values for outline and border when width is zero
    • ๐Ÿ›  CSS bugfix: font normal now handled
    • ๐Ÿ›  CSS bugfix: add quotes to unquotes url() when we can remove the url function
    • ๐Ÿ›  CSS bugfix: only omit number dimensions for and
    • ๐Ÿ›  JS bugfix: ASI behaviour for template literals
    • ๐Ÿ›  JS bugfix: replace comment as space when comment is removed
    • ๐Ÿ›  JS bugfix: divide by regular expression
    • ๐Ÿšš SVG: don't remove empty groups anymore, as CSS or JS might rely on them
    • ๐Ÿ›  SVG bugfix: prevent panic on invalid pathdata for arcs