|
| 1 | +Release 4.1.0 (in development) |
| 2 | +============================== |
| 3 | + |
| 4 | +Dependencies |
| 5 | +------------ |
| 6 | + |
| 7 | +* Support jinja2-3.0 |
| 8 | + |
| 9 | +Incompatible changes |
| 10 | +-------------------- |
| 11 | + |
| 12 | +Deprecated |
| 13 | +---------- |
| 14 | + |
| 15 | +* The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes |
| 16 | + required |
| 17 | +* ``sphinx.application.Sphinx.html_theme`` |
| 18 | +* ``sphinx.ext.autosummary._app`` |
| 19 | +* ``sphinx.util.docstrings.extract_metadata()`` |
| 20 | + |
| 21 | +Features added |
| 22 | +-------------- |
| 23 | + |
| 24 | +* #8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass` |
| 25 | + directive to control the content of the specific class like |
| 26 | + :confval:`autoclass_content` |
| 27 | +* #8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It |
| 28 | + allows you to define an alias for a class with module name like |
| 29 | + ``foo.bar.BazClass`` |
| 30 | +* #9175: autodoc: Special member is not documented in the module |
| 31 | +* #9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered |
| 32 | +* #9185: autodoc: :confval:`autodoc_typehints` allows ``'both'`` setting to |
| 33 | + allow typehints to be included both in the signature and description |
| 34 | +* #4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class |
| 35 | + entry and the definition of ``__init__()`` method |
| 36 | +* #8061, #9218: autodoc: Support variable comment for alias classes |
| 37 | +* #3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes |
| 38 | + of the class definitions |
| 39 | +* #9272: autodoc: Render enum values for the default argument value better |
| 40 | +* #9384: autodoc: ``autodoc_typehints='none'`` now erases typehints for |
| 41 | + variables, attributes and properties |
| 42 | +* #3257: autosummary: Support instance attributes for classes |
| 43 | +* #9358: html: Add "heading" role to the toctree items |
| 44 | +* #9129: html search: Show search summaries when html_copy_source = False |
| 45 | +* #9307: html search: Prevent corrections and completions in search field |
| 46 | +* #9120: html theme: Eliminate prompt characters of code-block from copyable |
| 47 | + text |
| 48 | +* #9176: i18n: Emit a debug message if message catalog file not found under |
| 49 | + :confval:`locale_dirs` |
| 50 | +* #9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents |
| 51 | +* #9016: linkcheck: Support checking anchors on github.com |
| 52 | +* #9016: linkcheck: Add a new event :event:`linkcheck-process-uri` to modify |
| 53 | + URIs before checking hyperlinks |
| 54 | +* #6525: linkcheck: Add :confval:`linkcheck_allowed_redirects` to mark |
| 55 | + hyperlinks that are redirected to expected URLs as "working" |
| 56 | +* #1874: py domain: Support union types using ``|`` in info-field-list |
| 57 | +* #9268: py domain: :confval:`python_use_unqualified_type_names` supports type |
| 58 | + field in info-field-list |
| 59 | +* #9097: Optimize the parallel build |
| 60 | +* #9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using |
| 61 | + regular expressions |
| 62 | +* #9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include |
| 63 | + HTML assets in all the pages. Extensions can check this via |
| 64 | + ``Sphinx.registry.html_assets_policy`` |
| 65 | +* C++, add support for |
| 66 | + |
| 67 | + - ``inline`` variables, |
| 68 | + - ``consteval`` functions, |
| 69 | + - ``constinit`` variables, |
| 70 | + - ``char8_t``, |
| 71 | + - ``explicit(<constant expression>)`` specifier, |
| 72 | + - digit separators in literals, and |
| 73 | + - constraints in placeholder type specifiers, aka. adjective syntax |
| 74 | + (e.g., ``Sortable auto &v``). |
| 75 | + |
| 76 | +* C, add support for digit separators in literals. |
| 77 | +* #9166: LaTeX: support containers in LaTeX output |
| 78 | + |
| 79 | + |
| 80 | +Bugs fixed |
| 81 | +---------- |
| 82 | + |
| 83 | +* #8872: autodoc: stacked singledispatches are wrongly rendered |
| 84 | +* #8597: autodoc: a docsting having metadata only should be treated as |
| 85 | + undocumented |
| 86 | +* #9185: autodoc: typehints for overloaded functions and methods are inaccurate |
| 87 | +* #9250: autodoc: The inherited method not having docstring is wrongly parsed |
| 88 | +* #9283: autodoc: autoattribute directive failed to generate document for an |
| 89 | + attribute not having any comment |
| 90 | +* #9364: autodoc: single element tuple on the default argument value is wrongly |
| 91 | + rendered |
| 92 | +* #9362: autodoc: AttributeError is raised on processing a subclass of Tuple[()] |
| 93 | +* #9317: html: Pushing left key causes visiting the next page at the first page |
| 94 | +* #9381: html: URL for html_favicon and html_log does not work |
| 95 | +* #9270: html theme : pyramid theme generates incorrect logo links |
| 96 | +* #9217: manpage: The name of manpage directory that is generated by |
| 97 | + :confval:`man_make_section_directory` is not correct |
| 98 | +* #9350: manpage: Fix font isn't reset after keyword at the top of samp role |
| 99 | +* #9306: Linkcheck reports broken link when remote server closes the connection |
| 100 | + on HEAD request |
| 101 | +* #9280: py domain: "exceptions" module is not displayed |
| 102 | +* #9319: quickstart: Make sphinx-quickstart exit when conf.py already exists |
| 103 | +* #9387: xml: XML Builder ignores custom visitors |
| 104 | +* #9224: ``:param:`` and ``:type:`` fields does not support a type containing |
| 105 | + whitespace (ex. ``Dict[str, str]``) |
| 106 | +* #8945: when transforming typed fields, call the specified role instead of |
| 107 | + making an single xref. For C and C++, use the ``expr`` role for typed fields. |
| 108 | + |
| 109 | +Testing |
| 110 | +-------- |
| 111 | + |
1 | 112 | Release 4.0.4 (in development)
|
2 | 113 | ==============================
|
3 | 114 |
|
@@ -519,7 +630,7 @@ Bugs fixed
|
519 | 630 | * #8567: autodoc: Instance attributes are incorrectly added to Parent class
|
520 | 631 | * #8566: autodoc: The ``autodoc-process-docstring`` event is emitted to the
|
521 | 632 | alias classes unexpectedly
|
522 |
| -* #8583: autodoc: Unnecessary object comparision via ``__eq__`` method |
| 633 | +* #8583: autodoc: Unnecessary object comparison via ``__eq__`` method |
523 | 634 | * #8565: linkcheck: Fix PriorityQueue crash when link tuples are not
|
524 | 635 | comparable
|
525 | 636 |
|
@@ -585,7 +696,7 @@ Bugs fixed
|
585 | 696 | * #8443: autodoc: autodata directive can't create document for PEP-526 based
|
586 | 697 | type annotated variables
|
587 | 698 | * #8443: autodoc: autoattribute directive can't create document for PEP-526
|
588 |
| - based uninitalized variables |
| 699 | + based uninitialized variables |
589 | 700 | * #8480: autodoc: autoattribute could not create document for __slots__
|
590 | 701 | attributes
|
591 | 702 | * #8503: autodoc: autoattribute could not create document for a GenericAlias as
|
@@ -742,7 +853,7 @@ Bugs fixed
|
742 | 853 | * #8091: autodoc: AttributeError is raised on documenting an attribute on Python
|
743 | 854 | 3.5.2
|
744 | 855 | * #8099: autodoc: NameError is raised when target code uses ``TYPE_CHECKING``
|
745 |
| -* C++, fix parsing of template template paramters, broken by the fix of #7944 |
| 856 | +* C++, fix parsing of template template parameters, broken by the fix of #7944 |
746 | 857 |
|
747 | 858 | Release 3.2.0 (released Aug 08, 2020)
|
748 | 859 | =====================================
|
@@ -1031,7 +1142,7 @@ Bugs fixed
|
1031 | 1142 | * #3673: autodoc: member-order="bysource" does not work for a module having
|
1032 | 1143 | __all__
|
1033 | 1144 | * #7668: autodoc: wrong retann value is passed to a handler of
|
1034 |
| - autodoc-proccess-signature |
| 1145 | + autodoc-process-signature |
1035 | 1146 | * #7711: autodoc: fails with ValueError when processing numpy objects
|
1036 | 1147 | * #7791: autodoc: TypeError is raised on documenting singledispatch function
|
1037 | 1148 | * #7551: autosummary: a nested class is indexed as non-nested class
|
@@ -1237,7 +1348,7 @@ Features added
|
1237 | 1348 | * #6417: py domain: Allow to make a style for arguments of functions and methods
|
1238 | 1349 | * #7238, #7239: py domain: Emit a warning on describing a python object if the
|
1239 | 1350 | entry is already added as the same name
|
1240 |
| -* #7341: py domain: type annotations in singature are converted to cross refs |
| 1351 | +* #7341: py domain: type annotations in signature are converted to cross refs |
1241 | 1352 | * Support priority of event handlers. For more detail, see
|
1242 | 1353 | :py:meth:`.Sphinx.connect()`
|
1243 | 1354 | * #3077: Implement the scoping for :rst:dir:`productionlist` as indicated
|
|
0 commit comments