---
title: "click 8.5.1 Breaking Changes on PyPI | Since.dev"
description: "What each click release removed, renamed or changed: 494 breaking changes in 13 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/click
last_updated: 2026-12-04
---

# click breaking changes

click 8.5.1 (November 6, 2026) is its newest release with breaking changes, 8 of them. The first: Behavior changed Argument.get_help_record. Every breaking API change we have recorded in click on PyPI: 494 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.5.1`, released November 6, 2026. [Source repository](https://github.com/pallets/click)

Its 8.2.0 release drops Python 3.7, 3.8 and [3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [7.0](#v-7-0) to [8.5.1](#v-8-5-1): 465 breaking changes in 11 versions.
- From [6.0](#v-6-0) to [8.5.1](#v-8-5-1): 484 breaking changes in 12 versions.

## click 8.5.1 breaking changes

click 8.5.1, released November 6, 2026: 8 breaking changes.

- **Behavior changed** `Argument.get_help_record`  

Argument.get_help_record() used to return None for an argument with no help text and now always returns a tuple. Code that checks the result for None must be updated. [github.com](https://github.com/pallets/click/releases/tag/8.5.1)
- **Signature changed** `click.Argument.get_help_record`  

Was def get_help_record(self, ctx: Context) -> tuple\[str, str\] | None; now def get_help_record(self, ctx: Context) -> tuple\[str, str\]. [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Parameter.__init__`  

Was def \_\_init\_\_(self, param_decls: cabc.Sequence\[str\] | None = None, type: types.ParamType\[t.Any\] | t.Any | None = None, required: bool = False, default: t.Any | t.Callable\[\[\], t.Any\] | None = UNSET, callback: t.Callable\[\[Context... [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Path`  

Was class Path(ParamType\[str | bytes | os.PathLike\[str\]\]); now class Path(ParamType\[\_PathT_co, str | os.PathLike\[str\]\], t.Generic\[\_PathT_co\]). [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Path.__init__`  

Was def \_\_init\_\_(self, exists: bool = False, file_okay: bool = True, dir_okay: bool = True, writable: bool = False, readable: bool = True, resolve_path: bool = False, allow_dash: bool = False, path_type: type | None = None, executable... [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Path.coerce_path_result`  

Was def coerce_path_result(self, value: str | os.PathLike\[str\]) -> str | bytes | os.PathLike\[str\]; now def coerce_path_result(self, value: str | os.PathLike\[str\]) -> \_PathT_co. [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Path.convert`  

Was def convert(self, value: str | os.PathLike\[str\], param: Parameter | None, ctx: Context | None) -> str | bytes | os.PathLike\[str\]; now def convert(self, value: str | os.PathLike\[str\], param: Parameter | None, ctx: Context | None) ->... [pypi.org](https://pypi.org/project/click/8.5.1/)
- **Signature changed** `click.Path.type`  

Was type: type | None; now type: type\[\_PathT_co\] | None. [pypi.org](https://pypi.org/project/click/8.5.1/)

## click 8.5.0 breaking changes

click 8.5.0, released August 26, 2026: 34 breaking changes.

- **Removed** `click.core.make_default_short_help`  

click.core.make_default_short_help was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.core.PacifyFlushWrapper`  

click.core.PacifyFlushWrapper was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.termui.LazyFile`  

click.termui.LazyFile was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.termui.WIN`  

click.termui.WIN was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.types.LazyFile`  

click.types.LazyFile was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.types.safecall`  

click.types.safecall was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Removed** `click.utils.auto_wrap_for_ansi`  

click.utils.auto_wrap_for_ansi was removed in click 8.5.0 [pypi.org](https://pypi.org/project/click/8.5.0/)
- **Behavior changed**  

Supported Windows versions enable ANSI terminal styles by default, and Colorama is no longer a dependency. Output on Windows may now include escape codes. [github.com](https://github.com/pallets/click/releases/tag/8.5.0)
- **Behavior changed** `Command.get_help_option_names`  

The help option names are now returned in the order they were declared. Code that depends on a previous ordering may change. [github.com](https://github.com/pallets/click/releases/tag/8.5.0)
- **Behavior changed** `Command.to_info_dict`  

The help option value is stored as \_click_default_help instead of help, and this name appears in to_info_dict output. Update code that reads the help key. [github.com](https://github.com/pallets/click/releases/tag/8.5.0)

And 24 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## click 8.4.2 breaking changes

click 8.4.2, released June 24, 2026: 78 breaking changes.

- **Removed** `click.shell_completion.ShellCompleteType`  

click.shell_completion.ShellCompleteType was removed in click 8.4.2 [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Removed** `click.types.ParamTypeValue`  

click.types.ParamTypeValue was removed in click 8.4.2 [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice`  

Was class Choice(ParamType\[ParamTypeValue\], t.Generic\[ParamTypeValue\]); now class Choice(ParamType\[\_ValueT_co\], t.Generic\[\_ValueT_co\]). [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.__call__`  

Was def \_\_call\_\_(self, value: t.Any, param: Parameter | None = None, ctx: Context | None = None) -> ParamTypeValue | None; now def \_\_call\_\_(self, value: t.Any, param: Parameter | None = None, ctx: Context | None = None) -> \_ValueT_co |... [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.__init__`  

Was def \_\_init\_\_(self, choices: cabc.Iterable\[ParamTypeValue\], case_sensitive: bool = True) -> None; now def \_\_init\_\_(self, choices: cabc.Iterable\[\_ValueT_co\], case_sensitive: bool = True) -> None. [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.choices`  

Was choices: cabc.Sequence\[ParamTypeValue\]; now choices: tuple\[\_ValueT_co, ...\]. [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.convert`  

Was def convert(self, value: t.Any, param: Parameter | None, ctx: Context | None) -> ParamTypeValue; now def convert(self, value: t.Any, param: Parameter | None, ctx: Context | None) -> \_ValueT_co. [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.normalize_choice`  

Was def normalize_choice(self, choice: ParamTypeValue, ctx: Context | None) -> str; now def normalize_choice(self, choice: object, ctx: Context | None) -> str. [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.Choice.to_info_dict`  

Was def to_info_dict(self) -> ChoiceInfoDict; now def to_info_dict(self) -> ChoiceInfoDict\[\_ValueT_co\]. [pypi.org](https://pypi.org/project/click/8.4.2/)
- **Signature changed** `click.ClickException.show_color`  

Was show_color: bool | None; now show_color: t.Final\[bool | None\]. [pypi.org](https://pypi.org/project/click/8.4.2/)

And 68 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## click 8.4.1 breaking changes

click 8.4.1, released May 22, 2026: 1 breaking change.

- **Signature changed** `click.echo`  

Was def echo(message: t.Any | None = None, file: t.IO\[t.Any\] | None = None, nl: bool = True, err: bool = False, color: bool | None = None) -> None; now def echo(message: object = None, file: t.IO\[t.Any\] | None = None, nl: bool = True, err... [pypi.org](https://pypi.org/project/click/8.4.1/)

## click 8.4.0 breaking changes

click 8.4.0, released May 17, 2026: 58 breaking changes.

- **Behavior changed** `CliRunner`  

The 8.3.3 change exposing the original file descriptor via fileno() on redirected streams is reverted in default capture mode. C-level consumers that need a real fd should use capture="fd". [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Behavior changed** `default_map`  

String values from default_map are now split for parameters with nargs greater than 1 or Tuple type, matching environment variable behavior. Defaults written as plain strings may now produce different values. [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Behavior changed** `flag_value`  

Non-basic flag_value objects such as classes and enum members are now passed through unchanged, because type=UNPROCESSED is auto-detected. Code that relied on stringified values must set the type explicitly. [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Behavior changed** `Parameter`  

Parameter is now an abstract base class and can no longer be instantiated directly. Code that creates Parameter objects directly must use a concrete subclass. [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Behavior changed** `Parameter.name`  

Parameter.name is now typed as str instead of str | None. When expose_value=False, the name is set to an empty string instead of None, so code checking for None must be updated. [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Behavior changed** `ParamType`  

ParamType is now a generic abstract base class parameterized by its converted value type. Custom subclasses must implement the abstract methods and may need type-parameter updates. [github.com](https://github.com/pallets/click/releases/tag/8.4.0)
- **Signature changed** `click.Choice`  

Was class Choice(ParamType, t.Generic\[ParamTypeValue\]); now class Choice(ParamType\[ParamTypeValue\], t.Generic\[ParamTypeValue\]). [pypi.org](https://pypi.org/project/click/8.4.0/)
- **Signature changed** `click.Choice.to_info_dict`  

Was def to_info_dict(self) -> dict\[str, t.Any\]; now def to_info_dict(self) -> ChoiceInfoDict. [pypi.org](https://pypi.org/project/click/8.4.0/)
- **Signature changed** `click.DateTime`  

Was class DateTime(ParamType); now class DateTime(ParamType\[datetime\]). [pypi.org](https://pypi.org/project/click/8.4.0/)
- **Signature changed** `click.DateTime.convert`  

Was def convert(self, value: t.Any, param: Parameter | None, ctx: Context | None) -> t.Any; now def convert(self, value: t.Any, param: Parameter | None, ctx: Context | None) -> datetime. [pypi.org](https://pypi.org/project/click/8.4.0/)

And 48 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## click 8.3.3 breaking changes

click 8.3.3, released April 22, 2026: 7 breaking changes.

- **Behavior changed**  

For boolean flags, default=True is now returned as a literal True rather than the flag_value. Code relying on the previous flag_value result may get different values. [github.com](https://github.com/pallets/click/releases/tag/8.3.3)
- **Behavior changed**  

Sentinel.UNSET values in a default_map now fall through to the next default source instead of being used as the value. Code that relied on them being used directly will see different defaults. [github.com](https://github.com/pallets/click/releases/tag/8.3.3)
- **Behavior changed**  

Pager and editor commands are now split into argument lists and no longer run with shell=True. Shell syntax in these commands may stop working and needs to be rewritten as a plain command. [github.com](https://github.com/pallets/click/releases/tag/8.3.3)
- **Behavior changed** `ParameterSource`  

ParameterSource is now an IntEnum and its members are reordered from most to least explicit. Code that depends on the old member values or ordering may behave differently. [github.com](https://github.com/pallets/click/releases/tag/8.3.3)
- **Signature changed** `click.core.ParameterSource`  

Was class ParameterSource(enum.Enum); now class ParameterSource(enum.IntEnum). [pypi.org](https://pypi.org/project/click/8.3.3/)
- **Signature changed** `click.prompt`  

Was def prompt(text: str, default: t.Any | None = None, hide_input: bool = False, confirmation_prompt: bool | str = False, type: ParamType | t.Any | None = None, value_proc: t.Callable\[\[str\], t.Any\] | None = None, prompt_suffix: str = '... [pypi.org](https://pypi.org/project/click/8.3.3/)
- **Signature changed** `click.shell_completion.ParameterSource`  

Was class ParameterSource(enum.Enum); now class ParameterSource(enum.IntEnum). [pypi.org](https://pypi.org/project/click/8.3.3/)

## Older versions

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

### click 8.3.2 breaking changes

click 8.3.2, released April 3, 2026: 2 breaking changes.

- **Removed** `click.testing.StreamMixer.__del__`  

StreamMixer.\_\_del\_\_ was removed in click 8.3.2 [pypi.org](https://pypi.org/project/click/8.3.2/)
- **Behavior changed** `lookup_default`  

lookup_default() now returns None instead of Sentinel.UNSET for unset values. Code that checks for Sentinel.UNSET from this call must be updated. [github.com](https://github.com/pallets/click/releases/tag/8.3.2)

### click 8.3.0 breaking changes

click 8.3.0, released September 18, 2025: 10 breaking changes.

- **Signature changed** `click.BadParameter.__init__`  

Was def \_\_init\_\_(self, message: str, ctx: Context | None = None, param: Parameter | None = None, param_hint: str | None = None) -> None; now def \_\_init\_\_(self, message: str, ctx: Context | None = None, param: Parameter | None = None... [pypi.org](https://pypi.org/project/click/8.3.0/)
- **Signature changed** `click.Context.__exit__`  

Was def \_\_exit\_\_(self, exc_type: type\[BaseException\] | None, exc_value: BaseException | None, tb: TracebackType | None) -> None; now def \_\_exit\_\_(self, exc_type: type\[BaseException\] | None, exc_value: BaseException | None, tb... [pypi.org](https://pypi.org/project/click/8.3.0/)

And 8 more in this version.

### click 8.2.0 breaking changes

click 8.2.0, released May 10, 2025: 200 breaking changes.

- **Removed**  

Click 8.2.0 no longer supports Python 3.7, 3.8 or 3.9; stay on 8.1.x or upgrade the interpreter. [github.com](https://github.com/pallets/click/releases/tag/8.2.0)
- **Removed** `click.core.OptionParser`  

click.core.OptionParser was removed in click 8.2.0 [pypi.org](https://pypi.org/project/click/8.2.0/)

And 198 more in this version.

### click 8.1.8 breaking changes

click 8.1.8, released December 21, 2024: 1 breaking change.

- **Signature changed** `click.open_file`  

Was def open_file(filename: str, mode: str = 'r', encoding: t.Optional\[str\] = None, errors: t.Optional\[str\] = 'strict', lazy: bool = False, atomic: bool = False) -> t.IO\[t.Any\]; now def open_file(filename: t.Union\[str, os.PathLike\[str\]\]... [pypi.org](https://pypi.org/project/click/8.1.8/)

### click 8.0.0 breaking changes

click 8.0.0, released May 11, 2021: 66 breaking changes.

- **Removed** `click.ClickException.__unicode__`  

ClickException.\_\_unicode\_\_ was removed in click 8.0.0 [pypi.org](https://pypi.org/project/click/8.0.0/)
- **Removed** `click.core.DEPRECATED_HELP_NOTICE`  

click.core.DEPRECATED_HELP_NOTICE was removed in click 8.0.0 [pypi.org](https://pypi.org/project/click/8.0.0/)

And 64 more in this version.

### click 7.0 breaking changes

click 7.0, released September 25, 2018: 19 breaking changes.

- **Removed**  

Click 7.0 no longer supports Python 2.6 or 3.3. Code running on those versions must move to a supported Python release. [github.com](https://github.com/pallets/click/blob/7.0/CHANGES.rst)
- **Removed** `click.testing.Result.output_bytes`  

Result.output_bytes was removed in click 7.0 [pypi.org](https://pypi.org/project/click/7.0/)

And 17 more in this version.

### click 6.0 breaking changes

click 6.0, released November 24, 2015: 10 breaking changes.

- **Removed** `click.parser.unpack_args`  

click.parser.unpack_args was removed in click 6.0 [pypi.org](https://pypi.org/project/click/6.0/)
- **Removed** `click.utils.unpack_args`  

click.utils.unpack_args was removed in click 6.0 [pypi.org](https://pypi.org/project/click/6.0/)

And 8 more in this version.

## 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.
