| 1 |
========== |
| 2 |
Sphinx 8.0 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 8.0.2 (released Jul 30, 2024) |
| 7 |
===================================== |
| 8 |
|
| 9 |
Bugs fixed |
| 10 |
---------- |
| 11 |
|
| 12 |
* Fix the ``pygments.Formatter.__class_getitem__`` patch. |
| 13 |
Patch by Adam Turner. |
| 14 |
|
| 15 |
Release 8.0.1 (released Jul 30, 2024) |
| 16 |
===================================== |
| 17 |
|
| 18 |
Bugs fixed |
| 19 |
---------- |
| 20 |
|
| 21 |
* Patch ``pygments.Formatter.__class_getitem__`` in Pygments 2.17. |
| 22 |
Patch by Adam Turner. |
| 23 |
|
| 24 |
Release 8.0.0 (released Jul 29, 2024) |
| 25 |
===================================== |
| 26 |
|
| 27 |
Dependencies |
| 28 |
------------ |
| 29 |
|
| 30 |
* #12633: Drop Python 3.9 support. |
| 31 |
|
| 32 |
Incompatible changes |
| 33 |
-------------------- |
| 34 |
|
| 35 |
.. rst-class:: compact |
| 36 |
|
| 37 |
* Remove deprecated functions from ``sphinx.util``: |
| 38 |
|
| 39 |
* Removed ``sphinx.util.path_stabilize`` |
| 40 |
(use ``sphinx.util.osutil.path_stabilize``). |
| 41 |
* Removed ``sphinx.util.display_chunk`` |
| 42 |
(use ``sphinx.util.display.display_chunk``). |
| 43 |
* Removed ``sphinx.util.status_iterator`` |
| 44 |
(use ``sphinx.util.display.status_iterator``). |
| 45 |
* Removed ``sphinx.util.SkipProgressMessage`` |
| 46 |
(use ``sphinx.util.display.SkipProgressMessage``). |
| 47 |
* Removed ``sphinx.util.progress_message`` |
| 48 |
(use ``sphinx.util.display.progress_message``). |
| 49 |
* Removed ``sphinx.util.epoch_to_rfc1123`` |
| 50 |
(use ``sphinx.http_date.epoch_to_rfc1123``). |
| 51 |
* Removed ``sphinx.util.rfc1123_to_epoch`` |
| 52 |
(use ``sphinx.http_date.rfc1123_to_epoch``). |
| 53 |
* Removed ``sphinx.util.save_traceback`` |
| 54 |
(use ``sphinx.exceptions.save_traceback``). |
| 55 |
* Removed ``sphinx.util.format_exception_cut_frames`` |
| 56 |
(use ``sphinx.exceptions.format_exception_cut_frames``). |
| 57 |
* Removed ``sphinx.util.xmlname_checker`` |
| 58 |
(use ``sphinx.builders.epub3._XML_NAME_PATTERN``). |
| 59 |
|
| 60 |
Patch by Adam Turner. |
| 61 |
* Removed :py:func:`!sphinx.util.osutil.cd` |
| 62 |
(use :py:func:`contextlib.chdir`). |
| 63 |
Patch by Adam Turner. |
| 64 |
* Removed :py:func:`!sphinx.util.typing.stringify` |
| 65 |
(use :py:func:`!sphinx.util.typing.stringify_annotation`). |
| 66 |
Patch by Adam Turner. |
| 67 |
* #12593: Raise an error for invalid :confval:`html_sidebars` values. |
| 68 |
Patch by Adam Turner. |
| 69 |
* #12593: Raise an error in :py:func:`!Theme.get_config` for invalid sections. |
| 70 |
Patch by Adam Turner. |
| 71 |
* #11693: Remove support for old-style :file:`Makefile` and :file:`make.bat` |
| 72 |
output in :program:`sphinx-quickstart`. |
| 73 |
* #11693: Remove the :option:`!--no-use-make-mode`, :option:`!-M`, |
| 74 |
:option:`!--use-make-mode`, and :option:`!-m` options |
| 75 |
from :program:`sphinx-quickstart`. |
| 76 |
Patch by Adam Turner. |
| 77 |
* Removed the tuple interface to :py:class:`!sphinx.ext.autodoc.ObjectMember`. |
| 78 |
Patch by Adam Turner. |
| 79 |
* #12630: Sphinx 8 makes two changes to the ``linkcheck`` configuration defaults: |
| 80 |
|
| 81 |
* :confval:`linkcheck_allow_unauthorized` is now ``False`` by default. |
| 82 |
* :confval:`linkcheck_report_timeouts_as_broken` is now ``False`` by default. |
| 83 |
|
| 84 |
Patch by James Addison. |
| 85 |
* #12597: Change the default of :confval:`show_warning_types` |
| 86 |
from ``False`` to ``True``. |
| 87 |
Patch by Chris Sewell. |
| 88 |
* #12083: Remove support for the old (2008--2010) Sphinx 0.5 and Sphinx 0.6 |
| 89 |
:confval:`intersphinx_mapping` format. |
| 90 |
Patch by Bénédikt Tran and Adam Turner. |
| 91 |
* #12096: Do not overwrite user-supplied files when copying assets |
| 92 |
unless forced with ``force=True``. |
| 93 |
Patch by Adam Turner. |
| 94 |
* #12646: Remove :py:func:`!sphinx.util.inspect.isNewType`. |
| 95 |
Use ``isinstance(obj, typing.NewType)`` instead on Python 3.10 and newer. |
| 96 |
Patch by Adam Turner. |
| 97 |
* Remove the long-deprecated (since Sphinx 2) alias |
| 98 |
to :py:class:`!VersionChange` in |
| 99 |
:py:mod:`!sphinx.directives.other` |
| 100 |
(Deprecated since Sphinx 2). |
| 101 |
Use :py:class:`!sphinx.domains.changeset.VersionChange` directly. |
| 102 |
Patch by Adam Turner. |
| 103 |
|
| 104 |
Deprecated |
| 105 |
---------- |
| 106 |
|
| 107 |
* #12643: Renamed ``sphinx.ext.intersphinx.normalize_intersphinx_mapping`` |
| 108 |
to ``sphinx.ext.intersphinx.validate_intersphinx_mapping``. |
| 109 |
The old name will be removed in Sphinx 10. |
| 110 |
Patch by Adam Turner. |
| 111 |
* #12650, #12686, #12690: Extend the deprecation for string methods on |
| 112 |
:py:class:`~pathlib.Path` objects to Sphinx 9. |
| 113 |
Use :py:func:`os.fspath` to convert :py:class:`~pathlib.Path` objects to strings, |
| 114 |
or :py:class:`~pathlib.Path`'s methods to work with path objects. |
| 115 |
Patch by Adam Turner. |