Skip to content

clang-format: bump default and known_good_version to 20.1.0#1138

Open
helly25 wants to merge 1 commit into
trunk-io:mainfrom
helly25:clang-format-default-20.1.0
Open

clang-format: bump default and known_good_version to 20.1.0#1138
helly25 wants to merge 1 commit into
trunk-io:mainfrom
helly25:clang-format-default-20.1.0

Conversation

@helly25
Copy link
Copy Markdown
Contributor

@helly25 helly25 commented May 16, 2026

Summary

  • Move clang-format's default version from 14.0.1 and the lint known_good_version from 16.0.3 to 20.1.0, the newest patch the trunk.io CDN actually hosts.
  • Add a header comment in plugin.yaml enumerating the patches available per platform on the trunk.io CDN so future contributors can pick a working version without trial-and-error.

The downloads: block is structurally unchanged — only the default and the documented known_good_version move.

Test plan

  • Pre-push hook runs tests/repo_tests/{valid_package_download,config_check}.test.ts — passed (228 tests, 1 snapshot).
  • Snapshot update: the lint test currently uses clang_format_v16.0.3_*.shot; running with known_good_version: 20.1.0 will regenerate snapshots.

🤖 Generated with Claude Code

Document the patch versions trunk.io's CDN actually publishes for
clang-format and move the defaults from 14.0.1 / 16.0.3 to 20.1.0,
which is the newest patch available across all four platforms.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant