Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ Version 8.4.1
Released 2026-05-21

- ``get_parameter_source()`` is available during eager callbacks and type
conversion again. :issue:`3458` :issue:`3484`
conversion again. :issue:`3458` :pr:`3484`
- Zsh completion scripts parse correctly on Windows. :issue:`3277` :pr:`3466`
- Shell completion of `Choice` `Enum` values produces a valid completion
result. :issue:`3015`
- Fix empty byte-string handling in echo. :issue:`3487`
- Fix closed file error with `echo_via_pager`. :issue:`3449`
- Shell completion of ``Enum`` values used as ``Choice`` options produces a
valid completion result. :issue:`3015` :pr:`3471`
- Fix empty byte-string handling in echo. :issue:`3487` :pr:`3493`
- Fix closed file error with ``echo_via_pager``. :issue:`3449` :pr:`3482`
- Fix ``open_url`` on Windows when the file path contains spaces.
:issue:`2994` :pr:`3478`


Version 8.4.0
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
}
myst_enable_extensions = ["attrs_block"]
myst_heading_anchors = 3

# HTML -----------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#
{.hide-header}
# Welcome to Click

```{image} _static/click-name.svg
:align: center
Expand Down
5 changes: 4 additions & 1 deletion src/click/_termui_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,11 @@ def _pager_contextmanager(
@contextlib.contextmanager
def get_pager_file(color: bool | None = None) -> t.Generator[t.TextIO, None, None]:
"""Context manager.

Yields a writable file-like object which can be used as an output pager.
.. versionadded:: 8.4

.. versionadded:: 8.4.0

:param color: controls if the pager supports ANSI colors or not. The
default is autodetection.
"""
Expand Down
Loading