v1.1.0

@tedivm tedivm released this Jul 4, 2015

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

Downloads

v1.0.1: Empty Comment Bug Fix

@tedivm tedivm released this Nov 11, 2014 · 6 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:

/**/

Downloads

JShrink v1.0.0!!!!

@tedivm tedivm released this May 5, 2014 · 12 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.

Downloads

v0.5.2: Return of the Test Suite

@tedivm tedivm released this Jan 14, 2014 · 70 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.

Downloads