v1.39.0

fatedier/frpv1.39.0Mar 6, 2026by Schniz

AI Summary

This release focuses on performance and user experience improvements, including faster shell startup and enhanced robustness for the `--use-on-cd` hook. It introduces new CLI flags for automatic version switching and improved default version retrieval.

Key Highlights

  • Shell startup is significantly faster by eliminating an extra subprocess during initialization.
  • Improved robustness of the `--use-on-cd` shell hook, including zsh deduplication and Windows CMD fixes.
  • New `fnm install --use` flag to automatically switch to the installed version.
  • The `fnm default` command now supports returning the current default version without arguments.

New Features

  • Added `fnm install --use` flag for automatic version switching after installation.
  • Enhanced `fnm default` command to return the current default version when run without arguments.

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: