Skip to content

Releases: NathanTBeene/squish

v0.3.0 - Lua 5.2+ Compatability

14 Jan 22:01

Choose a tag to compare

Squish v0.3.0 - Lua 5.2+ Compatibility

Breaking Changes

  • Lua 5.2+ Required - Lua 5.1 is no longer supported
  • Opt-in Features - Minify and uglify are now disabled by default
    • Must add Option "minify" or Option "uglify" to squishy files
    • Or use --minify / --uglify command line flags

New Features

  • Full Lua 5.2, 5.3, 5.4, and LuaJIT compatibility
  • Modern module system (removed deprecated module() function)
  • Updated all deprecated Lua 5.1 APIs
  • Automated release build scripts for Windows (PowerShell) and Unix (Bash)

Bug Fixes

  • Fixed io.open() file mode compatibility in uglify
  • Fixed os.rename() on Windows by adding os.remove() first
  • Added table.unpack compatibility shim

Migration Guide

  1. Update to Lua 5.2 or later
  2. Add explicit minify/uglify options to squishy files
  3. Rebuild your projects

Downloads

Each package contains the squish executable script plus documentation (README.md, COPYRIGHT, CHANGES, dist.info).

Windows (.zip):

  • squish-0.3.0.zip - Base squish (compile, gzip, virtual-io)
  • squish-0.3.0-minify.zip - With minify support
  • squish-0.3.0-uglify.zip - With uglify support
  • squish-0.3.0-minify-uglify.zip - With both minify and uglify
  • squish-0.3.0-debug.zip - With debug support
  • squish-0.3.0-all.zip - All modules included (minify, uglify, debug, gzip)

Linux/macOS (.tar.gz):

  • squish-0.3.0.tar.gz - Base squish (compile, gzip, virtual-io)
  • squish-0.3.0-minify.tar.gz - With minify support
  • squish-0.3.0-uglify.tar.gz - With uglify support
  • squish-0.3.0-minify-uglify.tar.gz - With both minify and uglify
  • squish-0.3.0-debug.tar.gz - With debug support
  • squish-0.3.0-all.tar.gz - All modules included

Source:

  • Source code (zip/tar.gz) - Full repository

Note: The squish script is cross-platform Lua code and works on any system with Lua 5.2+ installed. Choose the archive format based on your preference.

See CHANGES for complete changelog.