commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

feat(bump): add --version-files-only and deprecate --files-only

Open 2509abhi opened this issue 1 month ago • 2 comments

This PR implements the changes requested in #1658.

Implements the historical recommendations described in #1640 (comment).

New Feature

  • Added a new CLI flag: --version-files-only
  • Updates only the files in version_files without creating a commit or tag

Deprecation

  • Marked --files-only as deprecated (to be removed in v5)
  • Added CLI and docs deprecation notices

Configuration Handling

  • Supported legacy config key files_only if present
  • Ensured backward compatibility until v5

Documentation Updates

  • Updated bump.md to document --version-files-only
  • Added deprecation note for --files-only
  • Added historical note about old filesversion_files

Closes #1658

2509abhi avatar Nov 19 '25 15:11 2509abhi

pls run though our pr checklist (you should see it upon PR creation) to pass the PR pipeline.

just quickly scanned through your changes, looks like you didn't run poetry lint or poetry format

bearomorphism avatar Nov 19 '25 15:11 bearomorphism

All commit messages must meet our requirements. Run poetry all locally to identify any issues. Thanks :)

Lee-W avatar Nov 20 '25 01:11 Lee-W