Debian Codegraph @

doc/changes/7.1.rst

raw
1 ==========
2 Sphinx 7.1
3 ==========
4
5
6 Release 7.1.2 (released Aug 02, 2023)
7 =====================================
8
9 Bugs fixed
10 ----------
11
12 * #11542: linkcheck: Properly respect :confval:`linkcheck_anchors`
13 and do not spuriously report failures to validate anchors.
14 Patch by James Addison.
15
16 Release 7.1.1 (released Jul 27, 2023)
17 =====================================
18
19 Bugs fixed
20 ----------
21
22 * #11514: Fix ``SOURCE_DATE_EPOCH`` in multi-line copyright footer.
23 Patch by Bénédikt Tran.
24
25 Release 7.1.0 (released Jul 24, 2023)
26 =====================================
27
28 Incompatible changes
29 --------------------
30
31 * Releases are no longer signed, given the `change in PyPI policy`_.
32
33 .. _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/
34
35 Deprecated
36 ----------
37
38 * #11412: Emit warnings on using a deprecated Python-specific index entry type
39 (namely, ``module``, ``keyword``, ``operator``, ``object``, ``exception``,
40 ``statement``, and ``builtin``) in the :rst:dir:`index` directive, and
41 set the removal version to Sphinx 9. Patch by Adam Turner.
42
43 Features added
44 --------------
45
46 * #11415: Add a checksum to JavaScript and CSS asset URIs included within
47 generated HTML, using the CRC32 algorithm.
48 * :meth:`~sphinx.application.Sphinx.require_sphinx` now allows the version
49 requirement to be specified as ``(major, minor)``.
50 * #11011: Allow configuring a line-length limit for object signatures, via
51 :confval:`maximum_signature_line_length` and the domain-specific variants.
52 If the length of the signature (in characters) is greater than the configured
53 limit, each parameter in the signature will be split to its own logical line.
54 This behaviour may also be controlled by options on object description
55 directives, for example :rst:dir:`py:function:single-line-parameter-list`.
56 Patch by Thomas Louf, Adam Turner, and Jean-François B.
57 * #10983: Support for multiline copyright statements in the footer block.
58 Patch by Stefanie Molin
59 * ``sphinx.util.display.status_iterator`` now clears the current line
60 with ANSI control codes, rather than overprinting with space characters.
61 * #11431: linkcheck: Treat SSL failures as broken links.
62 Patch by James Addison.
63 * #11157: Keep the ``translated`` attribute on translated nodes.
64 * #11451: Improve the traceback displayed when using :option:`sphinx-build -T`
65 in parallel builds. Patch by Bénédikt Tran
66 * #11324: linkcheck: Use session-basd HTTP requests.
67 * #11438: Add support for the :rst:dir:`py:class` and :rst:dir:`py:function`
68 directives for PEP 695 (generic classes and functions declarations) and
69 PEP 696 (default type parameters). Multi-line support (#11011) is enabled
70 for type parameters list and can be locally controlled on object description
71 directives, e.g., :rst:dir:`py:function:single-line-type-parameter-list`.
72 Patch by Bénédikt Tran.
73 * #11484: linkcheck: Allow HTML anchors to be ignored on a per-URL basis
74 via :confval:`linkcheck_anchors_ignore_for_url` while
75 still checking the validity of the page itself.
76 Patch by Bénédikt Tran
77 * #1246: Add translation progress statistics and inspection support,
78 via a new substitution (``|translation progress|``) and a new
79 configuration variable (:confval:`translation_progress_classes`).
80 These enable determining the percentage of translated elements within
81 a document, and the remaining translated and untranslated elements.
82
83 Bugs fixed
84 ----------
85
86 * Restored the ``footnote-reference`` class that has been removed in
87 the latest (unreleased) version of Docutils.
88 * #11486: Use :rfc:`8081` font file MIME types in the EPUB builder.
89 Using the correct MIME type will prevent warnings from ``epubcheck``
90 and will generate a valid EPUB.
91 * #11435: Use microsecond-resolution timestamps for outdated file detection
92 in ``BuildEnvironment.get_outdated_files``.
93 * #11437: Top-level headings starting with a reStructuredText role
94 now render properly when :confval:`rst_prolog` is set.
95 Previously, a file starting with the below would have
96 improperly rendered due to where the prologue text
97 was inserted into the document.
98
99 .. code:: rst
100
101 :mod:`lobster` -- The lobster module
102 ====================================
103
104 ...
105
106 Patch by Bénédikt Tran.
107 * #11337: Fix a ``MemoryError`` in ``sphinx.ext.intersphinx`` when using ``None``
108 or ``typing.*`` as inline type references. Patch by Bénédikt Tran (picnixz)
109
110 Testing
111 -------
112
113 * #11345: Always delete ``docutils.conf`` in test directories when running
114 ``SphinxTestApp.cleanup()``.