# What changed in clap

> 162 changes in clap 3 to 4 from its official release notes, upgrade guides and advisories: 82 breaking, 11 deprecations, 48 new APIs and options. Each one cited. Sources checked 2026-11-25. HTML: https://unstale.sh/cargo/clap/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## clap 4

### Breaking changes

- Fixes precedence between positionals using value_terminator("--") and escapes, so `./foo -- bar` treats the first argument as empty rather than escaping future arguments. (4.5.55) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.55)
- Its default value type changed from `String` to `OsString`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Short flags now take precedence over hyphen values when this argument setting is used. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Applies per occurrence rather than when a value is missing across all occurrences. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- The derive attribute was removed in favor of `value_enum`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use `Arg::num_args(1..=M)` to set a maximum per occurrence. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use `Arg::num_args(N..)` to set a minimum per occurrence. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use `Arg::num_args` with a range instead. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Replaces several value-count APIs and controls the number of raw command-line arguments captured per occurrence; it accepts single values and ranges. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Removed; use `Arg::value_delimiter` or implement a custom parser with `TypedValueParser`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use `Arg::num_args(1)` or `Arg::num_args(0)` instead. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this derive attribute in place of the removed `arg_enum` attribute. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Derives now default to `value_parser` instead of `parse`; `parse` support was removed. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- The terminator must now be its own command-line argument rather than appearing in a delimited list. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- The macro now assigns an action based on argument form; use the corresponding `ArgMatches` getter for the resulting action. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- An argument's default action is now `ArgAction::Set` rather than `ArgAction::IncOccurrence`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this instead of `ArgMatches::occurrences_of` for arguments whose action is `ArgAction::Count`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this instead of `ArgMatches::is_present` for flags whose action is `ArgAction::SetTrue`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this instead of `ArgMatches::values_of` for arguments whose action is `ArgAction::Append`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this instead of `ArgMatches::value_of` for arguments whose action is `ArgAction::Set`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Set this to `true` to allow self-overrides for `ArgAction::Set`, `ArgAction::SetTrue`, and `ArgAction::SetFalse`, which now conflict by default. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Lifetimes were removed from `Command`, `Arg`, `ArgGroup`, and `PossibleValue`, assuming `'static` unless the `string` feature is enabled. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Now returns a `StyledStr`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Replaced with `ErrorKind::InvalidValue`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Replaces `ErrorKind::UnrecognizedSubcommand`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Replaced with `ErrorKind::InvalidSubcommand`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Moved into the `error` module. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- The minimum supported Rust version is now 1.60.0. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Replaces various one-off value-validation forms and allows derives to handle `PathBuf`, including invalid UTF-8. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Help line wrapping is behind this feature flag; enable it or hard-code line wraps. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)

### Deprecations

- Deprecated in favor of `Arg::env`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Arg::num_args`, whose per-occurrence semantics differ from the old API. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Arg::value_delimiter`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Arg::allow_hyphen_values`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Arg::allow_negative_numbers`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Arg::trailing_var_arg`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Command::render_help`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Deprecated in favor of `Command::render_long_help`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)

### New APIs and options

- Adds the defer attribute to opt in to lazy initialisation of subcommands. (4.6.7) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.7)
- Adds the get_overridden_usage method to Command. (4.6.6) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.6)
- Adds default_values_if for conditionally setting default values. (4.5.53) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.53)
- Adds default_values_ifs for conditionally setting default values. (4.5.53) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.53)
- Iterates over the arguments and groups found when parsing. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this to disable the built-in help flag when providing a custom one. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Use this to disable the built-in version flag when providing a custom one. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Supports the new `{tab}` variable. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Formats help into a `StyledStr`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Formats long help into a `StyledStr`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Changes the formatter for dropping binary size. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Formats an error into a `StyledStr`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- A new default feature flag that can be turned off for smaller binaries. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- A string newtype used for argument IDs, distinguishing opaque IDs from user-visible strings. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Enables support for `String`s and runtime-generated data without managing lifetimes. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Displays a `StyledStr` with ANSI escape codes. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Now implements conversions from `OsStr`, `OsString`, `str`, and `String`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)

### Behavior and default changes

- Accept Cow where String and &str are accepted, allowing callers to use a copy-on-write string type. (4.5.50) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.50)
- Builder API users should explicitly set an action for each argument; options use `StoreValue` and flags use `IncOccurrences`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)
- Help output is denser, uses title-case headings and lists commands before arguments; the name, version, and author are omitted by default. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)

### Fixes and other changes

- Help output now correctly marks which value_names are optional according to num_args. (4.6.5) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.5)
- The derive macro now allows "literal".function() as an attribute value. (4.6.3) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.3)
- Help output says “alias” when there is only one. (4.6.2) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.2)
- Rebuilds now happen when a read environment variable changes. (4.6.1) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.6.1)
- Empty default values and possible values are now quoted in help output. (4.5.60) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.60)
- Command::ignore_errors no longer masks help or version on subcommands. (4.5.59) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.59)
- Fixed problems with an argument using value_terminator("--") when another argument uses last(true). (4.5.57) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.57)
- Conflicting arguments are no longer shown in the usage on conflict errors. (4.5.56) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.56)
- When PossibleValue::help is present, [default] appears in its own paragraph in --help output. (4.5.54) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.54)
- Avoids panicking when args_conflicts_with_subcommands conflicts with an ArgGroup. (4.5.52) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.52)
- Help output no longer panics on short flags using ArgAction::Count. (4.5.51) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.51)
- Help output now correctly calculates padding for short flags that take a value. (4.5.51) — [release notes](https://github.com/clap-rs/clap/releases/tag/v4.5.51)
- The help title and version output now use `Command::display_name` rather than `Command::bin_name`. (4.0.0) — [release notes](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md)

## clap 3

### Breaking changes

- Provides the replacement for `ArgMatches::usage`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- No longer implies a leading tab, allowing multi lined usages. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now returns `std::io::Result`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Removed; use `app_from_crate` instead. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Some App methods, including this one, now take mutable self instead of shared self; it also returns `std::io::Result`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Removed. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Opts out of the new default colored-help behavior. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Enables debug assertions that detect missing help descriptions. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Removed because propagating global values down is now the default. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Strict UTF-8 behavior is now the default and asserts unless the documented invalid-UTF-8 settings and OS-value accessor are used together. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Unified help grouping is now the default; `{flags}` and `{unified}` assert if present in `App::help_template`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- No longer implies `ArgSettings::TakesValue`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Replaced by the more specific `Arg::multiple_values` and `Arg::multiple_occurrences` APIs. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Specifies that an argument can occur multiple times. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Specifies that an argument accepts multiple values. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- No longer implies `ArgSettings::TakesValue` or `ArgSettings::UseValueDelimiter`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- No longer implies `ArgSettings::ForbidEmptyValues`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Sets settings using `Arg::setting(Setting1 | Setting2)`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Replaced with `Arg::setting` using a setting expression. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now takes a char instead of a string slice. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now accepts a string-slice input and a result with a displayable error type. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now accepts a result with an OS-string error instead of requiring a unit success value. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now sets the value name rather than appending it. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- The BTreeMap conversion was replaced with conversion from YAML. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Panics on unknown arguments. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- No longer checks subcommand names. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now returns `Option<(&str, &ArgMatches)>`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Replaced with `App::generate_usage`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Removed in favor of `ArgSettings::ForbidEmptyValues`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Crate information support is gated behind the cargo feature flag. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Completion generation has been split out into a separate crate. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Integrates the StructOpt derive approach through clap::Parser; requires the derive feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- The derive attribute is replaced by `default_value_t`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Replaces the derive attribute `default_value`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Environment-variable support is gated behind the env feature flag. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Environment support is a non-default feature for faster builds and smaller binaries. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Some environment-variable values are now treated as false for flags, not only as absent. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now has type `Vec<String>` instead of `Option<Vec<String>>`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Made private; use `Error::to_string`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Marked non-exhaustive. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- New name for `ErrorKind::MissingArgumentOrSubcommand`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Renamed to `ErrorKind::DisplayHelp`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Renamed to `ErrorKind::DisplayHelpOnMissingArgumentOrSubcommand`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Renamed to `ErrorKind::DisplayVersion`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Default help text wrapping is limited to 100 when the wrap_help feature is disabled. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- The minimum required Rust compiler version is 1.54.0. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- When using no-default-features, enable the std feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- By default, the App is no longer initialized with crate information; opt in with the author, about, or version attributes. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Nested subcommands now require a `#[clap(subcommand)]` attribute. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Unicode support is a non-default feature, enabling faster builds and smaller binaries for ASCII-only CLIs. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Marked non-exhaustive. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Vec<_> and Option<Vec<_>> now use multiple_occurrences rather than multiple. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)

### Deprecations

- Deprecated in favor of `arg!`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Deprecated in favor of the builder API with `arg!`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- The YAML API is deprecated in favor of the builder or derive APIs. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)

### New APIs and options

- Specifies the app's color setting. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Provides a test helper for debug assertions. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Supports custom error reporting. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Sets a custom help heading for future arguments. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Changes an existing argument, particularly useful for help and version arguments. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Experimental API for aliasing an argument to a group of arguments, behind the unstable-replace feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Sets a custom help heading for subcommands. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Sets the value name for subcommands. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Enables partial parsing. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Allows long argument abbreviations, like subcommand abbreviations. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Experimental BusyBox-like multi-call support, behind the unstable-multicall feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Disables built-in help behavior. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Disables built-in version behavior. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Detects subcommands among positional arguments. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Makes `cmd help` print long help (`--help` instead of `-h`). (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Creates an Arg from a compile-time usage parser. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds extra context after the long help message. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds extra context before the long help message. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Provides a default value when an option is present without a value, for cases such as `--color[=<WHEN>]`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Supports conditional default values. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds a derive attribute for integrating with the ArgEnum trait. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Allows an argument to conflict with all other arguments. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Sets a custom help heading for the current argument. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Provides hints to completion scripts. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Experimental support for grouping multiple values within multiple occurrences, behind the unstable-grouped feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Deriving ArgEnum generates possible values for arguments; requires the derive feature. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds derive support for defaulting with native types. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds support for flag subcommands. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Enables argument validation with a regex. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Short flags can have aliases. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Adds a new update API. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)

### Behavior and default changes

- Version flags are generated only when App::version or App::long_version is set. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Colored help is now enabled by default and can be opted out with `AppSettings::DisableColoredHelp`. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now Unicode-aware when the unicode feature is enabled. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)

### Fixes and other changes

- An empty authors field in Cargo.toml is handled gracefully by app_from_crate. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
- Now always respected, even when that means colors are skipped in some cases. (3.0.0) — [release notes](https://github.com/clap-rs/clap/releases/tag/v3.0.0)
