Bump depend_on_what_you_use from 1.1.2 to 1.2.0 #573
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #573"
general
weight: 0.35
helly25
Bumps depend_on_what_you_use from 1.1.2 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/martis42/depend_on_what_you_use/releases">depend_on_what_you_use's releases</a>.</em></p>
<blockquote>
<h2>1.2.0</h2>
<h2>Noteworthy Changes</h2>
<h3>Changed</h3>
<ul>
<li>[aspect] <strong>The default value of option <code>preprocessing_mode</code> is now <code>fast</code></strong>.
While the <code>boost::wave</code> based modes <code>full</code> and <code>ignore_system_includes</code> work in most cases, there are some known edge cases. Also, they are significantly slower than the <code>fast</code> mode. Thus, the <code>preprocessing_mode</code> values <code>full</code> and <code>ignore_system_includes</code> should be used only by projects actually utilizing conditional include statements.</li>
<li>[aspect] Use the C++ standard of the Bazel configuration and CC toolchain when preprocessing with <code>preprocessing_mode</code> values <code>full</code> or <code>ignore_system_includes</code>, instead of always using C++11.
Please note, if your code uses preprocessor relevant language constructs newer than you project C/C++ language standard and your compiler manages this by some extension mechanism, this won't be parseable by the DWYU preprocessor.</li>
<li>[target_mapping] The explicit mapping mode in <code>dwyu_make_cc_info_mapping</code> has been reworked:
<ul>
<li>You can only map targets from the dependency tree and no longer by accident map unrelated targets.</li>
<li>There are no more visibility constraints for the mapped targets.</li>
<li>The old single target mapping syntax is still supported for a grace period.</li>
</ul>
</li>
<li>[target_mapping] The dependencies mapping modes in <code>dwyu_make_cc_info_mapping</code> have been reworked:
<ul>
<li>The <code>MAP_DIRECT_DEPS</code> and <code>MAP_TRANSITIVE_DEPS</code> modes can now be limited to a subset of targets.</li>
<li>Mapping all dependencies is now an explicit choice instead of an implicit default.</li>
<li>The old syntax to specify mappings is still supported for a grace period.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[aspect] Properly preprocess raw string literals with the preprocessing modes <code>full</code> and <code>ignore_system_includes</code>.</li>
<li>[aspect] Allow code undefining build configuration macros with the preprocessing modes <code>full</code> and <code>ignore_system_includes</code>.</li>
</ul>
<h3>Added</h3>
<ul>
<li>Add a dedicate user guide giving guidance on the most common configuration steps for using DWYU in <a href="https://github.com/martis42/depend_on_what_you_use/blob/HEAD/docs/project/dwyu_user_guide.md">dwyu_user_guide.md</a>.</li>
<li>[aspect] Add new option <code>preprocessing_fallback</code>, which makes the preprocessing modes <code>full</code> and <code>ignore_system_includes</code> fall back to the <code>fast</code> mode for files <code>boost::wave</code> cannot preprocess properly.
For some code constructs <code>boost::wave</code> fails the preprocessing and our include statement discovery logic breaks.
With this option enabled, in such a case we rescan the code automatically without preprocessor which might report too many include statements if conditional incudes were used, but never too little.</li>
</ul>
<h2>Using this release</h2>
<p>Add to your <code>MODULE.bazel</code> file:</p>
<pre lang="starlark"><code>bazel_dep(name = "depend_on_what_you_use", version = "1.2.0")
</code></pre>
<hr />
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update dependency bazel_lib to v3.7.1 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/642">martis42/depend_on_what_you_use#642</a></li>
<li>chore(deps): update github/codeql-action action to v4.37.7 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/643">martis42/depend_on_what_you_use#643</a></li>
<li>feat(aspect): Offer more control for target mapping by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/644">martis42/depend_on_what_you_use#644</a></li>
<li>docs: Allow AI based contribution and give it some terms by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/645">martis42/depend_on_what_you_use#645</a></li>
<li>ci: Reduce feedback time by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/646">martis42/depend_on_what_you_use#646</a></li>
<li>chore: Make project AI agents friendly by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/647">martis42/depend_on_what_you_use#647</a></li>
<li>docs: Be explicit about header only code in our Assumptions of Use by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/648">martis42/depend_on_what_you_use#648</a></li>
<li>feat(aspect): Offer more powerful explicit target mapping by <a href="https://github.com/martis42"><code>@martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/649">martis42/depend_on_what_you_use#649</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/martis42/depend_on_what_you_use/blob/main/CHANGELOG.md">depend_on_what_you_use's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/martis42/depend_on_what_you_use/releases/tag/1.2.0">1.2.0</a> - 2026.10.23</h2>
<h3>Changed</h3>
<ul>
<li>[aspect] The default value of option <code>preprocessing_mode</code> is now <code>fast</code>.
While the <code>boost::wave</code> based modes <code>full</code> and <code>ignore_system_includes</code> work in most cases, there are some known edge cases.
Also, they are significantly slower than the <code>fast</code> mode.
Thus, the <code>preprocessing_mode</code> values <code>full</code> and <code>ignore_system_includes</code> should be used only by projects actually utilizing conditional include statements.</li>
<li>[aspect] Use the C++ standard of the Bazel configuration and CC toolchain when preprocessing with <code>preprocessing_mode</code> values <code>full</code> or <code>ignore_system_includes</code>, instead of always using C++11.
Please note, if your code uses preprocessor relevant language constructs newer than you project C/C++ language standard and your compiler manages this by some extension mechanism, this won't be parseable by the DWYU preprocessor.</li>
<li>[target_mapping] The explicit mapping mode in <code>dwyu_make_cc_info_mapping</code> has been reworked:
<ul>
<li>You can only map targets from the dependency tree and no longer by accident map unrelated targets.</li>
<li>There are no more visibility constraints for the mapped targets.</li>
<li>The old single target mapping syntax is still supported for a grace period.</li>
</ul>
</li>
<li>[target_mapping] The dependencies mapping modes in <code>dwyu_make_cc_info_mapping</code> have been reworked:
<ul>
<li>The <code>MAP_DIRECT_DEPS</code> and <code>MAP_TRANSITIVE_DEPS</code> modes can now be limited to a subset of targets.</li>
<li>Mapping all dependencies is now an explicit choice instead of an implicit default.</li>
<li>The old syntax to specify mappings is still supported for a grace period.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[aspect] Properly preprocess raw string literals with the preprocessing modes <code>full</code> and <code>ignore_system_includes</code>.</li>
<li>[aspect] Allow code undefining build configuration macros with the preprocessing modes <code>full</code> and <code>ignore_system_includes</code>.</li>
</ul>
<h3>Added</h3>
<ul>
<li>Add a dedicate user guide giving guidance on the most common configuration steps for using DWYU in <a href="https://github.com/martis42/depend_on_what_you_use/blob/main/docs/project/dwyu_user_guide.md">dwyu_user_guide.md</a>.</li>
<li>[aspect] Add new option <code>preprocessing_fallback</code>, which makes the preprocessing modes <code>full</code> and <code>ignore_system_includes</code> fall back to the <code>fast</code> mode for files <code>boost::wave</code> cannot preprocess properly.
For some code constructs <code>boost::wave</code> fails the preprocessing and our include statement discovery logic breaks.
With this option enabled, in such a case we rescan the code automatically without preprocessor which might report too many include statements if conditional incudes were used, but never too little.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/1e88d5241733fdebd185821b95057dd91b96464e"><code>1e88d52</code></a> docs: Move automatic_fixes docs into dedicated file</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/c711beab84f6f4d7b1695f55a62eab858ce67220"><code>c711bea</code></a> ci: Name job for formatting and linting step properly</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/68bbff717547f1ee43802b9b96d3c1a3b92f04aa"><code>68bbff7</code></a> ci: Reduce CI feedback time</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/cdf2741205709cb69d382c31d2265345ce9b92e8"><code>cdf2741</code></a> docs: Add table of content to design rationales</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/e51a531d9c8b253ce50769d211a55a63139b5ac7"><code>e51a531</code></a> chore: Automate table of content in docs</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/35bf41b1478f73e7d8df49affe1c388364080f90"><code>35bf41b</code></a> chore(deps): Update Bazel development version to 9.3.1</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/dcf118b63c4d6d676b979bef6b6fb15f51a14ba5"><code>dcf118b</code></a> docs: Replace references to deprecated aspect option</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/81370cde69b4ae1631e6e4886a451c3ef505959e"><code>81370cd</code></a> chore: Consistent style for linking internal paths in docs</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/baea08eee7ba6f0d46acd87d613bcf6991e4c4c1"><code>baea08e</code></a> docs: Add dedicated guide for using and configuring DWYU</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/ee167d224f1947e10affb9f6601fb531af378aee"><code>ee167d2</code></a> chore(aspect): Drop boost.wave patches</li>
<li>Additional commits viewable in <a href="https://github.com/martis42/depend_on_what_you_use/compare/1.1.2...1.2.0">compare view</a></li>
</ul>
</details>
<br />