clap breaking changes
Updated December 4, 2026
On this page
Latest version 4.6.10, released November 24, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 3.0.0 to 4.6.1: 451 breaking changes in 29 versions.
- From 0.4.0 to 4.6.1: 673 breaking changes in 35 versions.
clap 4.6.1 breaking changes
- 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
clap 4.6.0 breaking changes
- 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
clap 4.5.55 breaking changes
- 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
clap 4.5.47 breaking changes
- 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
clap 4.5.36 breaking changes
- 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
clap 4.5.29 breaking changes
- 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
Older versions
30 older versions, each with its first changes. Sign up to see every change
Show 30 older versions
clap 4.5.27 breaking changes
- Removed
clap::_derive::_tutorial::chapter_0
clap::_derive::_tutorial::chapter_0 was removed in clap 4.5.27 crates.io - Removed
clap::_derive::_tutorial::chapter_1
clap::_derive::_tutorial::chapter_1 was removed in clap 4.5.27 crates.io
And 10 more in this version.
clap 4.5.22 breaking changes
- 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
clap 4.5.17 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 - Renamed
ArgValueCompleter
ArgValueCompleter was renamed to ArgValueCandidates. Update code to use the new name. github.com
And 4 more in this version.
clap 4.5.16 breaking changes
- Removed
An unused method was removed from the CommandCompleter trait. Implementations that define it must drop it. github.com - Removed
--register
The --register flag was removed. Generate the completion script on shell load instead. github.com
And 6 more in this version.
clap 4.5.15 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 - 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
And 3 more in this version.
clap 4.5.14 breaking changes
- 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
clap 4.5.0 breaking changes
- Behavior changed
The minimum supported Rust version is now 1.74. Users building clap with an older Rust toolchain must upgrade it. github.com
clap 4.4.15 breaking changes
- 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
clap 4.4.0 breaking changes
- 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
clap 4.3.17 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 - 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
clap 4.3.9 breaking changes
- 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
clap 4.3.8 breaking changes
- 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
clap 4.3.5 breaking changes
- 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
clap 4.3.0 breaking changes
- Removed
A breaking commit removes an unsafe method from the lexer. Code that calls it must stop using it. github.com - 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
clap 4.2.0 breaking changes
- Removed
unstable-grouped
The stabilized unstable-grouped feature was removed; code enabling it must be updated. github.com - 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
clap 4.1.0 breaking changes
- Behavior changed
The minimum supported Rust version is now 1.64.0. Older toolchains may no longer build the package. github.com - 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
And 1 more in this version.
clap 4.0.26 breaking changes
- 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
clap 4.0.21 breaking changes
- 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
clap 4.0.15 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 - 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
And 1 more in this version.
clap 4.0.2 breaking changes
- 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
clap 4.0.0 breaking changes
- Removed
AppSettings
Use the Command and Arg setter methods instead of the AppSettings and ArgSettings enums. github.com - Removed
arg_enum
Use the value_enum attribute instead of arg_enum. github.com
And 356 more in this version.
clap 4.0.0-rc.3 breaking changes
- Behavior changed
ArgAction.Set
Repeated occurrences conflict unless args_override_self(true) is set on the command. github.com - Configuration changed
Enable the wrap_help feature flag to keep line wrapping, or hard-code your wraps. github.com
clap 4.0.0-rc.1 breaking changes
- Removed
arg_enum
Use the value_enum attribute instead. github.com - Removed
Arg.require_value_delimiter
Use Arg::value_delimiter, or a custom TypedValueParser. github.com
And 29 more in this version.
clap 3.0.0 breaking changes
- Removed
clap::_clap_count_exprs!
clap::_clap_count_exprs! was removed in clap 3.0.0 crates.io - Removed
clap::App::gen_completions
clap::App::gen_completions was removed in clap 3.0.0 crates.io
And 193 more in this version.
clap 1.0.0 breaking changes
- Removed
clap::App::error_on_no_subcommand
clap::App::error_on_no_subcommand was removed in clap 1.0.0 crates.io - Removed
clap::Arg::mutually_excludes
clap::Arg::mutually_excludes was removed in clap 1.0.0 crates.io
And 4 more in this version.
clap 1.0.0-beta breaking changes
- 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
clap 0.11.0 breaking changes
- 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
clap 0.10.0 breaking changes
- 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
clap 0.5.0 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 - Removed
unstable-grouped
The unstable-grouped feature flag, which had been stabilized, is removed. Code enabling it must drop that feature. github.com
And 16 more in this version.
clap 0.4.0 breaking changes
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.