minify v2.7.0 Release Notes

Release Date: 2020-01-06 // over 2 years ago
    • ๐Ÿ‘‰ Use custom URL encode/decode functions to fix #180 and #243
    • ๐Ÿ›  Decimal and Number now take precision to mean the number of significant digits, and not the number of digits behind the dot (decimals); includes a few subtle bugfixes. Decimals option renamed to Precision
    • ๐Ÿšš Move Hash definitions and EntitiesMap from tdewolff/parse to this repository to prevent releasing new versions of tdewolff/parse everytime
    • ๐Ÿ”€ cmd: add --sync functionality
    • cmd: make --watch work for newly created directories
    • ๐Ÿ›  cmd: various fixes and improved messages
    • ๐Ÿ›  CSS: keep quotes around IE font families, fixes #251
    • ๐Ÿ”จ CSS: major refactor to allow nested functions to be minified
    • CSS: improved HSL/RGB minification
    • CSS: minify more properties: color, background-color, border-color, border-*-color, caret-color, outline-color, fill, stroke, column-rule, text-shadow, text-decoration, text-emphasis, flex, flex-*, order, fixes #217
    • ๐Ÿ‘ CSS: minify background better if it has multiple layers
    • CSS: improve box-shadow minification
    • CSS: accept CSS functions where numbers/lengths are required, such as calc, min, max, clamp, attr, var
    • ๐Ÿ–จ SVG: print new path command after bad command, fixes #275
    • ๐Ÿ–จ SVG: print A command correctly with boolean largeArc and sweep
    • SVG: avoid precision errors for alternative (absolute or relative commands) path