Latest release


@tedivm tedivm released this Dec 8, 2017 · 4 commits to master since this release

  • Support for Template Literals
  • Update dev dependencies to latest versions
  • Drop testing support for HHVM and PHP5.6
  • Add testing support to PHP7.2


@tedivm tedivm released this May 30, 2017 · 11 commits to master since this release

This release has a few bug fixes and upgrades to the testing suite.


@tedivm tedivm released this Aug 2, 2015 · 28 commits to master since this release

This release incorporates a number of performance optimizations and improved UTF character detection.

v1.0.1: Empty Comment Bug Fix

@tedivm tedivm released this Nov 11, 2014 · 34 commits to master since this release

This release fixes a bug where completely empty comments could be misinterpreted as just the opening or closing comment tag, rather than the whole thing, causing runtime errors or missing javascript code.

Example comment:


JShrink v1.0.0!!!!

@tedivm tedivm released this May 5, 2014 · 40 commits to master since this release

This release, besides being the first v1.0 release and thus having a stable API, includes:

  • Formatting updates for PSR-1 and PSR-2
  • Increased code coverage significantly.
  • Increased testing of Comments, Strings and Regex.
  • Added tests for error conditions to ensure proper exceptions are thrown.
  • Added additional test groups for feature requests and in development test cases.
  • Cleaned up stray lines that were being outputted around comments.
  • Reduced size of multiline strings even further!
  • Revamped "minify" static function to for efficiency.
  • Made code more portable by removing some old PHP 5.2 code.
  • Normalized Exception methods and made them more clear.
  • Added and updated a lot of the comments.
  • Removed a few bugs around edge cases in javascript (like "i + ++j").
  • Refactored code for improved clarity and development

As always, thank you for the support! I hope JShrink makes all of your projects faster for all of your users.

v0.5.2: Return of the Test Suite

@tedivm tedivm released this Jan 14, 2014 · 98 commits to master since this release

This release is primarily a refactoring of the Test Suite (to make it actually functional) and a clean up of the secondary files themselves.

The JShrink code itself is unchanged, and you should be able to update without issue.