All Versions
35
Latest Version
Avg Release Cycle
14 days
Latest Release
880 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v2.6.3 Changes
January 02, 2020β Add
install.sh
andMakefile
to./cmd/minify
.No changes to binaries (use v2.6.2).
-
v2.6.2 Changes
January 02, 2020- HTML: ignore CSS minification for
amp-boilerplate
- HTML: add
KeepQuotes
option for attributes - π XML: bugfix for recent changes to XML parser
- HTML: ignore CSS minification for
-
v2.6.1 Changes
November 27, 2019β¬οΈ Upgrade to tdewolff/[email protected]:
- π Re-parse input immediately when encountering parse error. Previously this was only done if the error was actually read which would save us from re-parsing the file (i.e. better performance). However, an error is (a) rare and (b) happens only once per file. Re-parsing on errors does not impact the performance of well formatted files, and a reliable error message is valued more.
- π Bugfix: prevent infinite loop on error on input file that contains unicode code points (i.e. any character bigger than
0xC0
usually followed by more bytes). - π Improve error messages for parsers to include parser name and print offending byte(s)
-
v2.6.0 Changes
November 26, 2019- π CSS: remove space after function in property value;
margin:calc(10px) calc(20px)
=>margin:calc(10px)calc(20px)
- π SVG: parse
A
path command correctly when the booleanslargeArc
andsweep
are not separated by a space, such as inA10 10 0 0120 0
which is equivalent toA10 10 0 0 1 20 0
- π SVG bugfix: make sure we are processing a valid path command
- π SVG bugfix: prevent panic when having insufficient path arguments
- cmd: surpress error when minifying empty directory
- π HTML: only minify attributes for known HTML5 tags, fixes #270
- π HTML, XML, SVG: minify entities with [email protected] such as:
" => "
," => "
," => "
,’ => ’
,✏ => ✏
.
- π CSS: remove space after function in property value;
-
v2.5.2 Changes
September 05, 2019π Bugfixes:
- π SVG: don't convert polyline/rect/polygon/line to path, which can break CSS, fixes #260
- SVG: relative SVG BΓ©zier commands not properly minified
- π CSS: don't remove whitespace in nested unknown at-rules, fixes #262
- π CSS: fix panic for
background
when it contains functions other thancalc
forbackground-position
, fixes #263 - CSS: fix panic for
background-position
with three numbers - CSS: fix panic for url() with only whitespace or only one quote
-
v2.5.1 Changes
July 16, 2019- β Remove import comments
- SVG: do not convert line/rect to path if coordinates are relative percentages
- CSS: fix bug with inline CSS encountering
}
-
v2.5.0 Changes
May 17, 2019- CSS: fix position information in error context
- CSS: fix
background-position
panic with offsets that are zero - HTML: trim and collapse whitespace in certain attribute values
- SVG: shorten cubic and quadratic BeziΓ©r path data to their shorter format or to line segments
-
v2.4.0 Changes
April 18, 2019- π When minifying floating points, remove trailing zeros and not other numbers
- π Make
M
concurrent-safe - HTML: keep double quotes around XML-flavour RDFa attributes
- βͺ CSS: revert the use of the
#RRGGBBAA
format as proposed in Color Module Level 4 as it is not yet an official W3C recommendation - CSS:
background-position
(also withinbackground
) now works with 3 and 4 values as well - π SVG: skipping
metadata
orrect
tags properly even if they are closed by a void tag (like<rect/>
) - π SVG pathdata: when cursor doesn't move, don't emit any commands
-
v2.3.8 Changes
November 07, 2018π I'm suspecting that
go mod
gets confused from a previously revertedv2.3.7
release, so just in case this is a new release that will hopefully fix:$ go get -u github.com/tdewolff/minify/v2 go: github.com/tdewolff/minify/[email protected]: go.mod has non-.../v2 module path "github.com/tdewolff/minify" (and .../v2/go.mod does not exist) at revision v2.3.7 go get: error loading module requirements
-
v2.3.7 Changes
November 06, 2018β Add Go modules support by using the
github.com/tdewolff/minify/v2
import path.π WARNING: this release may give errors for
go mod
probably due to (local) caching...