unstale

pypi / sphinx

sphinx

What changed in sphinx 8 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

37 breaking13 deprecations13 new APIs and options12 behavior and defaults1 tooling24 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

sphinx 970 changes

Breaking changes 10

Deprecations 11

New APIs and options 13

Behavior and default changes 11

Tooling 1

Fixes and other changes 24

  • Fixes LaTeX builds for documents using the standard acronym role.

    9.1.0release notes

  • Fixes default option parsing in autodoc.

    9.1.0release notes

  • Improves autodoc support for objects that cannot be weak-referenced.

    9.1.0release notes

  • Fixes creating HTMLThemeFactory objects in third-party extensions.

    9.1.0release notes

  • Fixes PDF build crashes when a code block contains more than circa 1350 code lines.

    9.1.0release notes

  • Fixes LaTeX rendering of grid-filled merged vertical cells and footer overruns involving merged vertical table cells.

    9.1.0release notes

  • Fixes compatibility with MyST-Parser.

    9.1.0release notes

  • Fixes duplicate :no-index-entry: entries for modules in autodoc.

    9.1.0release notes

  • Fixes TAB characters ending up in sphinxVerbatim so they obey tab stops.

    9.1.0release notes

  • Fixed spurious build warnings when translators reorder references in strings or use translated display text in references.

    9.0.4release notes

  • Some missing exports in sphinx.ext.autodoc were restored.

    9.0.3release notes

  • Restores sphinx.ext.autodoc.mock for use with autodoc.

    9.0.2release notes

  • The mapping interface for options objects was restored.

    9.0.1release notes

  • The option now works when aliases appear in PEP 604 union syntax.

    9.0.0release notesupgrade guide

  • The parsers now correctly handle unpacked type annotations for parsing and cross-referencing.

    9.0.0upgrade guide

  • Doctest blocks are now correctly added to the group defined by this configuration variable.

    9.0.0release notesupgrade guide

  • Sphinx supports Docutils 0.22.

    9.0.0release notes

  • EPUB manifest paths use forward slashes, and duplicate manifest items are resolved on Windows.

    9.0.0release notesupgrade guide

  • HTML Search no longer clears text fragments from the URL on page load.

    9.0.0release notesupgrade guide

  • Extra parentheses are removed from js:function arguments and errors.

    9.0.0release notesupgrade guide

  • Fixes longtable builds with automatic tabularcolumns widths, horizontal overflow, footnotes, nested tables, caption links, and related rendering issues.

    9.0.0upgrade guide

  • Multiple py:type directives for the same canonical type no longer produce spurious duplicate object description warnings.

    9.0.0release notes

  • Duplicate equation label warnings now use a new warning subtype.

    9.0.0release notesupgrade guide

  • LaTeX longtable no longer errors when tabularcolumns specifies automatic widths.

    9.0.0release notes

sphinx 830 changes

Breaking changes 27

  • User-supplied files are no longer overwritten when copying assets unless forced with force=True.

    8.0.0release notes

  • Invalid html_sidebars values now raise an error.

    8.0.0release notes

  • Support for the old 2008–2010 Sphinx 0.5 and 0.6 mapping format was removed.

    8.0.0release notes

  • The default changed to False.

    8.0.0release notes

  • The default changed to False.

    8.0.0release notes

  • sphinx-quickstart no longer supports generating old-style make.bat output.

    8.0.0release notes

  • sphinx-quickstart no longer supports generating old-style Makefile output.

    8.0.0release notes

  • Sphinx 8 no longer supports Python 3.9.

    8.0.0release notes

  • The -m option was removed.

    8.0.0release notes

  • The --no-use-make-mode option was removed.

    8.0.0release notes

  • The --use-make-mode option was removed.

    8.0.0release notes

  • The long-deprecated alias was removed; use sphinx.domains.changeset.VersionChange directly.

    8.0.0release notes

  • The tuple interface to ObjectMember was removed.

    8.0.0release notes

  • Removed; use sphinx.util.display.display_chunk instead.

    8.0.0release notes

  • Removed; use sphinx.http_date.epoch_to_rfc1123 instead.

    8.0.0release notes

  • Removed; use sphinx.exceptions.format_exception_cut_frames instead.

    8.0.0release notes

  • Removed; on Python 3.10 and newer, use isinstance(obj, typing.NewType) instead.

    8.0.0release notes

  • Removed; use contextlib.chdir instead.

    8.0.0release notes

  • Removed; use sphinx.util.osutil.path_stabilize instead.

    8.0.0release notes

  • Removed; use sphinx.util.display.progress_message instead.

    8.0.0release notes

  • Removed; use sphinx.http_date.rfc1123_to_epoch instead.

    8.0.0release notes

  • Removed; use sphinx.exceptions.save_traceback instead.

    8.0.0release notes

  • Removed; use sphinx.util.display.SkipProgressMessage instead.

    8.0.0release notes

  • Removed; use sphinx.util.display.status_iterator instead.

    8.0.0release notes

  • Removed; use sphinx.util.typing.stringify_annotation instead.

    8.0.0release notes

  • Removed; use sphinx.builders.epub3._XML_NAME_PATTERN instead.

    8.0.0release notes

  • Invalid sections now raise an error in Theme.get_config.

    8.0.0release notes

Deprecations 2

  • The deprecation for string methods on pathlib.Path objects is extended to Sphinx 9; use os.fspath or pathlib.Path methods.

    8.0.0release notes

  • Renamed from normalize_intersphinx_mapping; the old name will be removed in Sphinx 10.

    8.0.0release notes

Behavior and default changes 1