NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4031 most downloaded on Packagist
Minification of JavaScript code and CSS stylesheets.
Last release 16 days ago
22 Sep 2026
Ships fairly regularly
a new release about every 5 months
Nearly every release is documented
notes for 20 of 21 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
21 releases · first in 2021
One column per quarter.
JavaScriptMinifier: Support ES2022 class fields (Siddharth VP) T317502
JavaScriptMinifier: Fix state bug after if (foo.async) (Timo Tijhof) T429402
Fixed:
if (foo.async) (Timo Tijhof) T429402Added:
JavaScriptMinifier: Optimize static property access with local variables (Ori Livneh)
Fixed:
Added:
for-await-of (Hannah Okwelum) T387122Changed:
Fix compat with PCRE 10.45, e.g. on Debian 13 or Ubuntu 25, and likely PHP 8.3+ (Reedy) T388335
Fixed:
Added:
jsdebug command (Timo Tijhof)Changed:
JavaScriptMinifier: Reject "5..0" as invalid syntax (Timo Tijhof)
Fixed:
JavaScriptMinifier: Add support for ES2020 ?? nullish operator (Hannah Okwelum) T351610
Added:
?? nullish operator (Hannah Okwelum) T351610**= operator (Timo Tijhof) T277675onError callback to minify() (Timo Tijhof) T357477Changed:
Fixed:
yield in expressions (Roan Kattouw) T371938JavaScriptMinifier: Add basic ES2017 async-await syntax support (Hannah Okwelum)
Nothing published for this version
Fix source map output for multi-line templates. (Tim Starling) T348280
bin: Add css-remap command. (Timo Tijhof)
Added:
css-remap command. (Timo Tijhof)JavaScriptMinifier: Add ES2016 syntax support. (Siddharth VP) T277675
Added:
Changed:
ext-fileinfo in composer.json. (Sam Reed)JavaScriptMinifier: Add support for source maps. (Tim Starling) T47514 Use via the createMinifier() and createSourceMapState() methods, see /tests/dat
Added:
createMinifier() and createSourceMapState() methods,
see /tests/data/sourcemap/combine.php for an example.jsmap-web and jsmap-raw commands. (Tim Starling)Fixed:
JavaScriptMinifier: Correctly recognize \ in template strings. (Roan Kattouw) T296058
Fixed:
\ in template strings. (Roan Kattouw) T296058bin: Fix minify CLI autoload when run from a vendor directory. (Timo Tijhof)
Fixed:
minify CLI autoload when run from a vendor directory. (Timo Tijhof)JavaScriptMinifer: Recognize ... as a single token. (Roan Kattouw) T287526
Fixed:
... as a single token. (Roan Kattouw) T287526JavaScriptMinifer: Fix handling of .delete as object property. (Roan Kattouw) T283244
Fixed:
.delete as object property. (Roan Kattouw) T283244CSSMin: Fix remapping of path-only URL when base dir is server-less root. (Timo Tijhof) T282280
Fixed:
JavaScriptMinifier: Fix handling of keywords used as object properties. (Roan Kattouw) T277161
Fixed:
JavaScriptMinifier: Add ES6 syntax support. (Roan Kattouw) T272882
Added:
minify CLI. (Timo Tijhof)Changed:
Fixed:
throw new Error. (Roan Kattouw)CSSMin: Add global class alias for CSSMin for MediaWiki compatibility. This is deprecated on arrival and will be removed in a future major release.
Added:
CSSMin for MediaWiki compatibility.
This is deprecated on arrival and will be removed in a future major release.This release requires PHP 7.2+, and drops support for Internet Explorer 6-10.
This release requires PHP 7.2+, and drops support for Internet Explorer 6-10.
Added:
url() values in one rule. (Bartosz Dziewoński)Removed:
$statementsOnOwnLine option.$maxLineLength option.Changed:
Fixed:
url(#default#behaviorName) values. (Julien Girault)return statement after a ternary in a property value. (Timo Tijhof) T201606Your coding agent can read these notes before it upgrades. Set up the MCP server →