v1.39.0

sergeyzwezdin/hubav1.39.0Mar 6, 2026by Schniz

AI Summary

Focuses on performance improvements, making shell startup faster and improving the robustness of the `--use-on-cd` shell hook. It also introduces new flags for installation and version display.

Key Highlights

  • Faster shell startup
  • Improved `--use-on-cd` robustness
  • New `fnm install --use` flag
  • `fnm default` returns current version

New Features

  • fnm install --use flag
  • fnm default returns current version

Full Release Notes

**Performance & UX Improvements:**
- Shell startup is now faster: `fnm env --use-on-cd` applies the initial version during `fnm env` itself, eliminating an extra `fnm use` subprocess
- Improved `--use-on-cd` shell hook robustness (zsh hook deduplication on re-source, Windows CMD fixes for paths with spaces and drive changes)

**New Features:**
- `fnm install --use` flag to automatically switch to the version after installing
- `fnm default` (with no arguments) now returns the current default version

**Internal:**
- Rust toolchain upgraded to 1.88

**Docs/Maintenance:**
- Various README improvements, typo fixes, and CI workflow fixes

**Thanks to the new contributors:** @SunsetTechuila, @MangelMaxime, @CodingWithAnxiety, @zeroberry, @isaacl :hat-tip: