@@ -4,21 +4,100 @@ Release 4.3.0 (in development)
44Dependencies
55------------
66
7+ * Support Python 3.10
8+
79Incompatible changes
810--------------------
911
12+ * #9649: ``searchindex.js``: the embedded data has changed format to allow
13+ objects with the same name in different domains.
14+ * #9672: The rendering of Python domain declarations is implemented
15+ with more docutils nodes to allow better CSS styling.
16+ It may break existing styling.
17+ * #9672: the signature of
18+ :py:meth:`domains.py.PyObject.get_signature_prefix` has changed to
19+ return a list of nodes instead of a plain string.
20+ * #9695: ``domains.js.JSObject.display_prefix`` has been changed into a method
21+ ``get_display_prefix`` which now returns a list of nodes
22+ instead of a plain string.
23+ * #9695: The rendering of Javascript domain declarations is implemented
24+ with more docutils nodes to allow better CSS styling.
25+ It may break existing styling.
26+ * #9450: mathjax: Load MathJax via "defer" strategy
27+
28+
1029Deprecated
1130----------
1231
32+ * ``sphinx.ext.autodoc.AttributeDocumenter._datadescriptor``
33+ * ``sphinx.writers.html.HTMLTranslator._fieldlist_row_index``
34+ * ``sphinx.writers.html.HTMLTranslator._table_row_index``
35+ * ``sphinx.writers.html5.HTML5Translator._fieldlist_row_index``
36+ * ``sphinx.writers.html5.HTML5Translator._table_row_index``
37+
1338Features added
1439--------------
1540
41+ * #9639: autodoc: Support asynchronous generator functions
42+ * #9664: autodoc: ``autodoc-process-bases`` supports to inject reST snippet as a
43+ base class
44+ * #9691: C, added new info-field ``retval``
45+ for :rst:dir:`c:function` and :rst:dir:`c:macro`.
46+ * C++, added new info-field ``retval`` for :rst:dir:`cpp:function`.
47+ * #9672: More CSS classes on Python domain descriptions
48+ * #9695: More CSS classes on Javascript domain descriptions
49+ * #9683: Revert the removal of ``add_stylesheet()`` API. It will be kept until
50+ the Sphinx-6.0 release
51+ * #2068, add :confval:`intersphinx_disabled_reftypes` for disabling
52+ interphinx resolution of cross-references that do not have an explicit
53+ inventory specification. Specific types of cross-references can be disabled,
54+ e.g., ``std:doc`` or all cross-references in a specific domain,
55+ e.g., ``std:*``.
1656* #9623: Allow to suppress "toctree contains reference to excluded document"
1757 warnings using :confval:`suppress_warnings`
1858
1959Bugs fixed
2060----------
2161
62+ * #9630: autodoc: Failed to build cross references if :confval:`primary_domain`
63+ is not 'py'
64+ * #9644: autodoc: Crashed on getting source info from problematic object
65+ * #9655: autodoc: mocked object having doc comment is warned unexpectedly
66+ * #9651: autodoc: return type field is not generated even if
67+ :confval:`autodoc_typehints_description_target` is set to "documented" when
68+ its info-field-list contains ``:returns:`` field
69+ * #9657: autodoc: The base class for a subclass of mocked object is incorrect
70+ * #9607: autodoc: Incorrect base class detection for the subclasses of the
71+ generic class
72+ * #9755: autodoc: memory addresses are shown for aliases
73+ * #9752: autodoc: Failed to detect type annotation for slots attribute
74+ * #9756: autodoc: Crashed if classmethod does not have __func__ attribute
75+ * #9757: autodoc: :confval:`autodoc_inherit_docstrings` does not effect to
76+ overriden classmethods
77+ * #9781: autodoc: :confval:`autodoc_preserve_defaults` does not support
78+ hexadecimal numeric
79+ * #9630: autosummary: Failed to build summary table if :confval:`primary_domain`
80+ is not 'py'
81+ * #9670: html: Fix download file with special characters
82+ * #9710: html: Wrong styles for even/odd rows in nested tables
83+ * #9763: html: parameter name and its type annotation are not separated in HTML
84+ * #9649: HTML search: when objects have the same name but in different domains,
85+ return all of them as result instead of just one.
86+ * #7634: intersphinx: references on the file in sub directory are broken
87+ * #9737: LaTeX: hlist is rendered as a list containing "aggedright" text
88+ * #9678: linkcheck: file extension was shown twice in warnings
89+ * #9697: py domain: An index entry with parens was registered for ``py:method``
90+ directive with ``:property:`` option
91+ * #9775: py domain: Literal typehint was converted to a cross reference when
92+ :confval:`autodoc_typehints='description'`
93+ * #9708: needs_extension failed to check double-digit version correctly
94+ * #9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option
95+ * #9733: Fix for logging handler flushing warnings in the middle of the docs
96+ build
97+ * #9656: Fix warnings without subtype being incorrectly suppressed
98+ * Intersphinx, for unresolved references with an explicit inventory,
99+ e.g., ``proj:myFunc``, leave the inventory prefix in the unresolved text.
100+
22101Testing
23102--------
24103
@@ -113,6 +192,7 @@ Bugs fixed
113192 with the HEAD of 3.10
114193* #9436, #9471: autodoc: crashed if ``autodoc_class_signature = "separated"``
115194* #9456: html search: html_copy_source can't control the search summaries
195+ * #9500: LaTeX: Failed to build Japanese document on Windows
116196* #9435: linkcheck: Failed to check anchors in github.com
117197
118198Release 4.1.1 (released Jul 15, 2021)
0 commit comments