Skip to content

v1.13.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 05:50
· 14 commits to main since this release
9d28fbb

v1.13.0 - 2026-09-30

Added

  • Opt-in per-shell PHP switching: Set PHPVM_SWITCH_MODE=session before sourcing phpvm to select PHP independently in each Bash or Zsh shell without changing Homebrew links or Linux alternatives.
  • Verified session interpreter paths: Session switching and exec use a version-specific php entry that points to the requested verified CLI binary, including versioned Linux and Remi layouts.
  • Release bundle delivery: Install and self-update distribute the script and Bash completions together; release preparation validates the tagged version and creates a draft with a checksummed archive.

Fixed

  • Version resolution failures: Install, use, uninstall, and exec now return failure when alias or keyword resolution fails.
  • Session-local state: current, which, list markers, deactivate, and unload reflect the calling shell and leave shared active-version files unchanged.
  • Shell entry point: Sourcing defines a phpvm function so session changes apply to the caller in Bash and Zsh.
  • Inherited shells and subprocesses: Child shells detect their package manager when needed; exec and run keep PATH and session metadata in sync, including system.
  • Interpreter lookup: which honors explicit versions and aliases, and Homebrew's unversioned formula resolves through its own installation rather than the shared link.
  • Protected updates: Self-update stages replacements with the required permissions and restores the previous script if completion delivery fails.

Changed

  • Default update source: self-update now reads the latest published stable release bundle; PHPVM_SELF_UPDATE_URL remains available for a single-script override.
  • Release conventions: Tags use X.Y.Z; release titles use vX.Y.Z.