Skip to content

v0.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jun 19:58

Highlights

v0.0.3 improves daily cvm usability by allowing version prefixes, adding managed compiler path inspection, and making cvm version more useful for diagnosing local setup issues.

Changes

  • Added version prefix resolution.
    • cvm install llvm 21 resolves to the latest matching LLVM 21 release.
    • cvm use gcc 15, cvm env, cvm alias default, cvm uninstall, and cvm which resolve against locally installed versions.
  • Added cvm ls-remote [llvm|gcc] [prefix] for filtered remote version listing.
  • Added cvm which <llvm|gcc> [version-or-prefix] to print cvm-managed compiler binary paths.
  • Extended cvm version with lightweight diagnostics for CVM_HOME, cvm.sh, PATH, and default toolchain status.
  • Updated project version, installer default version, README, README_CN, and embedded remote index metadata to v0.0.3.

Documentation

  • Added docs/troubleshooting.md.
  • Documented glibc/musl release binary behavior, proxy variables, PATH priority, shell profile loading, and source build dependency failures.
  • Updated command examples to use version prefixes where appropriate.

Testing

  • Simplified brittle documentation tests that asserted implementation details such as exact runner labels or action versions.
  • Added tests for prefix resolution, which, ls-remote filtering, and version diagnostics.

Upgrade Notes

Re-running install.sh replaces $HOME/.cvm/bin/cvm and regenerates $HOME/.cvm/cvm.sh. Existing compiler installations and defaults under $HOME/.cvm are preserved.