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
Provenance
- Commit
e02a981- Tree
5f56c68- Author
Rowlando13 <67291205+Rowlando13@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent 1
907470e- Parent 2
534761c
4 files changed+15 added−8 removed
modified:docs/conf.py+1 added
29 unmodified lines30 }31 intersphinx_mapping = {32 "python": ("https://docs.python.org/3/", None),33 }34+myst_enable_extensions = ["attrs_block"]35 myst_heading_anchors = 336 37 # HTML -----------------------------------------------------------------38 21 unmodified linesmodified:docs/index.md+2 added-1 removed
1123456147 unmodified linesExpand all#{.hide-header}# Welcome to Click
```{image} _static/click-name.svg:align: center:height: 200px147 unmodified linesExpand allmodified:src/click/_termui_impl.py+4 added-1 removed
428 unmodified lines429 430 @contextlib.contextmanager431 def get_pager_file(color: bool | None = None) -> t.Generator[t.TextIO, None, None]:432 """Context manager.433+434 Yields a writable file-like object which can be used as an output pager.435+434- .. versionadded:: 8.4436+ .. versionadded:: 8.4.0437+438 :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 linesmodified:CHANGES.rst+8 added-6 removed
20 unmodified lines21 22 Released 2026-05-2123 24 - ``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`33 34 35 Version 8.4.036 -------------41 unmodified lines78 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