Skip to content

jig 0.8.2

Choose a tag to compare

@mb1986 mb1986 released this 14 May 23:31
· 25 commits to main since this release
7c670c2

Changed

  • --completions <SHELL> is now shown in --help. Previously
    hidden on the assumption that users wouldn't type it directly,
    but it's the documented install path for tab completion on a
    crates.io-distributed CLI and deserves visibility. The internal
    --list-commands / --list-profiles flags stay hidden.

Fixed

  • A node with a child block inside a profile body is now rejected
    as a parse error (profiles cannot be nested) instead of being
    silently dropped. Spec §2.3 already said profiles do not nest in
    v1, but the parser would walk such a node through the argument
    path and discard its children, so misplaced nesting produced no
    diagnostic and looked like the inner flags had been accepted.
  • Fish completion now matches the zsh/bash behavior of treating
    every token after the first positional — including ones that
    start with - — as command/profile/pass-through context. Before
    the fix, typing jig serve -x <TAB> still routed to profile
    completion because the helper counted -x as a jig flag. Now
    it routes to file completion via the -F rule, matching the
    argv split in src/cli.rs.
  • Pre-exec preview rendering is now best-effort: when shell-quoting
    fails (a non-UTF-8 pass-through arg, a non-UTF-8 cwd, or a NUL
    byte that shlex cannot quote), jig writes a one-line
    preview unavailable: … notice to stderr and continues to the
    spawn instead of erroring out. Previously the wrapper exited 125
    even though std::process::Command itself would have happily
    accepted the OsString/Path. --dry-run stays strict — the
    rendered line IS the output there, so a render failure is still
    a real failure.

Install: cargo install jig-run

Full changelog: https://github.com/mb1986/jig/blob/main/CHANGELOG.md#082--2026-05-15