v1.39.0

langgenius/difyv1.39.0Mar 6, 2026by Schniz

AI Summary

A performance and UX improvement release for the Node.js version manager, featuring faster shell startup and improved shell hook robustness.

Key Highlights

  • Shell startup is now faster with optimized `fnm env --use-on-cd` execution.
  • Improved `--use-on-cd` shell hook robustness, including zsh hook deduplication.
  • Added `fnm install --use` flag to automatically switch to the installed version.
  • `fnm default` now returns the current default version when called without arguments.

New Features

  • `fnm install --use` flag
  • `fnm default` returns current default 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: