Skip to content

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

Merged
trunk-io[bot] merged 2 commits into
trunk-io:mainfrom
helly25:clang-format-default-20.1.0
Aug 1, 2026
Merged

clang-format: bump default and known_good_version to 20.1.0#1138
trunk-io[bot] merged 2 commits into
trunk-io:mainfrom
helly25:clang-format-default-20.1.0

Conversation

@helly25

@helly25 helly25 commented May 16, 2026

Copy link
Copy Markdown
Contributor

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>

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

LGTM

@trunk-io

trunk-io Bot commented Aug 1, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@trunk-io
trunk-io Bot merged commit 85638ff into trunk-io:main Aug 1, 2026
13 checks passed
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.

2 participants