Debian Codegraph @

doc/changes/4.5.rst

raw
1 ==========
2 Sphinx 4.5
3 ==========
4
5
6 Release 4.5.0 (released Mar 28, 2022)
7 =====================================
8
9 Incompatible changes
10 --------------------
11
12 * #10112: extlinks: Disable hardcoded links detector by default
13 * #9993, #10177: std domain: Disallow to refer an inline target via
14 :rst:role:`ref` role
15
16 Deprecated
17 ----------
18
19 * ``sphinx.ext.napoleon.docstring.GoogleDocstring._qualify_name()``
20
21 Features added
22 --------------
23
24 * #10260: Enable ``FORCE_COLOR`` and ``NO_COLOR`` for terminal colouring
25 * #10234: autosummary: Add "autosummary" CSS class to summary tables
26 * #10125: extlinks: Improve suggestion message for a reference having title
27 * #10112: extlinks: Add :confval:`extlinks_detect_hardcoded_links` to enable
28 hardcoded links detector feature
29 * #9494, #9456: html search: Add a config variable
30 :confval:`html_show_search_summary` to enable/disable the search summaries
31 * #9337: HTML theme, add option ``enable_search_shortcuts`` that enables :kbd:`/` as
32 a Quick search shortcut and :kbd:`Esc` shortcut that
33 removes search highlighting.
34 * #10107: i18n: Allow to suppress translation warnings by adding ``#noqa``
35 comment to the tail of each translation message
36 * #10252: C++, support attributes on classes, unions, and enums.
37 * #10253: :rst:role:`pep` role now generates URLs based on `peps.python.org
38 <https://peps.python.org>`_
39
40 Bugs fixed
41 ----------
42
43 * #9876: autodoc: Failed to document an imported class that is built from native
44 binary module
45 * #10133: autodoc: Crashed when mocked module is used for type annotation
46 * #10146: autodoc: :confval:`autodoc_default_options` does not support
47 ``no-value`` option
48 * #9971: autodoc: TypeError is raised when the target object is annotated by
49 unhashable object
50 * #10205: extlinks: Failed to compile regexp on checking hardcoded links
51 * #10277: html search: Could not search short words (ex. "use")
52 * #9529: LaTeX: named auto numbered footnote (ex. ``[#named]``) that is referred
53 multiple times was rendered to a question mark
54 * #9924: LaTeX: multi-line :rst:dir:`cpp:function` directive has big vertical
55 spacing in Latexpdf
56 * #10158: LaTeX: excessive whitespace since v4.4.0 for undocumented
57 variables/structure members
58 * #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
59 the name is also used in the different document
60 * #10269: manpage: Failed to resolve the title of :rst:role:`ref` cross references
61 * #10179: i18n: suppress "rST localization" warning
62 * #10118: imgconverter: Unnecessary availability check is called for remote URIs
63 * #10181: napoleon: attributes are displayed like class attributes for google
64 style docstrings when :confval:`napoleon_use_ivar` is enabled
65 * #10122: sphinx-build: make.bat does not check the installation of sphinx-build
66 command before showing help