minify v2.7.0 Release Notes
Release Date: 2020-01-06 // over 4 years ago-
- ๐ Use custom URL encode/decode functions to fix #180 and #243
- ๐
Decimal
andNumber
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 toPrecision
- ๐ Move
Hash
definitions andEntitiesMap
fromtdewolff/parse
to this repository to prevent releasing new versions oftdewolff/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 booleanlargeArc
andsweep
- SVG: avoid precision errors for alternative (absolute or relative commands) path