Skip to content

docs: document what happened to build tags in v3#2358

Open
dearchap wants to merge 1 commit into
mainfrom
issue_2304
Open

docs: document what happened to build tags in v3#2358
dearchap wants to merge 1 commit into
mainfrom
issue_2304

Conversation

@dearchap
Copy link
Copy Markdown
Contributor

@dearchap dearchap commented Jun 7, 2026

What type of PR is this?

  • documentation

What this PR does / why we need it:

Adds a "Build Tags" section to the v2→v3 migration guide explaining that the urfave_cli_no_docs and urfave_cli_no_suggest build tags from v2 are not available in v3 because they are no longer necessary:

  • Doc generation moved to a separate module (github.com/urfave/cli-docs/v3)
  • Suggestion algorithm inlined (no external dependency)
  • Shell completion uses embed.FS (zero deps)
  • Altsrc extracted to a separate module

Binary size in v3 is managed through architectural simplification rather than build tags.

Which issue(s) this PR fixes:

Fixes #2304

Special notes for your reviewer:

Only docs/migrate-v2-to-v3.md was modified.

Testing

Rendered the markdown locally to verify formatting.

Release Notes

NONE

@dearchap dearchap requested a review from a team as a code owner June 7, 2026 10:20
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.

Documentation on build flags is gone

1 participant