Releases: tdewolff/minify
Releases · tdewolff/minify
v2.8.0
WARNING for package maintainers, some files have been renamed, adjust your build scripts accordingly.
- Use Makefile instead of GoReleaser to build releases for all architectures, use
make release
. This fixes theREADME.md
file location inside the archives to be in the root of the archive - Release archives will no longer have the version name explicitly stated, fixes #316
- Remove
cmd/minify/install.sh
, usemake install
instead - Rename
cmd/minify/minify_bash_tab_completion
tocmd/minify/bash_completion
- Rename
LICENSE.md
toLICENSE
as it is not a Markdown file - Rename
min
subpackage tominify
- cmd: running
minify
without arguments will print a more informative error message - cmd: bad arguments will not display cmd usage automatically
v2.7.7
- cmd: fix file paths on Windows when input and output directories are equal (slash vs backslash)
- cmd: add
--cpuprofile
and--memprofile
options - cmd: fix usage of
--match
and--sync
simultaneously, fixes #315 - cmd:
--match
applies to all filename inputs not just under directories - CSS: remove whitespace around custom variable value, fixes #305
- JSON: minify numbers, fixes #302
- HTML: fix slow parsing of
<a>
tag with manyname
orid
attributes (OSS-Fuzz) - Don't replace space by
+
in DataURI, fixes #314 - Don't escape
@ : ; = ? + , / $ \t \n \r
in DataURIs (works for Chrome, Firefox, Opera, Edge, Safari, Yandex, and IE9, IE10, IE11)
v2.7.6
- HTML: remove text and whitespace within
select
andoptgroup
tags - CSS: fix slow parsing of selectors when they contain many errors (OSS-Fuzz)
- CSS: fix RGB/HSL when a parameter overflows (OSS-Fuzz)
- CSS: fix slow parsing of large HSL parameters (OSS-Fuzz)
- cmd: properly run defer calls after command ends, may fix some race bugs
- Add easy API in the
min/
subpackage - Add project to OSS-Fuzz
v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
- 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