Skip to content

v0.3.2: 1-Click VS Code Runner, Static Dev Server, Parser Resilience & DX Overhaul

Choose a tag to compare

@github-actions github-actions released this 14 Oct 13:06
· 85 commits to main since this release

Shae v0.3.2 — Developer Experience (DX) & Language Robustness Overhaul

This release brings zero-friction developer ergonomics, rock-solid language tooling, and resilient syntax recovery.

🌟 What's New in v0.3.2

1. Zero-Friction VS Code Extension (v0.3.2)

  • 1-Click Title Bar Run Button: Run any .shae file instantly with the dedicated $(play) icon in the editor title bar and context menu.
  • CodeLens Entrypoints: Interactive ▶ Run File | 🐞 Debug File buttons directly above line 1 of your code.
  • Toolchain Auto-Detector & Updater: Automatically checks installed shae version on startup and offers 1-click downloads if missing or outdated.
  • Auto-Save on Run: Ensures dirty buffers are saved before execution.

2. Built-in Static Development Server (shae serve)

  • Instant local HTTP file server directly via CLI:
    shae serve . --port 8080 --host 127.0.0.1
  • Auto-detects MIME types (html, css, js, json, svg, etc.).
  • Safe path sanitization preventing directory traversal attacks.

3. Bytecode VM Web Engine

  • Extended HTTP server builtins (builtin_serve and builtin_serve_tls) with full callable recognition (is_callable()) supporting compiled functions, closures, and bound methods.
  • Web services and REST APIs now execute smoothly under the default bytecode VM.

4. Resilient Parser & Panic-Mode Error Synchronization

  • Added parse_with_recovery with statement boundary synchronization on semicolons and statement starters (fn, let, if, while, return, struct, enum).
  • Eliminates cascading syntax errors and preserves LSP diagnostics, symbols, and completions even with syntax errors in the buffer.

5. Standard Library & Example Fixes

  • Added dedup alias to std:collections.
  • Fixed CSV demo parsing options and indexing.
  • 100% of examples/ verified executable in CI.

📦 Installation & Verification

# Install via GitHub Release
curl -fsSL https://github.com/spdedsec/shae/releases/download/v0.3.2/shae-v0.3.2-linux-x86_64.tar.gz | tar -xz -C ~/.cargo/bin/

# Verify version
shae --version
# Output: shae 0.3.2

Full Changelog: v0.3.1...v0.3.2