Skip to content

Update SwiftPM mentions on pubspec reference page#13598

Merged
sfshaza2 merged 1 commit into
mainfrom
misc/swift-pm-pubspec-mentions
Jul 21, 2026
Merged

Update SwiftPM mentions on pubspec reference page#13598
sfshaza2 merged 1 commit into
mainfrom
misc/swift-pm-pubspec-mentions

Conversation

@parlough

@parlough parlough commented Jul 20, 2026

Copy link
Copy Markdown
Member
  • Remove the documentation for the disable-swift-package-manager which has been superseded by the enable-swift-package-manager field under config.
    • Keep an anchor with the same fragment so it directs existing links to the new field's documentation.
  • Add a section explicitly covering the enable-swift-package-manager field.
  • Add a version note explaining how SwiftPM was previously not enabled by default. Also reference our SwiftPM docs.

Staged: https://flutter-docs-prod--docs-pr13598-misc-swift-pm-pubspec-2ofp67zl.web.app/tools/pubspec#enable-swift-package-manager

@parlough
parlough requested a review from jmagman July 20, 2026 20:48
@parlough
parlough requested review from a team and sfshaza2 as code owners July 20, 2026 20:48

@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 pubspec.md documentation to reflect changes in how Swift Package Manager (SPM) is configured. Specifically, it removes the deprecated top-level disable-swift-package-manager field and introduces the new enable-swift-package-manager field under the config section, detailing how to disable SPM and noting that this disable option will be removed in a future release. I have no feedback to provide as there are no review comments.

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

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

https://flutter-docs-prod--docs-pr13598-misc-swift-pm-pubspec-2ofp67zl.web.app

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

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

https://flutter-dev-230821--www-pr13598-misc-swift-pm-pubspec-pbojoilb.web.app

@sfshaza2 sfshaza2 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.

lgtm

@sfshaza2
sfshaza2 merged commit 2ec5774 into main Jul 21, 2026
14 checks passed
@sfshaza2
sfshaza2 deleted the misc/swift-pm-pubspec-mentions branch July 21, 2026 14:42
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