Repository navigation
jig 0.8.2
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-profilesflags 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, typingjig serve -x <TAB>still routed to profile
completion because the helper counted-xas a jig flag. Now
it routes to file completion via the-Frule, matching the
argv split insrc/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 thatshlexcannot quote),jigwrites a one-line
preview unavailable: …notice to stderr and continues to the
spawn instead of erroring out. Previously the wrapper exited 125
even thoughstd::process::Commanditself would have happily
accepted theOsString/Path.--dry-runstays 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