Releases: NathanTBeene/squish
Releases · NathanTBeene/squish
v0.3.0 - Lua 5.2+ Compatability
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"orOption "uglify"to squishy files - Or use
--minify/--uglifycommand line flags
- Must add
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 addingos.remove()first - Added
table.unpackcompatibility shim
Migration Guide
- Update to Lua 5.2 or later
- Add explicit minify/uglify options to squishy files
- 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 supportsquish-0.3.0-uglify.zip- With uglify supportsquish-0.3.0-minify-uglify.zip- With both minify and uglifysquish-0.3.0-debug.zip- With debug supportsquish-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 supportsquish-0.3.0-uglify.tar.gz- With uglify supportsquish-0.3.0-minify-uglify.tar.gz- With both minify and uglifysquish-0.3.0-debug.tar.gz- With debug supportsquish-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.