| 1 |
========== |
| 2 |
Sphinx 4.2 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 4.2.0 (released Sep 12, 2021) |
| 7 |
===================================== |
| 8 |
|
| 9 |
Features added |
| 10 |
-------------- |
| 11 |
|
| 12 |
* #9445: autodoc: Support class properties |
| 13 |
* #9479: autodoc: Emit a warning if target is a mocked object |
| 14 |
* #9560: autodoc: Allow to refer NewType instances with module name in Python |
| 15 |
3.10 or above |
| 16 |
* #9447: html theme: Expose the version of Sphinx in the form of tuple as a |
| 17 |
template variable ``sphinx_version_tuple`` |
| 18 |
* #9594: manpage: Suppress the title of man page if description is empty |
| 19 |
* #9445: py domain: :rst:dir:`py:property` directive supports ``:classmethod:`` |
| 20 |
option to describe the class property |
| 21 |
* #9524: test: SphinxTestApp can take ``builddir`` as an argument |
| 22 |
* #9535: C and C++, support more fundamental types, including GNU extensions. |
| 23 |
|
| 24 |
Bugs fixed |
| 25 |
---------- |
| 26 |
|
| 27 |
* #9608: apidoc: apidoc does not generate a module definition for implicit |
| 28 |
namespace package |
| 29 |
* #9504: autodoc: generate incorrect reference to the parent class if the target |
| 30 |
class inherites the class having ``_name`` attribute |
| 31 |
* #9537, #9589: autodoc: Some objects under ``typing`` module are not displayed |
| 32 |
well with the HEAD of 3.10 |
| 33 |
* #9487: autodoc: typehint for cached_property is not shown |
| 34 |
* #9509: autodoc: AttributeError is raised on failed resolving typehints |
| 35 |
* #9518: autodoc: autodoc_docstring_signature does not effect to ``__init__()`` |
| 36 |
and ``__new__()`` |
| 37 |
* #9522: autodoc: PEP 585 style typehints having arguments (ex. ``list[int]``) |
| 38 |
are not displayed well |
| 39 |
* #9481: autosummary: some warnings contain non-existing filenames |
| 40 |
* #9568: autosummary: summarise overlined sectioned headings correctly |
| 41 |
* #9600: autosummary: Type annotations which contain commas in autosummary table |
| 42 |
are not removed completely |
| 43 |
* #9481: c domain: some warnings contain non-existing filenames |
| 44 |
* #9481: cpp domain: some warnings contain non-existing filenames |
| 45 |
* #9456: html search: abbreation marks are inserted to the search result if |
| 46 |
failed to fetch the content of the page |
| 47 |
* #9617: html search: The JS requirement warning is shown if browser is slow |
| 48 |
* #9267: html theme: CSS and JS files added by theme were loaded twice |
| 49 |
* #9585: py domain: ``:type:`` option for :rst:dir:`py:property` directive does |
| 50 |
not create a hyperlink |
| 51 |
* #9576: py domain: Literal typehint was converted to a cross reference |
| 52 |
* #9535 comment: C++, fix parsing of defaulted function parameters that are |
| 53 |
function pointers. |
| 54 |
* #9564: smartquotes: don't adjust typography for text with |
| 55 |
language-highlighted ``:code:`` role. |
| 56 |
* #9512: sphinx-build: crashed with the HEAD of Python 3.10 |