clap_complete breaking changes
clap_complete 4.0.0 (September 28, 2022) is its newest release with breaking changes, 20 of them. The first: Removed Arg.max_values. Every breaking API change we have recorded in clap_complete on crates.io: 38 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.6.12, released November 16, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 4.0.0-rc.1 to 4.0.0: 21 breaking changes in 2 versions.
clap_complete 4.0.0 breaking changes
- Removed
Arg.max_values
Replace max_values with num_args(1..=M), which counts values per occurrence. github.com - Removed
Arg.min_values
Replace min_values with num_args(N..), which counts values per occurrence. github.com - Removed
Arg.require_value_delimiter
Use Arg::value_delimiter, or a custom TypedValueParser, instead. github.com - Removed
Arg.takes_value
Replace takes_value(true) with num_args(1) and takes_value(false) with num_args(0). github.com - Removed
clap_complete::Shell::possible_values
Use arg.value_parser instead. crates.io - Removed
clap_complete::shells::Shell::possible_values
Use arg.value_parser instead. crates.io - Removed
ErrorKind.EmptyValue
Match ErrorKind::InvalidValue instead of EmptyValue. github.com - Removed
ErrorKind.UnrecognizedSubcommand
Match ErrorKind::InvalidSubcommand instead. github.com - Behavior changed
Arg.long
Arg::long values must no longer start with dashes. github.com - Behavior changed
Arg.value_terminator
Arg::value_terminator values must now be given as their own argument rather than inside a delimited list. github.com - Behavior changed
Command.mut_arg
To customize help or version, disable them with disable_help_flag or disable_version_flag and provide your own. github.com - Default changed
Arg.action
An Arg's default action is now ArgAction::Set instead of counting occurrences; set the action explicitly where counting was relied on. github.com - Configuration changed
Help wrapping only happens if the wrap_help feature is enabled; otherwise hard-code line breaks. github.com - Configuration changed
Line wrapping of help output now requires the wrap_help feature; otherwise put newlines in manually. github.com - Configuration changed
Projects using default-features = false must re-add the help, usage and error-context feature flags. github.com - Signature changed
clap_complete::dynamic::bash::CompleteCommand::try_complete
Was fn try_complete(&self, cmd: &mut clap::Command) -> clap::Result<()>; now fn try_complete(&self, cmd: &mut clap::Command) -> clap::error::Result<()>. crates.io - Signature changed
clap_complete::generator::utils::find_subcommand_with_path
Was fn find_subcommand_with_path<'help, 'cmd>(p: &'cmd Command<'help>, path: Vec<&str>) -> &'cmd Command<'help>; now fn find_subcommand_with_path<'cmd>(p: &'cmd Command, path: Vec<&str>) -> &'cmd Command. crates.io - Signature changed
clap_complete::generator::utils::flags
Was fn flags<'help>(p: &Command<'help>) -> Vec<Arg<'help>>; now fn flags(p: &Command) -> Vec<Arg>. crates.io - Signature changed
clap_complete::generator::utils::possible_values
Was fn possible_values<'help>(a: &Arg<'help>) -> Option<Vec<clap::PossibleValue<'help>>>; now fn possible_values(a: &Arg) -> Option<Vec<clap::builder::PossibleValue>>. crates.io - Signature changed
Command.render_usage
Command::render_usage returns StyledStr instead of its previous type. github.com
clap_complete 4.0.0-rc.3 breaking changes
- Behavior changed
ArgAction.Set
Repeated uses now error unless args_override_self(true) is set to allow overriding. github.com
clap_complete 4.0.0-rc.1 breaking changes
- Removed
AppSettings
Use the getter and setter methods on Command and Arg instead. github.com - Removed
Arg.require_value_delimiter
Use Arg::value_delimiter, or a custom TypedValueParser, instead. github.com - Removed
Command
Code that compares Command values for equality will no longer compile. github.com - Removed
parse
Derived arguments now use value_parser by default; the parse attribute is no longer supported. github.com - Renamed
Arg.max_values
Replace Arg::max_values with Arg::num_args(1..=M), which applies per occurrence instead of across all occurrences. github.com - Renamed
Arg.min_values
Replace Arg::min_values with Arg::num_args(N..), which applies per occurrence instead of across all occurrences. github.com - Renamed
Arg.number_of_values
Use Arg::num_args instead, which counts raw arguments per occurrence rather than averaging across occurrences. github.com - Renamed
ErrorKind.EmptyValue
Match on ErrorKind::InvalidValue instead. github.com - Renamed
ErrorKind.UnrecognizedSubcommand
Match on ErrorKind::InvalidSubcommand instead. github.com - Behavior changed
The crate now requires Rust 1.60.0 or later to build. github.com
And 7 more in this version. Sign up to see every change
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.