Release 2.1.221 (2026-09-03)¶
Bug fixes¶
- re-ignore CMakeUserPresets.json in gitignore fragment (#3045) Task 4 (#3034) over-pruned the cpp gitignore fragment: it removed both CMakePresets.json and CMakeUserPresets.json on the premise that conan install --output-folder=build relocates all Conan output under the already-ignored build/. That holds for CMakePresets.json but not for CMakeUserPresets.json — Conan 2's CMakeToolchain always writes the user-presets pointer stub to the source root beside the conanfile, regardless of --output-folder, so a real conan install leaves it untracked at the root and dirties the tree.
Re-add CMakeUserPresets.json to the cpp fragment and to the frozen _LEGACY_GITIGNORE_PATTERNS set (44->45), drop it from _DROPPED_CONAN_PATTERNS, and assert compose(cpp) and managed_vocabulary() keep ignoring it. CMakePresets.json stays pruned (it genuinely lives under build/).
CI Evidence: All gates passed — full audit bundle available. Download →