All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Keep newline before private class member, #20, #15
- Keep newline after string template, #21, #8
- Improve control character handling, #9
- Fix PHP Deprecation warning: ord(null), #16
- Fix php 8.1 deprecation notice for ord(null), #10, #12, #13
- Preserve ES6 template literals, #7
- Correctly identifies regexes following keywords with no space. E.g. return/regex/;
- Exception classes are PSR-0 loadable
Rework as JSMin library on packagist. Releases prior this version are contained in minify package.
- Removes leading UTF-8 BOM
- Fix handling of RegEx in certain situations in JSMin
- Fix bug in JSMin exceptions
- JSMin fixes
- JSMin won't choke on common Closure compiler syntaxes (i+ ++j)
- mbstring.func_overload usage is safer
- quote characters inside RegExp literals no longer cause exception
- JS: preserves IE conditional comments
- Replaced old JSMin library with a much faster custom implementation.