Skip to content

Enhance dependency upgrade instructions - #13623

Merged
parlough merged 5 commits into
mainfrom
mit-mit-patch-1
Jul 28, 2026
Merged

Enhance dependency upgrade instructions#13623
parlough merged 5 commits into
mainfrom
mit-mit-patch-1

Conversation

@mit-mit

@mit-mit mit-mit commented Jul 23, 2026

Copy link
Copy Markdown
Member

Updated instructions for upgrading dependencies in pubspec.yaml to use the --major-versions flag.

Updated instructions for upgrading dependencies in pubspec.yaml to use the `--major-versions` flag.
@mit-mit
mit-mit requested review from a team and sfshaza2 as code owners July 23, 2026 10:52

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the dependency management documentation to recommend using the flutter pub upgrade --major-versions command for upgrading to newer major versions. The review feedback suggests a minor improvement to refer to flutter pub get instead of pub get to maintain consistency with Flutter-specific tooling.

Comment thread sites/docs/src/content/packages-and-plugins/dependency-management.md Outdated
@mit-mit

mit-mit commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

This is consistent with what we have in https://docs.flutter.dev/install/upgrade#upgrade-packages

…ent.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@flutter-website-bot

flutter-website-bot commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 5a8496d):

https://flutter-docs-prod--docs-pr13623-mit-mit-patch-1-dc7s4c9q.web.app

@flutter-website-bot

flutter-website-bot commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 5a8496d):

https://flutter-dev-230821--www-pr13623-mit-mit-patch-1-5j5wd3fu.web.app

@parlough parlough left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @mit-mit, suggesting this command makes a lot of sense.

One suggestion for you to consider, but looks good to me!

Comment thread sites/docs/src/content/packages-and-plugins/dependency-management.md Outdated
@parlough
parlough merged commit ca822a3 into main Jul 28, 2026
14 checks passed
@parlough
parlough deleted the mit-mit-patch-1 branch July 28, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants