---
title: "clap 4.6.1 Breaking Changes on crates.io | Since.dev"
description: "What each clap release removed, renamed or changed: 675 breaking changes in 36 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/clap
last_updated: 2026-12-04
---

# clap breaking changes

clap 4.6.1 (April 15, 2026) is its newest release with breaking changes. The first: Man page env support now requires the env feature in clap 4.6.1. Every breaking API change we have recorded in clap on crates.io: 675 breaking changes in 36 versions. Below, its 36 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.10`, released November 24, 2026. [Source repository](https://github.com/clap-rs/clap)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [3.0.0](#v-3-0-0) to [4.6.1](#v-4-6-1): 451 breaking changes in 29 versions.
- From [0.4.0](#v-0-4-0) to [4.6.1](#v-4-6-1): 673 breaking changes in 35 versions.

## clap 4.6.1 breaking changes

clap 4.6.1, released April 15, 2026: 1 breaking change.

- **Configuration changed**  

Environment variable support in man page generation is now behind the env feature, so code relying on it must enable that feature. [github.com](https://github.com/clap-rs/clap/commit/dd1fcd3d4be0fcc2d3eede07df4d9ec25663241c)

## clap 4.6.0 breaking changes

clap 4.6.0, released March 12, 2026: 1 breaking change.

- **Configuration changed**  

The minimum supported Rust version (MSRV) is now 1.85. Users on older Rust compilers must upgrade their toolchain before building this release. [github.com](https://github.com/clap-rs/clap/blob/v4.6.0/CHANGELOG.md)

## clap 4.5.55 breaking changes

clap 4.5.55, released January 27, 2026: 1 breaking change.

- **Behavior changed** `value_terminator`  

Positionals using value_terminator("--") now treat a following "--" consistently with escapes, so ./foo -- bar no longer leaves the first argument empty. Code relying on the previous parsing should be checked. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.5.55)

## clap 4.5.47 breaking changes

clap 4.5.47, released September 2, 2025: 1 breaking change.

- **Behavior changed**  

The runtime error message text emitted by derived parsers was updated to match clap's own wording. Code that matches on the exact error text may need updating. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.5.47)

## clap 4.5.36 breaking changes

clap 4.5.36, released April 11, 2025: 1 breaking change.

- **Behavior changed**  

The 4.5.35 change that stopped leaving space for short flags when none exist is reverted, so help output spacing returns to the earlier layout. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.5.36)

## clap 4.5.29 breaking changes

clap 4.5.29, released February 11, 2025: 1 breaking change.

- **Behavior changed** `ArgMatches.args_present`  

ArgMatches::args_present now treats flags that were not passed as not present, matching its documentation. Code that relied on the previous result must be checked. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.5.29)

## Older versions

30 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### clap 4.5.27 breaking changes

clap 4.5.27, released January 20, 2025: 12 breaking changes.

- **Removed** `clap::_derive::_tutorial::chapter_0`  

clap::\_derive::\_tutorial::chapter_0 was removed in clap 4.5.27 [crates.io](https://crates.io/crates/clap/4.5.27)
- **Removed** `clap::_derive::_tutorial::chapter_1`  

clap::\_derive::\_tutorial::chapter_1 was removed in clap 4.5.27 [crates.io](https://crates.io/crates/clap/4.5.27)

And 10 more in this version.

### clap 4.5.22 breaking changes

clap 4.5.22, released December 3, 2024: 1 breaking change.

- **Behavior changed**  

Debug assertions now flag arguments that require themselves, which previously went unnoticed; code with such arguments will panic in debug builds. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.5.22)

### clap 4.5.17 breaking changes

clap 4.5.17, released September 4, 2024: 6 breaking changes.

- **Removed** `CompleteCommand`  

CompleteCommand was removed because it had too many caveats to maintain. Code that uses it must stop using it. [github.com](https://github.com/clap-rs/clap/commit/72dda07a423d62bcc09aed8bf4743050a2e70dd9)
- **Renamed** `ArgValueCompleter`  

ArgValueCompleter was renamed to ArgValueCandidates. Update code to use the new name. [github.com](https://github.com/clap-rs/clap/commit/6ddd5d4e11f4ecca080a9b0758d3342d440f6429)

And 4 more in this version.

### clap 4.5.16 breaking changes

clap 4.5.16, released August 15, 2024: 8 breaking changes.

- **Removed**  

An unused method was removed from the CommandCompleter trait. Implementations that define it must drop it. [github.com](https://github.com/clap-rs/clap/commit/158e7161aa84ae1e6017a27c2c369c36892b2a6a)
- **Removed** `--register`  

The --register flag was removed. Generate the completion script on shell load instead. [github.com](https://github.com/clap-rs/clap/commit/c9df58bcf73dcdbf80694517c41b28c1d4d21efa)

And 6 more in this version.

### clap 4.5.15 breaking changes

clap 4.5.15, released August 10, 2024: 5 breaking changes.

- **Removed** `Completer`  

Completer was moved into the shells module because it only exists for shell adaptation. Code importing it from its old location must be updated. [github.com](https://github.com/clap-rs/clap/commit/16366d21f1fe5d1e2f2bc3310aee714b163a07dc)
- **Removed** `remove`  

The remove method was moved from the builder to reflection because it is not derive compatible. Code calling it on the builder must be updated. [github.com](https://github.com/clap-rs/clap/commit/7d14ce34de6c37a5065fe1539063aeaa45c7b0f5)

And 3 more in this version.

### clap 4.5.14 breaking changes

clap 4.5.14, released August 8, 2024: 1 breaking change.

- **Signature changed**  

Extension methods now return the builder for chaining instead of their previous form. Code that relied on the old return values or mutation must be updated. [github.com](https://github.com/clap-rs/clap/commit/11538586eb0ca460b193eaaf99b86fdac740aba8)

### clap 4.5.0 breaking changes

clap 4.5.0, released February 8, 2024: 1 breaking change.

- **Behavior changed**  

The minimum supported Rust version is now 1.74. Users building clap with an older Rust toolchain must upgrade it. [github.com](https://github.com/clap-rs/clap/blob/v4.5.0/CHANGELOG.md)

### clap 4.4.15 breaking changes

clap 4.4.15, released January 11, 2024: 1 breaking change.

- **Behavior changed** `args_conflicts_with_subcommands`  

Using subcommand short and long flags with args_conflicts_with_subcommands now produces an error, which code relying on the previous behavior may hit. Remove the conflicting flags or the args_conflicts_with_subcommands setting. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.4.15)

### clap 4.4.0 breaking changes

clap 4.4.0, released August 24, 2023: 1 breaking change.

- **Behavior changed**  

The minimum supported Rust version is now 1.70.0. Users on older Rust toolchains must upgrade to build this release. [github.com](https://github.com/clap-rs/clap/blob/v4.4.0/CHANGELOG.md)

### clap 4.3.17 breaking changes

clap 4.3.17, released July 19, 2023: 2 breaking changes.

- **Behavior changed**  

The commit is marked as a breaking change to completion code, but the text does not say which behavior changed, so check the commit before upgrading if you use clap's completions. [github.com](https://github.com/clap-rs/clap/commit/8e9ded2f6a484cd55142ce255677e9ce4578e02e)
- **Behavior changed**  

The commit is marked as a breaking change to completion support, but the text does not say which behavior changed, so check the commit before upgrading if you use clap's completions. [github.com](https://github.com/clap-rs/clap/commit/00e92171832238e85ab7336a700598a6fb33effe)

### clap 4.3.9 breaking changes

clap 4.3.9, released June 28, 2023: 1 breaking change.

- **Behavior changed** `Command.ignore_errors`  

Help and version requests are no longer hidden when ignore_errors is set; code relying on the old masking may see different output. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.3.9)

### clap 4.3.8 breaking changes

clap 4.3.8, released June 23, 2023: 1 breaking change.

- **Behavior changed** `infer_long_arg`  

With infer_long_arg, an ambiguous abbreviated long argument now produces an error rather than arbitrarily matching one of the candidates. Code that relied on the arbitrary match must spell out the full argument name. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.3.8)

### clap 4.3.5 breaking changes

clap 4.3.5, released June 20, 2023: 1 breaking change.

- **Behavior changed** `ColorChoice.to_possible_value`  

ColorChoice::to_possible_value no longer includes descriptions, so generated help text can be shorter. Code that depends on the descriptions being present must be updated. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.3.5)

### clap 4.3.0 breaking changes

clap 4.3.0, released May 19, 2023: 2 breaking changes.

- **Removed**  

A breaking commit removes an unsafe method from the lexer. Code that calls it must stop using it. [github.com](https://github.com/clap-rs/clap/commit/3db35249438e6ffc7f2ef2776c7faa3de54153ba)
- **Behavior changed**  

Help output for the subcommand list no longer switches to next-line help just because --help is used; it applies only when next-line-help is set explicitly. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.3.0)

### clap 4.2.0 breaking changes

clap 4.2.0, released March 28, 2023: 2 breaking changes.

- **Removed** `unstable-grouped`  

The stabilized unstable-grouped feature was removed; code enabling it must be updated. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.2.0)
- **Removed** `unstable-replace`  

The unstable-replace feature was removed; code relying on it must be changed, since the feature is no longer available. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.2.0)

### clap 4.1.0 breaking changes

clap 4.1.0, released January 13, 2023: 3 breaking changes.

- **Behavior changed**  

The minimum supported Rust version is now 1.64.0. Older toolchains may no longer build the package. [github.com](https://github.com/clap-rs/clap/blob/v4.1.0/CHANGELOG.md)
- **Behavior changed**  

Error messages now use tips instead of "did you mean", start with a lower-case letter, and have different punctuation. Apps that match or imitate clap's error text may need updates. [github.com](https://github.com/clap-rs/clap/blob/v4.1.0/CHANGELOG.md)

And 1 more in this version.

### clap 4.0.26 breaking changes

clap 4.0.26, released November 16, 2022: 1 breaking change.

- **Behavior changed** `clap.error.ContextKind.as_str`  

The strings returned by ContextKind::as_str were corrected for typos, so code matching the old strings may need updating. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.26)

### clap 4.0.21 breaking changes

clap 4.0.21, released November 7, 2022: 1 breaking change.

- **Behavior changed** `long_about`  

The bare long_about and long_help derive attributes now force the doc comment as the long help, even when it matches the short help; previously it was left unset in that case. Check code that relied on long help being absent. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.21)

### clap 4.0.15 breaking changes

clap 4.0.15, released October 13, 2022: 3 breaking changes.

- **Behavior changed**  

Error output wording changed: \`--\` is suggested only when it helps, and quoting, punctuation and indentation are more consistent. Code that matches exact error text may need updating. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.15)
- **Signature changed** `clap::Arg::default_value_if`  

Was fn default_value_if(mut self, arg_id: impl Into\<Id>, val: impl Into\<ArgPredicate>, default: impl IntoResettable\<OsStr>) -> Self; now fn default_value_if(mut self, arg_id: impl Into\<Id>, predicate: impl Into\<ArgPredicate>, default: impl... [crates.io](https://crates.io/crates/clap/4.0.15)

And 1 more in this version.

### clap 4.0.2 breaking changes

clap 4.0.2, released September 28, 2022: 1 breaking change.

- **Behavior changed**  

A SetFalse argument now conflicts with itself the same way SetTrue and Set arguments do, so repeating it may now be rejected. Check that code does not pass such an argument more than once. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.2)

### clap 4.0.0 breaking changes

clap 4.0.0, released September 28, 2022: 358 breaking changes.

- **Removed** `AppSettings`  

Use the Command and Arg setter methods instead of the AppSettings and ArgSettings enums. [github.com](https://github.com/clap-rs/clap/blob/v4.0.0/CHANGELOG.md)
- **Removed** `arg_enum`  

Use the value_enum attribute instead of arg_enum. [github.com](https://github.com/clap-rs/clap/blob/v4.0.0/CHANGELOG.md)

And 356 more in this version.

### clap 4.0.0-rc.3 breaking changes

clap 4.0.0-rc.3, released September 28, 2022: 2 breaking changes.

- **Behavior changed** `ArgAction.Set`  

Repeated occurrences conflict unless args_override_self(true) is set on the command. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.0-rc.3)
- **Configuration changed**  

Enable the wrap_help feature flag to keep line wrapping, or hard-code your wraps. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.0-rc.3)

### clap 4.0.0-rc.1 breaking changes

clap 4.0.0-rc.1, released September 28, 2022: 31 breaking changes.

- **Removed** `arg_enum`  

Use the value_enum attribute instead. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.0-rc.1)
- **Removed** `Arg.require_value_delimiter`  

Use Arg::value_delimiter, or a custom TypedValueParser. [github.com](https://github.com/clap-rs/clap/releases/tag/v4.0.0-rc.1)

And 29 more in this version.

### clap 3.0.0 breaking changes

clap 3.0.0, released December 31, 2021: 195 breaking changes.

- **Removed** `clap::_clap_count_exprs!`  

clap::\_clap_count_exprs! was removed in clap 3.0.0 [crates.io](https://crates.io/crates/clap/3.0.0)
- **Removed** `clap::App::gen_completions`  

clap::App::gen_completions was removed in clap 3.0.0 [crates.io](https://crates.io/crates/clap/3.0.0)

And 193 more in this version.

### clap 1.0.0 breaking changes

clap 1.0.0, released July 8, 2015: 6 breaking changes.

- **Removed** `clap::App::error_on_no_subcommand`  

clap::App::error_on_no_subcommand was removed in clap 1.0.0 [crates.io](https://crates.io/crates/clap/1.0.0)
- **Removed** `clap::Arg::mutually_excludes`  

clap::Arg::mutually_excludes was removed in clap 1.0.0 [crates.io](https://crates.io/crates/clap/1.0.0)

And 4 more in this version.

### clap 1.0.0-beta breaking changes

clap 1.0.0-beta, released July 8, 2015: 1 breaking change.

- **Removed**  

Deprecated functions have been removed in this release. Switch to the replacements listed in the README deprecations section, which is a single find-and-replace per function. [github.com](https://github.com/clap-rs/clap/releases/tag/v1.0.0-beta)

### clap 0.11.0 breaking changes

clap 0.11.0, released June 17, 2015: 1 breaking change.

- **Default changed**  

The default short flag for showing the version is now -V instead of the previous default. It can still be overridden, but code or manual docs that rely on the old default must be updated. [github.com](https://github.com/clap-rs/clap/releases/tag/v0.11.0)

### clap 0.10.0 breaking changes

clap 0.10.0, released May 23, 2015: 1 breaking change.

- **Signature changed** `clap::App::subcommand`  

Was fn subcommand(mut self, subcmd: App<'a, 'v, 'ab, 'u, 'h, 'ar>) -> App<'a, 'v, 'ab, 'u, 'h, 'ar>; now fn subcommand(mut self, mut subcmd: App<'a, 'v, 'ab, 'u, 'h, 'ar>) -> App<'a, 'v, 'ab, 'u, 'h, 'ar>. [crates.io](https://crates.io/crates/clap/0.10.0)

### clap 0.5.0 breaking changes

clap 0.5.0, released March 29, 2015: 18 breaking changes.

- **Removed**  

A method named as 'unsafe safe' was removed in a breaking commit, so code calling it will no longer compile. [github.com](https://github.com/clap-rs/clap/commit/3db35249438e6ffc7f2ef2776c7faa3de54153ba)
- **Removed** `unstable-grouped`  

The unstable-grouped feature flag, which had been stabilized, is removed. Code enabling it must drop that feature. [github.com](https://github.com/clap-rs/clap/commit/d5089b267235db72a6ea146ac4f1cb7f79a170a6)

And 16 more in this version.

### clap 0.4.0 breaking changes

clap 0.4.0, released March 15, 2015: 2 breaking changes.

- **Removed** `clap::ArgMatches::name`  

clap::ArgMatches::name was removed in clap 0.4.0 [crates.io](https://crates.io/crates/clap/0.4.0)
- **Signature changed** `clap::ArgMatches::new`  

Was fn new(app: &App) -> ArgMatches; now fn new(name: &'static str) -> ArgMatches. [crates.io](https://crates.io/crates/clap/0.4.0)

## Related packages

- [clap_complete](https://since.dev/packages/crates/clap%5Fcomplete.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
