Skip to content

v1.4.1 - Critical Build Fix

Choose a tag to compare

@twilson63 twilson63 released this 03 Jul 16:45
· 54 commits to main since this release

🔧 Hype v1.4.1 - Critical Build Fix

🚨 Critical Bug Fix

Fixed Build Failures with Special Characters

Resolved a critical issue where Lua scripts containing backticks, quotes, or special characters would cause Go compilation errors during the build process.

Example problematic content that now works:

-- These characters previously broke builds
print("Hello `backticks` and 'quotes' and \"double quotes\"")
local test = [[
Multi-line strings with `backticks`
and special chars: # & ' " \
]]

🛠️ Technical Details

  • Issue: Lua script content was embedded as raw Go string literals, causing syntax errors
  • Fix: Implemented proper string escaping using strconv.Quote()
  • Impact: All Lua scripts with any character content now build successfully

📋 What's New Since v1.4.0

This is a patch release that maintains all v1.4.0 features:

  • ✅ Auto-bundling - Build command automatically handles multi-file projects
  • ✅ Multi-file support - Use require() to split code across files
  • ✅ Smart module resolution - Relative paths, module names, built-ins
  • ✅ Critical fix - Build process now handles all character content

📦 Download

Choose your platform:

  • Linux: luax-v1.4.1-linux-amd64.tar.gz (x86_64) or luax-v1.4.1-linux-arm64.tar.gz (ARM64)
  • macOS: luax-v1.4.1-darwin-amd64.tar.gz (Intel) or luax-v1.4.1-darwin-arm64.tar.gz (Apple Silicon)
  • Windows: luax-v1.4.1-windows-amd64.zip

🚀 Quick Install

# Cross-platform installer
curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install.sh | bash

🔄 Upgrade from v1.4.0

If you're experiencing build failures, upgrade immediately:

# Reinstall with the fix
curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install.sh | bash

Full Changelog: v1.4.0...v1.4.1