Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Jul 05:08
d5a8e66

Minor Changes

  • #136 ecd5eb7 Thanks @jjloneman! - Add zsh dialect support by rebuilding the WASM against a newer mvdan/sh:

    • Rebuild main.wasm against mvdan/sh v3.13.1 (was v3.11.0) and expose the zsh LangVariant.
    • Valid zsh such as ${0:A:h:h} now parses and prints instead of erroring with ternary operator missing ? before :.

    Breaking: LangVariant is now a bit-flag enum (1 << iota) to match mvdan/sh v3.13, so every numeric value changed. Code using the exported LangVariant constants is unaffected; only code passing raw variant numbers needs updating:

    • LangBash: 01
    • LangPOSIX: 12
    • LangMirBSDKorn: 24
    • LangBats: 38
    • LangZsh: (new)16
    • LangAuto: 432

Patch Changes

  • #138 2aa922b Thanks @JounQin! - Fix File.Stmts JSON field name to match the mvdan/sh syntax library, correcting a serialization mismatch between the WASM runtime and TypeScript types.

  • #139 eea166d Thanks @JounQin! - Remove unused tslib from dependencies.

New Contributors

Full Changelog: v0.5.8...v0.6.0