Skip to content

v0.1.15

Choose a tag to compare

@sanayasfp sanayasfp released this 30 Jul 11:23
· 30 commits to main since this release

Fixed

  • Tool installs (Caddy, uv) could fail during stack setup/first stack up
    with failed to run Expand-Archive on machines where PowerShell's
    Expand-Archive cmdlet wasn't usable (older PowerShell, execution-policy
    restrictions, etc.). Zip extraction is now handled entirely in-process via
    a pure-Rust implementation — no external PowerShell process involved.
  • stack setup could fail outright with failed to ask PowerShell for $PROFILE: program not found, silently skipping the shell hook, on
    machines where neither pwsh nor powershell could be spawned as a
    subprocess. The profile path is now computed directly (it's a documented,
    static Windows known-folder location) instead of asking a spawned shell
    process for it — and it correctly follows Documents-folder redirection
    (e.g. OneDrive).
  • stack setup previously assumed you were running pwsh by default. It
    now detects which shell (pwsh, powershell, or cmd) actually launched
    it, so the hook gets written into the profile you actually use instead of
    possibly the wrong one.

Note: v0.1.14 was published with an unrelated manifest change
([language.php].workers) before these fixes landed on main; this
release carries them forward under a new version since crates.io versions
are immutable.

Install

irm https://github.com/sanayasfp/stack/releases/latest/download/stackenv-installer.ps1 | iex

or

cargo install stackenv