v1.39.0
Schniz/fnmv1.39.0Mar 6, 2026by Schniz
AI Summary
This release focuses on performance improvements for shell startup and robustness of the `--use-on-cd` hook. It introduces new convenience flags and improves the user experience for version management.
Key Highlights
- Shell startup is now faster due to optimization of the `--use-on-cd` hook.
- New `fnm install --use` flag automatically switches to the installed version.
- `fnm default` (with no arguments) now returns the current default version.
- Improved robustness for `--use-on-cd` on zsh and Windows CMD.
New Features
- Automatic switching after install (`fnm install --use`)
- Querying current default version (`fnm default`)
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: