fvm 3.0.0-beta.1
Pre-release
Pre-release
Added
- Tighter VSCode integration, with configuration and settings management. FVM will now automatically configure VSCode to use the correct Flutter SDK version, triggering a termianl path update, so you can just use
flutter
, commands instead offvm flutter
- Git Flutter repository mirroring for faster cloning of new versions.
- Added a check in .gitignore for the '.fvm' directory, and auto-adding it if necessary.
- Added verification if cached Flutter SDK has been upgraded, and provide options for corrective actions.
- Added a check for Flutter SDK constraints check for compatibility with current project.
- Improved FVM configuration management and settings.
- Ability to override FVM settings on a per project basis.
- Windows "unpriviledge" mode. If you you choose to run
fvm
in unpriviledge mode, it will not require admin rights to run, however local Flutter SDK project references will be absolute paths instead of relative links.
Improvements
- Much improved DX with better error messages and logging, and more helpful information and how to proceed.
- Color output when using
fvm flutter
command proxy. - Better SDK switching workflow per project. Handle more edge cases, by doing SDK comparisons.
- Better
fvm doctor
command. Now provides much better output and information about the project and environment. - Better Dart SDK environment support, minimizes conflicts between multiple environment Dart SDKs.
- Improved
fvm releases
output. - Improved
fvm list
output. - Better error checking for
fvm global
command. - FVM update check now runs only once a day.
- You can disable update check with the
--update-check
flag onfvm config
Changed
- Command
fvm releases
now defaults tostable
channel. Use--all
flag to see all releases, or filter by channel. - Removed "flavor" command in favor for
fvm use {flavor}
- Removed "destroy" command in favor of
fvm remove --all
- Config file is now
.fvmrc
instead of.fvm/fvm_config.json
, and.fvm
can be added to.gitignore
, FVM will migrate it automatically. - You can now use
fvm use {version} --env {flavor}
as an alias forflavor
. Might be deprecated in the future sinceenv
has become a better description for environment specific settings thanflavor
. - When installing or using a Flutter repo
commit hash
, hash needs ot be 10 digits. FVM will now validate it, and provide the correct hash if it can.
Breaking Changes
- Default FVM config location is now
.fvmrc
instead of.fvm/fvm_config.json
. FVM will migrate it automatically. However.fvm
should be ignored, if you depend onfvm_config.json
in your tools or CI, you should update your configuration. fvm install
- Will not setup by default. Use--setup
flag to setup Flutter SDK. Flag--skip-setup
is removed.fvm releases
- Defaults tostable
releases. Use--all
flag to see all releases, or filter by channel using--channel {channel}
.fvm flavor
- Removed in favor offvm use {flavor}
.fvm use
- Will always setup by default. Use--skip-setup
flag to skip setup.- Environment variables
FVM_HOME
is nowFVM_CACHE_PATH
. - Environment variables
FVM_GIT_CACHE
is nowFVM_FLUTTER_URL
.
See the full changelog for changes in earlier releases.