All Versions
35
Latest Version
Avg Release Cycle
14 days
Latest Release
1503 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.9.10 Changes
October 23, 2020- ๐ JS: put variable declarations after
"use strict"
, fixes #343 - ๐ JS: don't convert hexadecimal representations in strings from
0x80
upwards unless it's UTF-8, fixes #341 - ๐ JS: don't merge var declarations after for statement into for initializer, fixes #346
- ๐ JS: add parenthesis when necessary to if condition when converting to conditional expression, fixes #347
- ๐ JS: put variable declarations after
-
v2.9.9 Changes
October 16, 2020 -
v2.9.8 Changes
October 15, 2020- ๐ Fix
1e-10
which was invalidly converted to.e-9
(this only applied to1e-10
,1e-100
, etc and not to other numbers such as1e-11
or1e-9
), fixes #339 - ๐ JS: remove the use of the nullish operator
??
which is not supported by IE, Android+Firefox, and Android+Opera, fixes #338 - ๐ JS: fix bug in merging var declarations, where partial merges resulted in duplicate assignments
- ๐ Fix
-
v2.9.7 Changes
October 01, 2020- cmd: add JS options
- ๐ JS: remove unassigned bindings in for statement initializer when it cannot be merged with variable declaration
- JS: use
Precision
option in minifying numbers - SVG: fix bugs in skipping
foreignObject
tags
-
v2.9.6 Changes
October 01, 2020 -
v2.9.5 Changes
September 23, 2020- cmd: minify input even if extension is unknown but type/mimetype is given
- โฑ CSS: fix timeout in property with many commas
- ๐ CSS: convert RGBA to
transparent
only if the color is fully transparent black (and not any other transparent color), fixes #332 - CSS: fix crash when rgb/rgba functions have less than three arguments
- ๐ CSS: fix
box-shadow
valuenone
conversion to0 0
as they are not equivalent, fixes #332 - ๐ HTML: remove space between attributes when after a quoted value
- ๐ HTML: keep empty
title
andlang
attributes, fixes #331 - ๐ JS: merge variable declarations even if one has an ObjectPattern
- ๐ JS: remove trailing commas in BindingArray (except when Rest ellipsis is set)
- ๐ JS: add parenthesis around object literal in arrow function body, fixes #333
-
v2.9.4 Changes
September 04, 2020 -
v2.9.3 Changes
September 02, 2020- ๐ CSS: minify comma-separated lists for
box-shadow
,background
,background-repeat
,background-size
, andbackground-position
properties (fixes #322) - ๐ CSS/SVG: remove deprecated
Decimals
options in favor ofPrecision
- ๐ cmd: remove
--decimals
options for CSS and SVG minifiers in favor of--precision
- ๐ cmd: add
--bundle
option to explicitly bundle (concatenate/merge) files into one, do not asume from the-o
options if it lacks a/
at the end that it outputs to a file and thus needs to merge the inputs - 0๏ธโฃ cmd: directory inputs needs
--recursive
, previously directories would be expanded by defaults (but not their subdirectories). This matches behaviour of thecp
command and will be more intuitive. - cmd: file inputs are copied without considering and recreating its directory path. For example,
minify -o out path/to/file
would output toout/path/to/file
but will now output toout/file
. This is the same behaviour as thecp
command and will be more intuitive for users.
- ๐ CSS: minify comma-separated lists for
-
v2.9.2 Changes
August 31, 2020- ๐ JS: only put
var
declaration intofor
orwhile
, and notlet
norconst
, fixes #325 - ๐ JS: merge more efficiently a
var
declaration with afor
orwhile
statement
- ๐ JS: only put
-
v2.9.1 Changes
August 29, 2020- ๐ JS: fix parsing
in
identifier in group expressions - ๐ JS: fix parsing identifiers inside arrow function body in some cases #324
- JS: keep all license comments at the top of the file
- JS: minify
typeof x==='undefined'
totypeof x=='undefined'
- ๐ JS: merge expressions and var declarations with
for
with empty initializer or withwhile
statement converted tofor
- ๐ JS: iteratively merge
if(a){return b}if(c){return d}return e
chains toreturn a?b:c?d:e
- ๐ JS: fix parsing