minify v2.9.7 Release Notes

Release Date: 2020-10-01 // 28 days ago
    • cmd: add JS options
    • ๐Ÿ”€ JS: remove unassigned bindings in for statement initializer when it cannot be merged with variable declaration
    • JS: use Precision option in minifying numbers
    • SVG: fix bugs in skipping foreignObject tags

Previous changes from v2.9.5

    • cmd: minify input even if extension is unknown but type/mimetype is given
    • โฑ CSS: fix timeout in property with many commas
    • ๐Ÿ›  CSS: convert RGBA to transparent only if the color is fully transparent black (and not any other transparent color), fixes #332
    • CSS: fix crash when rgb/rgba functions have less than three arguments
    • ๐Ÿ›  CSS: fix box-shadow value none conversion to 0 0 as they are not equivalent, fixes #332
    • ๐Ÿšš HTML: remove space between attributes when after a quoted value
    • ๐Ÿ›  HTML: keep empty title and lang attributes, fixes #331
    • ๐Ÿ”€ JS: merge variable declarations even if one has an ObjectPattern
    • ๐Ÿšš JS: remove trailing commas in BindingArray (except when Rest ellipsis is set)
    • ๐Ÿ›  JS: add parenthesis around object literal in arrow function body, fixes #333