Bot releases are hidden (Show)
Published by tdewolff about 5 years ago
Bugfixes:
background
when it contains functions other than calc
for background-position
, fixes #263background-position
with three numbersPublished by tdewolff over 5 years ago
}
Published by tdewolff over 5 years ago
background-position
panic with offsets that are zeroM
concurrent-safe#RRGGBBAA
format as proposed in Color Module Level 4 as it is not yet an official W3C recommendationbackground-position
(also within background
) now works with 3 and 4 values as wellmetadata
or rect
tags properly even if they are closed by a void tag (like <rect/>
)Published by tdewolff almost 6 years ago
I'm suspecting that go mod
gets confused from a previously reverted v2.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
Published by tdewolff almost 6 years ago
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...
Published by tdewolff almost 6 years ago
Important: default mimetype for JavaScript is now application/javascript
(it used to be text/javascript
).
value
attribute on <input type="radio">
, because the default is not an empty stringlocal()
for URLsrgb()
and hsl()
with spaces instead of commasfont
, background
, background-position
, background-repeat
, background-size
, outline
and border
declarationsmargin
and padding
now check if values that are functions (such as calc()
) are equal and thus eligible for collapsingi
as in input[type="radio" i]
outline
to 0
but to none
rgba()
and hsla()
in CSS2 cannot be rewritten as #rrggbbaa
M
to move back to when encountering Z
Published by tdewolff over 6 years ago
minify
commanddraggable
is not a boolean<meta content="x">
url()
box-shadow
, background
and @import
betterflex
propertyoutline
and border
when width is zeronormal
now handledurl()
when we can remove the url
functionPublished by tdewolff almost 7 years ago
This release fixes a number of out-of-bounds panics that could arise in HTML, XML and JS sources. It also allows HTML sources to contain the NULL byte.
Published by tdewolff almost 7 years ago
Published by tdewolff almost 7 years ago
This release has binaries built by GoReleaser.
Published by tdewolff almost 7 years ago
a
minificationPublished by tdewolff about 7 years ago
This is an incremental update over v2.1.0.
Changelog:
spellcheck
is not a booleanCLI:
Published by tdewolff over 7 years ago
This v2.1 release added a much improved SVG minifier. Equinox has been added to distribute binaries and make installation easier, see Equinox (which says version 2.1.5). The CLI tool has matured and various bugfixes and feature requests are in this release.
Change log:
html
, head
and body
)MinifierFunc
Match
function that returns the minifier function that gets matched to a mediatypeResponseWriter
and Middleware
functionality addedBugfixes:
img
and similar inline tags preservedpre
tag properly preservedmath
and svg
tags themselves are now parsed by their respective parsers<custom-ident>
rgba
and hsla
now work properly!function(){}
}
and string or identCLI:
stdout
as intendedPublished by tdewolff over 8 years ago
This v2 releases introduces passing options to minifiers. This is a feature that resulted in an API change, additionally I did some API clean up as well. This works with parse-v2.0.0.
Furthermore, performance of several components has been improved. Tests have been added and improved.
Change log:
Reader
and Writer
functions are addedBugfixes:
CLI changes:
Published by tdewolff almost 9 years ago
This uses a more efficient underlying buffer which removes any need to copy byte slices. All minifiers have higher performance, bugfixes and test refactoring.
Published by tdewolff about 9 years ago
This denotes a stable release point which is guaranteed to work in the future. Bugfixes and development is done on this version, while promising a stable API. Meanwhile work is put into v2.0.0 which will support options passing.