Stack CLI 0.4.0
This release adds editor integration, verified update foundations, and offline command discovery to the native Stack CLI.
Highlights:
- Generate bash, zsh, and fish completion source with
stack completions. - Read or install a deterministic roff manual generated by
stack manpage. - Run the native Stack language server with
stack lspfor diagnostics, completion, hover, document symbols, and formatting. - Check future direct-install updates with a fail-closed client that authenticates release manifests and archives. Self-update remains unavailable until a verified direct installer creates installation receipts and a later release explicitly activates the channel.
- Verify every target archive, including the exact completion and manual bytes, with SHA-256, keyless Sigstore, SLSA provenance, and an SPDX 2.3 SBOM attestation.
Download the archive for your target and all matching verification materials from this release. Follow the release verification guide before installing any file. At publication time, GitHub Releases owns the new artifacts. Homebrew and Aqua remain on their last independently verified version until their owner repositories update and pass clean-install lifecycle tests; Cargo remains planned.
The archive contains stack, license files, generated completion files under share/, and share/man/man1/stack.1. After verification, replace {target} with the downloaded target:
tar -xzf "stack-v0.4.0-{target}.tar.gz"
mkdir -p "$HOME/.local/bin"
install -m 0755 "stack-v0.4.0-{target}/stack" "$HOME/.local/bin/stack"
"$HOME/.local/bin/stack" --versionUse the completion and manual guide to copy the matching archived files or generate them into user-owned locations. The manual installation above intentionally does not create a self-update receipt.