Skip to content
Myr

Pre-8.4.2 release changelog and doc fixes (#3498)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rowlando13 · committed by GitHub · parents 907470e, 534761c · Browse files · 4 files+15 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+15 added−8 removed

  • other:+15 added−8 removed

4 files+15 added−8 removed

modified:docs/conf.py+1 added
29 unmodified lines
30}31intersphinx_mapping = {32 "python": ("https://docs.python.org/3/", None),33}34myst_enable_extensions = ["attrs_block"]35myst_heading_anchors = 33637# HTML -----------------------------------------------------------------38
21 unmodified lines
modified:docs/index.md+2 added-1 removed
modified:src/click/_termui_impl.py+4 added-1 removed
428 unmodified lines
429430@contextlib.contextmanager431def get_pager_file(color: bool | None = None) -> t.Generator[t.TextIO, None, None]:432 """Context manager.433434 Yields a writable file-like object which can be used as an output pager.435434 .. versionadded:: 8.4436 .. versionadded:: 8.4.0437438 :param color: controls if the pager supports ANSI colors or not. The439 default is autodetection.440 """441 with _pager_contextmanager(color=color) as (stream, encoding, color):
491 unmodified lines
modified:CHANGES.rst+8 added-6 removed
20 unmodified lines
2122Released 2026-05-212324- ``get_parameter_source()`` is available during eager callbacks and type25 conversion again. :issue:`3458` :issue:`3484`25 conversion again. :issue:`3458` :pr:`3484`26- Zsh completion scripts parse correctly on Windows. :issue:`3277` :pr:`3466`27- Shell completion of `Choice` `Enum` values produces a valid completion28 result. :issue:`3015`29- Fix empty byte-string handling in echo. :issue:`3487`30- Fix closed file error with `echo_via_pager`. :issue:`3449`27- Shell completion of ``Enum`` values used as ``Choice`` options produces a28 valid completion result. :issue:`3015` :pr:`3471`29- Fix empty byte-string handling in echo. :issue:`3487` :pr:`3493`30- Fix closed file error with ``echo_via_pager``. :issue:`3449` :pr:`3482`31- Fix ``open_url`` on Windows when the file path contains spaces.32 :issue:`2994` :pr:`3478`333435Version 8.4.036-------------
41 unmodified lines
78 proper backspace, line editing, and line wrapping behavior. :issue:`2968`79 :pr:`2969`80- Use :func:`os.startfile` on Windows to open URLs in :func:`open_url`,81 replacing the ``start`` built-in which cannot be invoked without80 ``shell=True``. :issue:`3164` :pr:`3186`82 ``shell=True``. :issue:`2868` :issue:`3164` :pr:`3186`83- Fix Fish shell completion errors when option help text contains newlines.84 :issue:`3043` :pr:`3126`85- Add :class:`NoSuchCommand` exception with suggestions for misspelled86 commands. :issue:`3107` :pr:`3228`
1412 unmodified lines