Skip to content

fvm 3.0.0-beta.5

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Oct 16:20
· 390 commits to main since this release
1504bba

Added

  • Tighter VSCode integration, with configuration and settings management. FVM will now automatically configure VSCode to use the correct Flutter SDK version, triggering a terminal path update so that you can use flutter, commands instead of fvm flutter
  • Git Flutter repository mirroring for faster cloning of new versions.
  • Added a check in .gitignore for the '.fvm' directory and auto-add it if necessary.
  • I added verification if the cached Flutter SDK has been upgraded and provided options for corrective actions.
  • Added a check for Flutter SDK constraints for compatibility with the current project.
  • Improved FVM configuration management and settings.
  • Ability to override FVM settings on a per-project basis.
  • Windows "unprivileged" mode. If you run fvm in unprivileged mode, it will not require admin rights. However, local Flutter SDK project references will be absolute paths instead of relative links.

Improvements

  • Much improved DX with better error messages, logging, and more helpful information on how to proceed.
  • Color output when using the fvm flutter command proxy.
  • Better SDK switching workflow per project. Handle more edge cases by doing SDK comparisons.
  • Better fvm doctor command. Now, it 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 the fvm global command.
  • The FVM update check now runs only once a day.
  • You can turn off the update check with the --update-check flag on fvm config.

Changed

The command fvm releases now defaults to the stable channel. Use the --all flag to see all releases or filter by channel.

  • Removed "flavor" command in favor of fvm use {flavor}.
  • Removed "destroy" command in favor of fvm remove --all.
    The Configuration 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 for flavor. It might be deprecated since env has become a better description for environment-specific settings than flavor.
  • When installing or using a Flutter repo commit hash, the hash must be ten digits. FVM will now validate it and provide the correct hash if it can.

Breaking Changes

  • The default FVM configuration location is now .fvmrc instead of .fvm/fvm_config.json. FVM will migrate it automatically. However, .fvm should be ignored; if you depend on fvm_config.json in your tools or CI, you should update your configuration.
  • fvm install - This will not be set up by default. Use the --setup flag to set up Flutter SDK. The flag --skip-setup is removed.
  • fvm releases - Defaults to stable releases. Use the --all flag to see all releases, or filter by channel using --channel {channel}.
  • fvm flavor - Removed in favor of fvm use {flavor}.
  • fvm use - Will always be set up by default. Use the --skip-setup flag to skip setup.
  • Environment variables FVM_HOME is now FVM_CACHE_PATH.
  • Environment variables FVM_GIT_CACHE is now FVM_FLUTTER_URL.

See the full changelog for changes in earlier releases.