Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency fvm to v3 #1586

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
fvm dev_dependencies major ^2.4.1 -> ^3.0.6

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

leoafarias/fvm (fvm)

v3.0.6

Compare Source

  • fvm flutter command falls back to global fvm version if version not found in directory.

v3.0.5

Compare Source

  • Added fallback when cannot validate Flutter SDK version using git tags. #​627

v3.0.4

Compare Source

  • VsCode settings now supports jsonc (comments, trailing commma)
  • Change flutter project check to only check for pubspec.yaml
  • fvm install command not creating sdk reference #​618

v3.0.3

Compare Source

  • Added check on update command for homebrew and chocolatey deployment.

v3.0.2

Compare Source

  • Removed validation for long commit hashes. FVM will now accept any length hash that git can return as a reference.

v3.0.1

Compare Source

  • Fixed Dart SDK download on brew installations.
  • Do not ask for setup flow on VSCode if not detected.

v3.0.0

Compare Source

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 of fvm 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 on fvm config
Changed
  • Command fvm releases now defaults to stable 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 for flavor. Might be deprecated in the future since env has become a better description for environment specific settings than flavor.
  • 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 on fvm_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 to stable releases. Use --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 setup by default. Use --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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Feb 9, 2024
Copy link
Member

@Leptopoda Leptopoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The override needs to be removed and both CI and melos need further testing.
Blocking for now

@provokateurin provokateurin self-assigned this Feb 10, 2024
@provokateurin
Copy link
Member

I was about to file an issue that there is no stable SDK path anymore, but it is there again and the same as before.

@provokateurin
Copy link
Member

Renovate doesn't support the new file yet: https://github.com/renovatebot/renovate/blob/main/lib/modules/manager/fvm/index.ts
I'm going to make a PR to fix that, but I don't consider it a blocker for this PR.

@provokateurin
Copy link
Member

@renovate renovate bot force-pushed the renovate/fvm-3.x branch 6 times, most recently from 70cb877 to 9a8e6a3 Compare February 18, 2024 08:31
@provokateurin
Copy link
Member

The subsequent releases fixed all the problems, this should work now.

@provokateurin provokateurin merged commit 545b6b5 into main Feb 18, 2024
8 checks passed
@provokateurin provokateurin deleted the renovate/fvm-3.x branch February 18, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants