Sphinx 8.0¶
Release 8.0.2 (released Jul 30, 2024)¶
Bugs fixed¶
Fix the
pygments.Formatter.__class_getitem__patch. Patch by Adam Turner.
Release 8.0.1 (released Jul 30, 2024)¶
Bugs fixed¶
Patch
pygments.Formatter.__class_getitem__in Pygments 2.17. Patch by Adam Turner.
Release 8.0.0 (released Jul 29, 2024)¶
Dependencies¶
#12633: Drop Python 3.9 support.
Incompatible changes¶
Remove deprecated functions from
sphinx.util:Removed
sphinx.util.path_stabilize(usesphinx.util.osutil.path_stabilize).Removed
sphinx.util.display_chunk(usesphinx.util.display.display_chunk).Removed
sphinx.util.status_iterator(usesphinx.util.display.status_iterator).Removed
sphinx.util.SkipProgressMessage(usesphinx.util.display.SkipProgressMessage).Removed
sphinx.util.progress_message(usesphinx.util.display.progress_message).Removed
sphinx.util.epoch_to_rfc1123(usesphinx.http_date.epoch_to_rfc1123).Removed
sphinx.util.rfc1123_to_epoch(usesphinx.http_date.rfc1123_to_epoch).Removed
sphinx.util.save_traceback(usesphinx.exceptions.save_traceback).Removed
sphinx.util.format_exception_cut_frames(usesphinx.exceptions.format_exception_cut_frames).Removed
sphinx.util.xmlname_checker(usesphinx.builders.epub3._XML_NAME_PATTERN).
Patch by Adam Turner.
Removed
sphinx.util.osutil.cd()(usecontextlib.chdir()). Patch by Adam Turner.Removed
sphinx.util.typing.stringify()(usesphinx.util.typing.stringify_annotation()). Patch by Adam Turner.#12593: Raise an error for invalid
html_sidebarsvalues. Patch by Adam Turner.#12593: Raise an error in
Theme.get_config()for invalid sections. Patch by Adam Turner.#11693: Remove support for old-style
Makefileandmake.batoutput in sphinx-quickstart.#11693: Remove the
--no-use-make-mode,-M,--use-make-mode, and-moptions from sphinx-quickstart. Patch by Adam Turner.Removed the tuple interface to
sphinx.ext.autodoc.ObjectMember. Patch by Adam Turner.#12630: Sphinx 8 makes two changes to the
linkcheckconfiguration defaults:linkcheck_allow_unauthorizedis nowFalseby default.linkcheck_report_timeouts_as_brokenis nowFalseby default.
Patch by James Addison.
#12597: Change the default of
show_warning_typesfromFalsetoTrue. Patch by Chris Sewell.#12083: Remove support for the old (2008--2010) Sphinx 0.5 and Sphinx 0.6
intersphinx_mappingformat. Patch by Bénédikt Tran and Adam Turner.#12096: Do not overwrite user-supplied files when copying assets unless forced with
force=True. Patch by Adam Turner.#12646: Remove
sphinx.util.inspect.isNewType(). Useisinstance(obj, typing.NewType)instead on Python 3.10 and newer. Patch by Adam Turner.Remove the long-deprecated (since Sphinx 2) alias to
VersionChangeinsphinx.directives.other(Deprecated since Sphinx 2). Usesphinx.domains.changeset.VersionChangedirectly. Patch by Adam Turner.
Deprecated¶
#12643: Renamed
sphinx.ext.intersphinx.normalize_intersphinx_mappingtosphinx.ext.intersphinx.validate_intersphinx_mapping. The old name will be removed in Sphinx 10. Patch by Adam Turner.#12650, #12686, #12690: Extend the deprecation for string methods on
Pathobjects to Sphinx 9. Useos.fspath()to convertPathobjects to strings, orPath's methods to work with path objects. Patch by Adam Turner.