Skip to content

v10.5.0

Latest

Choose a tag to compare

@kdeldycke kdeldycke released this 03 Dec 14:26
Immutable release. Only release title and notes can be modified.

Note

10.5.0 is available on 🐍 PyPI and 🐙 GitHub.

  • Add the git_repository and git_object_format pytest fixtures, which run a test in a SHA-1 and in a SHA-256 Git repository.
  • Add an input argument to run_cli(), which writes its text to the standard input of the child.
  • Add a secrets argument to run_cli() and format_cli_prompt(), which show each secret as SECRET_MASK (***) in the prompt line and the logged output.
  • Make deep_merge() public at the package root: it merges two mappings, and the dictionaries nested in them key by key.
  • Name the machine's architecture on the version screen and in bug reports when the interpreter's differs, with extra-platforms 15.0.0 or later.
  • Fix MyST docstrings converting a link or a footnote reference inside inline code, and keeping the backticks of a double-backtick link label.
  • Fix the __init__ docstrings of Command, Spinner, OperationTrail, EnumChoice and NoConfigOption failing the nitpicky docs build of a project that subclasses them.
  • Fix type checkers reading command, group, option, argument, help_option and version_option imported from click_extra as Click's own decorators.
  • Fix type checkers refusing the options of Command and Group, like examples, passed to the command and group methods of a Group.
  • Fix the default_debug_uncolored_version_details, default_debug_colored_version_details, default_debug_uncolored_log_start and default_debug_colored_log_start regexes rejecting the 64-character hashes of a SHA-256 Git repository.
  • Skip the tests that run git where no git command runs, like in a build sandbox.

Full changelog: v10.4.0...v10.5.0