| 1 |
========== |
| 2 |
Sphinx 4.3 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 4.3.2 (released Dec 19, 2021) |
| 7 |
===================================== |
| 8 |
|
| 9 |
Bugs fixed |
| 10 |
---------- |
| 11 |
|
| 12 |
* #9917: C and C++, parse fundamental types no matter the order of simple type |
| 13 |
specifiers. |
| 14 |
|
| 15 |
Release 4.3.1 (released Nov 28, 2021) |
| 16 |
===================================== |
| 17 |
|
| 18 |
Features added |
| 19 |
-------------- |
| 20 |
|
| 21 |
* #9864: mathjax: Support changing the loading method of MathJax to "defer" via |
| 22 |
:confval:`mathjax_options` |
| 23 |
|
| 24 |
Bugs fixed |
| 25 |
---------- |
| 26 |
|
| 27 |
* #9838: autodoc: AttributeError is raised on building document for functions |
| 28 |
decorated by functools.lru_cache |
| 29 |
* #9879: autodoc: AttributeError is raised on building document for an object |
| 30 |
having invalid __doc__ attribute |
| 31 |
* #9844: autodoc: Failed to process a function wrapped with functools.partial if |
| 32 |
:confval:`autodoc_preserve_defaults` enabled |
| 33 |
* #9872: html: Class namespace collision between autodoc signatures and |
| 34 |
Docutils 0.17 |
| 35 |
* #9868: imgmath: Crashed if the dvisvgm command failed to convert equation |
| 36 |
* #9864: mathjax: Failed to render equations via MathJax v2. The loading method |
| 37 |
of MathJax is back to "async" method again |
| 38 |
|
| 39 |
Release 4.3.0 (released Nov 11, 2021) |
| 40 |
===================================== |
| 41 |
|
| 42 |
Dependencies |
| 43 |
------------ |
| 44 |
|
| 45 |
* Support Python 3.10 |
| 46 |
|
| 47 |
Incompatible changes |
| 48 |
-------------------- |
| 49 |
|
| 50 |
* #9649: ``searchindex.js``: the embedded data has changed format to allow |
| 51 |
objects with the same name in different domains. |
| 52 |
* #9672: The rendering of Python domain declarations is implemented |
| 53 |
with more Docutils nodes to allow better CSS styling. |
| 54 |
It may break existing styling. |
| 55 |
* #9672: the signature of |
| 56 |
``domains.python.PyObject.get_signature_prefix`` has changed to |
| 57 |
return a list of nodes instead of a plain string. |
| 58 |
* #9695: ``domains.js.JSObject.display_prefix`` has been changed into a method |
| 59 |
``get_display_prefix`` which now returns a list of nodes |
| 60 |
instead of a plain string. |
| 61 |
* #9695: The rendering of Javascript domain declarations is implemented |
| 62 |
with more Docutils nodes to allow better CSS styling. |
| 63 |
It may break existing styling. |
| 64 |
* #9450: mathjax: Load MathJax via "defer" strategy |
| 65 |
|
| 66 |
Deprecated |
| 67 |
---------- |
| 68 |
|
| 69 |
* ``sphinx.ext.autodoc.AttributeDocumenter._datadescriptor`` |
| 70 |
* ``sphinx.writers.html.HTMLTranslator._fieldlist_row_index`` |
| 71 |
* ``sphinx.writers.html.HTMLTranslator._table_row_index`` |
| 72 |
* ``sphinx.writers.html5.HTML5Translator._fieldlist_row_index`` |
| 73 |
* ``sphinx.writers.html5.HTML5Translator._table_row_index`` |
| 74 |
|
| 75 |
Features added |
| 76 |
-------------- |
| 77 |
|
| 78 |
* #9639: autodoc: Support asynchronous generator functions |
| 79 |
* #9664: autodoc: ``autodoc-process-bases`` supports to inject reST snippet as a |
| 80 |
base class |
| 81 |
* #9691: C, added new info-field ``retval`` |
| 82 |
for :rst:dir:`c:function` and :rst:dir:`c:macro`. |
| 83 |
* C++, added new info-field ``retval`` for :rst:dir:`cpp:function`. |
| 84 |
* #9618: i18n: Add :confval:`gettext_allow_fuzzy_translations` to allow "fuzzy" |
| 85 |
messages for translation |
| 86 |
* #9672: More CSS classes on Python domain descriptions |
| 87 |
* #9695: More CSS classes on Javascript domain descriptions |
| 88 |
* #9683: Revert the removal of ``add_stylesheet()`` API. It will be kept until |
| 89 |
the Sphinx 6.0 release |
| 90 |
* #2068, add :confval:`intersphinx_disabled_reftypes` for disabling |
| 91 |
interphinx resolution of cross-references that do not have an explicit |
| 92 |
inventory specification. Specific types of cross-references can be disabled, |
| 93 |
e.g., ``std:doc`` or all cross-references in a specific domain, |
| 94 |
e.g., ``std:*``. |
| 95 |
* #9623: Allow to suppress "toctree contains reference to excluded document" |
| 96 |
warnings using :confval:`suppress_warnings` |
| 97 |
|
| 98 |
Bugs fixed |
| 99 |
---------- |
| 100 |
|
| 101 |
* #9630: autodoc: Failed to build cross references if :confval:`primary_domain` |
| 102 |
is not 'py' |
| 103 |
* #9644: autodoc: Crashed on getting source info from problematic object |
| 104 |
* #9655: autodoc: mocked object having doc comment is warned unexpectedly |
| 105 |
* #9651: autodoc: return type field is not generated even if |
| 106 |
:confval:`autodoc_typehints_description_target` is set to "documented" when |
| 107 |
its info-field-list contains ``:returns:`` field |
| 108 |
* #9657: autodoc: The base class for a subclass of mocked object is incorrect |
| 109 |
* #9607: autodoc: Incorrect base class detection for the subclasses of the |
| 110 |
generic class |
| 111 |
* #9755: autodoc: memory addresses are shown for aliases |
| 112 |
* #9752: autodoc: Failed to detect type annotation for slots attribute |
| 113 |
* #9756: autodoc: Crashed if classmethod does not have __func__ attribute |
| 114 |
* #9757: autodoc: :confval:`autodoc_inherit_docstrings` does not effect to |
| 115 |
overridden classmethods |
| 116 |
* #9781: autodoc: :confval:`autodoc_preserve_defaults` does not support |
| 117 |
hexadecimal numeric |
| 118 |
* #9630: autosummary: Failed to build summary table if :confval:`primary_domain` |
| 119 |
is not 'py' |
| 120 |
* #9670: html: Fix download file with special characters |
| 121 |
* #9710: html: Wrong styles for even/odd rows in nested tables |
| 122 |
* #9763: html: parameter name and its type annotation are not separated in HTML |
| 123 |
* #9649: HTML search: when objects have the same name but in different domains, |
| 124 |
return all of them as result instead of just one. |
| 125 |
* #7634: intersphinx: references on the file in sub directory are broken |
| 126 |
* #9737: LaTeX: hlist is rendered as a list containing "aggedright" text |
| 127 |
* #9678: linkcheck: file extension was shown twice in warnings |
| 128 |
* #9697: py domain: An index entry with parens was registered for ``py:method`` |
| 129 |
directive with ``:property:`` option |
| 130 |
* #9775: py domain: Literal typehint was converted to a cross reference when |
| 131 |
:confval:`autodoc_typehints`\ ``='description'`` |
| 132 |
* #9708: needs_extension failed to check double-digit version correctly |
| 133 |
* #9688: Fix Sphinx patched :dudir:`code` does not recognize ``:class:`` option |
| 134 |
* #9733: Fix for logging handler flushing warnings in the middle of the docs |
| 135 |
build |
| 136 |
* #9656: Fix warnings without subtype being incorrectly suppressed |
| 137 |
* Intersphinx, for unresolved references with an explicit inventory, |
| 138 |
e.g., ``proj:myFunc``, leave the inventory prefix in the unresolved text. |