Debian Codegraph @

doc/changes/3.3.rst

raw
1 ==========
2 Sphinx 3.3
3 ==========
4
5
6 Release 3.3.1 (released Nov 12, 2020)
7 =====================================
8
9 Bugs fixed
10 ----------
11
12 * #8372: autodoc: autoclass directive became slower than Sphinx 3.2
13 * #7727: autosummary: raise PycodeError when documenting python package
14 without __init__.py
15 * #8350: autosummary: autosummary_mock_imports causes slow down builds
16 * #8364: C, properly initialize attributes in empty symbols.
17 * #8399: i18n: Put system locale path after the paths specified by configuration
18
19 Release 3.3.0 (released Nov 02, 2020)
20 =====================================
21
22 Deprecated
23 ----------
24
25 * ``sphinx.builders.latex.LaTeXBuilder.usepackages``
26 * ``sphinx.builders.latex.LaTeXBuilder.usepackages_afger_hyperref``
27 * ``sphinx.ext.autodoc.SingledispatchFunctionDocumenter``
28 * ``sphinx.ext.autodoc.SingledispatchMethodDocumenter``
29
30 Features added
31 --------------
32
33 * #8100: html: Show a better error message for failures on copying
34 html_static_files
35 * #8141: C: added a ``maxdepth`` option to :rst:dir:`c:alias` to insert
36 nested declarations.
37 * #8081: LaTeX: Allow to add LaTeX package via ``app.add_latex_package()`` until
38 just before writing .tex file
39 * #7996: manpage: Add :confval:`man_make_section_directory` to make a section
40 directory on build man page
41 * #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub
42 builder using :confval:`suppress_warnings`.
43 * #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
44 * #8304: sphinx.testing: Register public markers in sphinx.testing.fixtures
45 * #8051: napoleon: use the obj role for all See Also items
46 * #8050: napoleon: Apply :confval:`napoleon_preprocess_types` to every field
47 * C and C++, show line numbers for previous declarations when duplicates are
48 detected.
49 * #8183: Remove substitution_reference nodes from doctree only on LaTeX builds
50
51 Bugs fixed
52 ----------
53
54 * #8085: i18n: Add support for having single text domain
55 * #6640: i18n: Failed to override system message translation
56 * #8143: autodoc: ``AttributeError`` is raised when ``False`` value is passed to
57 :confval:`autodoc_default_options`
58 * #8103: autodoc: functools.cached_property is not considered as a property
59 * #8190: autodoc: parsing error is raised if some extension replaces docstring
60 by string not ending with blank lines
61 * #8142: autodoc: Wrong constructor signature for the class derived from
62 typing.Generic
63 * #8157: autodoc: TypeError is raised when annotation has invalid __args__
64 * #7964: autodoc: Tuple in default value is wrongly rendered
65 * #8200: autodoc: type aliases break type formatting of autoattribute
66 * #7786: autodoc: can't detect overloaded methods defined in other file
67 * #8294: autodoc: single-string __slots__ is not handled correctly
68 * #7785: autodoc: autodoc_typehints='none' does not effect to overloaded functions
69 * #8192: napoleon: description is disappeared when it contains inline literals
70 * #8142: napoleon: Potential of regex denial of service in google style docs
71 * #8169: LaTeX: pxjahyper loaded even when latex_engine is not platex
72 * #8215: LaTeX: 'oneside' classoption causes build warning
73 * #8175: intersphinx: Potential of regex denial of service by broken inventory
74 * #8277: sphinx-build: missing and redundant spacing (and etc) for console
75 output on building
76 * #7973: imgconverter: Check availability of imagemagick many times
77 * #8255: py domain: number in default argument value is changed from hexadecimal
78 to decimal
79 * #8316: html: Prevent arrow keys changing page when button elements are focused
80 * #8343: html search: Fix unnecessary load of images when parsing the document
81 * #8254: html theme: Line numbers misalign with code lines
82 * #8093: The highlight warning has wrong location in some builders (LaTeX,
83 singlehtml and so on)
84 * #8215: Eliminate Fancyhdr build warnings for oneside documents
85 * #8239: Failed to refer a token in productionlist if it is indented
86 * #8268: linkcheck: Report HTTP errors when ``linkcheck_anchors`` is ``True``
87 * #8245: linkcheck: take source directory into account for local files
88 * #8321: linkcheck: ``tel:`` schema hyperlinks are detected as errors
89 * #8323: linkcheck: An exit status is incorrect when links having unsupported
90 schema found
91 * #8188: C, add missing items to internal object types dictionary,
92 e.g., preventing intersphinx from resolving them.
93 * C, fix anon objects in intersphinx.
94 * #8270, C++, properly reject functions as duplicate declarations if a
95 non-function declaration of the same name already exists.
96 * C, fix references to function parameters.
97 Link to the function instead of a non-existing anchor.
98 * #6914: figure numbers are unexpectedly assigned to uncaptioned items
99 * #8320: make "inline" line numbers un-selectable
100
101 Testing
102 -------
103
104 * #8257: Support parallel build in sphinx.testing