Skip to content

Releases: un-ts/sh-syntax

v0.6.0

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.

v0.5.8

Choose a tag to compare

@github-actions github-actions released this 20 May 08:39
d90f699

Patch Changes

Full Changelog: v0.5.7...v0.5.8

v0.5.7

Choose a tag to compare

@github-actions github-actions released this 20 Apr 10:34
86195ee

Patch Changes

Full Changelog: v0.5.6...v0.5.7

v0.5.6

Choose a tag to compare

@github-actions github-actions released this 08 Apr 03:07
7b886bf

Patch Changes

Full Changelog: v0.5.5...v0.5.6

v0.5.5

Choose a tag to compare

@github-actions github-actions released this 08 Apr 03:01
c83e2d8

Patch Changes

Full Changelog: v0.5.4...v0.5.5

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 07 Apr 22:28
321231e

Patch Changes

Full Changelog: v0.5.3...v0.5.4

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 07 Apr 18:44
63e69dc

Patch Changes

Full Changelog: v0.5.2...v0.5.3

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 07 Apr 16:51
0116b9a

Patch Changes

  • #107 3152cd3 Thanks @JounQin! - feat: add new LangVariant option LangAuto although it's unsupported

Full Changelog: v0.5.1...v0.5.2

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 07 Apr 10:12
acfca8e

Patch Changes

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 08:08
ccabf8a

Minor Changes

  • #97 28d68ba Thanks @JounQin! - chore: housekeeping, bump mvdan/sh and easyjson deps, upgrade go to v1.23

Patch Changes

Full Changelog: v0.4.2...v0.5.0