| 1 |
Revision history for Perl extension CSS::Minifier::XS. |
| 2 |
|
| 3 |
0.15 2026-06-30 11:19:01-07:00 America/Vancouver |
| 4 |
- Fix bug which resulted in zeroes being collapsed when they shouldn't, |
| 5 |
affecting filenames with zeroes in them (e.g. "url(status-0.png)"). |
| 6 |
Thanks to Stefan Berger for reporting GH#5. |
| 7 |
|
| 8 |
0.14 2026-06-28 16:30:59-07:00 America/Vancouver |
| 9 |
- Fixes a memory leak in minify(), when the entire document is minified |
| 10 |
away. CVE-2026-13593 |
| 11 |
|
| 12 |
0.13 2021-02-06 17:26:39-08:00 America/Vancouver |
| 13 |
- Internals; avoid allocating memory for each node as we tokenize the |
| 14 |
document, and simply use pointers back into original string. |
| 15 |
- Dramatically improves performance; local testing shows boost from |
| 16 |
~25MB/s to ~85MB/s |
| 17 |
- Improve zero value minification further |
| 18 |
- Simplified whitespace compaction |
| 19 |
|
| 20 |
0.12 2021-01-30 21:46:07-08:00 America/Vancouver |
| 21 |
- rewrote test suite into a single ".t" test |
| 22 |
- GH #1 / RT #97574; whitespace before a ":" in a pseudo-selector is |
| 23 |
meaningful and needs to be preserved (e.g. "#link :visited") |
| 24 |
- Further reductions of "zero values", when possible |
| 25 |
- "00000px" and "0.0px" become "0px" |
| 26 |
- "000%" and "0.0%" become "0%" |
| 27 |
- units are preserved inside of functions, but eliminated otherwise, and |
| 28 |
percentages are always left as a percentages |
| 29 |
- Optimized whitespace collapsing |
| 30 |
- Optimized memory usage and string copying |
| 31 |
|
| 32 |
0.11 2020-12-30 21:27:39-08:00 America/Vancouver |
| 33 |
- POD spelling fixes |
| 34 |
- Switch to DZil Author Bundle |
| 35 |
|
| 36 |
0.10 2020-12-28 11:00:17-08:00 America/Vancouver |
| 37 |
- RT #90879; correct minification of %s in "hsl()" and "hsla()" functions |
| 38 |
Thanks to Philipp Soehnlein |
| 39 |
- RT #103231; don't remove units on zero values inside of functions. |
| 40 |
Thanks to Isaac Montoya, for an additional test case. |
| 41 |
- No long drop units on zero percentages, as those may be required for CSS |
| 42 |
animations. Thanks to Isaac Montoya for continuing to poke me on this. |
| 43 |
- Now prunes leading whitespace before "!important" |
| 44 |
e.g. "color: red !important" becomes "color:red!important" |
| 45 |
- Switch to Dist::Zilla |
| 46 |
|
| 47 |
0.09 Wed Oct 31 13:00 PDT 2013 |
| 48 |
- RT #85350; retain WS around "+" and "-" operators, so that we don't break |
| 49 |
the "calc()" function by accident. |
| 50 |
Thanks to Philipp Soehnlein |
| 51 |
- RT #60239; remove WS around ">" and "~" selector combinators |
| 52 |
Thanks to Jacob R. |
| 53 |
- RT #60238; remove units on zero values (e.g. "0px" -> "0") |
| 54 |
Thanks to Jacob R. |
| 55 |
- RT #85896 and #79792; allow builds on Perls older than 5.8.8 |
| 56 |
Thanks to Michael Robinton |
| 57 |
|
| 58 |
0.08 Tue Nov 2 22:25 PDT 2010 |
| 59 |
- Bump Perl requirement to 5.8.8; oldest release with Newxz() |
| 60 |
|
| 61 |
0.07 Wed Jul 21 21:09 PDT 2010 |
| 62 |
- RT #39978; use 'Newxz/Safefree' instead of 'malloc/free' for memory |
| 63 |
allocation. Thanks to Kenichi Ishigaki. |
| 64 |
|
| 65 |
0.06 Wed Jul 21 20:44 PDT 2010 |
| 66 |
- RT #59549; '(' should retain leading WS, as needed for @media queries. |
| 67 |
Thanks to Mike Cardwell. |
| 68 |
|
| 69 |
0.05 Fri Apr 23 22:29 PDT 2010 |
| 70 |
- Switch to Git |
| 71 |
|
| 72 |
0.04 Thu Aug 6 22:03 PDT 2009 |
| 73 |
- fix invalid "L<text|scheme:...>" POD sequence |
| 74 |
|
| 75 |
0.03 Wed Jul 16 23:22 PDT 2008 |
| 76 |
- RT #36557: Nasty segfault on minifying comment-only css input. |
| 77 |
Turned out to be *any* input that minified to "nothing" caused the |
| 78 |
segfault, and only in certain Perl versions. |
| 79 |
|
| 80 |
0.02 Tue May 6 00:16 PDT 2008 |
| 81 |
- rebuild packages; EU::MM borked my META.yml |
| 82 |
|
| 83 |
0.01 Mon May 5 15:15 PDT 2008 |
| 84 |
- no changes from 0.01_06, but is non-devel |
| 85 |
|
| 86 |
0.01_06 Wed Oct 31 20:39 PDT 2007 |
| 87 |
- retain whitespace after ")" characters; MSIE needs the whitespace, even |
| 88 |
though the W3 validator considers the results valid CSS. |
| 89 |
|
| 90 |
0.01_05 Sat Oct 20 22:52 PDT 2007 |
| 91 |
- don't use "strcasestr()"; not available on Solaris |
| 92 |
|
| 93 |
0.01_04 Wed Oct 17 15:57 PDT 2007 |
| 94 |
- fix t/02-minify.t so it doesn't try to "use_ok()" before issuing a test |
| 95 |
plan |
| 96 |
|
| 97 |
0.01_03 Tue Oct 16 19:45 PDT 2007 |
| 98 |
- don't use "strndup()"; not available on all systems |
| 99 |
- we require Perl 5.006; update Build.PL and XS.pm to denote this |
| 100 |
|
| 101 |
0.01_02 Tue Oct 16 12:18 PDT 2007 |
| 102 |
- relocate the XS file so that its picked up properly by EU::MM when |
| 103 |
running "perl Makefile.PL" to do a build. |
| 104 |
|
| 105 |
0.01_01 Mon Oct 15 22:11 PDT 2007 |
| 106 |
- initial public version |