v1.39.0
ankitects/ankiv1.39.0Mar 6, 2026by Schniz
AI Summary
This release focuses on performance optimizations for shell startup and improved robustness for the `--use-on-cd` hook. It introduces new convenience flags for installation and default version queries, alongside Rust toolchain updates and documentation improvements.
Key Highlights
- Shell startup is now faster by optimizing `fnm env --use-on-cd` execution.
- Improved robustness for the `--use-on-cd` hook, including zsh deduplication and Windows CMD fixes.
- New `fnm install --use` flag allows automatic switching to the installed version.
- The `fnm default` command now returns the current default version without arguments.
New Features
- New `fnm install --use` flag for automatic version switching post-install.
- Enhanced `--use-on-cd` hook robustness (zsh deduplication, Windows CMD path fixes).
- Updated Rust toolchain to version 1.88.
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: