sphinx breaking changes
Updated December 4, 2026
On this page
Latest version 9.2.0, released October 21, 2026. Source repository
Its 9.2.0 release drops Python 3.12. Python end of life dates.
- From 8.0.0 to 9.2.0: 278 breaking changes in 2 versions.
- From 5.0.0 to 9.2.0: 496 breaking changes in 5 versions.
sphinx 9.2.0 breaking changes
- Removed
Python 3.12 is no longer supported, so upgrade the Python interpreter before installing this release. github.com - Signature changed
sphinx.application.prefixed_warnings
Was def prefixed_warnings(prefix: str) -> Iterator[None]; now def prefixed_warnings(prefix: str) -> Generator[None]. pypi.org - Signature changed
sphinx.cmd.build.docutils_namespace
Was def docutils_namespace() -> Iterator[None]; now def docutils_namespace() -> Generator[None]. pypi.org - Signature changed
sphinx.cmd.build.patch_docutils
Was def patch_docutils(confdir: str | os.PathLike[str] | None = None) -> Iterator[None]; now def patch_docutils(confdir: str | os.PathLike[str] | None = None) -> Generator[None]. pypi.org - Signature changed
sphinx.ext.autosummary.mock
Was def mock(modnames: Sequence[str]) -> Iterator[None]; now def mock(modnames: Sequence[str]) -> Generator[None]. pypi.org - Signature changed
sphinx.ext.autosummary.switch_source_input
Was def switch_source_input(state: State[list[str]], content: StringList) -> Iterator[None]; now def switch_source_input(state: State[list[str]], content: StringList) -> Generator[None]. pypi.org - Signature changed
sphinx.ext.napoleon.docstring.GoogleDocstring.__init__
Was def __init__(self, docstring: str | list[str], config: SphinxConfig | None = None, app: Sphinx | None = None, what: _AutodocObjType | Literal['object'] = 'object', name: str = '', obj: Any | None = None, options: Any | None = None) ->... pypi.org - Signature changed
sphinx.ext.napoleon.GoogleDocstring.__init__
Was def __init__(self, docstring: str | list[str], config: SphinxConfig | None = None, app: Sphinx | None = None, what: _AutodocObjType | Literal['object'] = 'object', name: str = '', obj: Any | None = None, options: Any | None = None) ->... pypi.org - Signature changed
sphinx.ext.napoleon.NumpyDocstring.__init__
Was def __init__(self, docstring: str | list[str], config: SphinxConfig | None = None, app: Sphinx | None = None, what: _AutodocObjType | Literal['object'] = 'object', name: str = '', obj: Any | None = None, options: Any | None = None) ->... pypi.org - Signature changed
sphinx.util.docutils.docutils_namespace
Was def docutils_namespace() -> Iterator[None]; now def docutils_namespace() -> Generator[None]. pypi.org - Signature changed
sphinx.util.docutils.patch_docutils
Was def patch_docutils(confdir: str | os.PathLike[str] | None = None) -> Iterator[None]; now def patch_docutils(confdir: str | os.PathLike[str] | None = None) -> Generator[None]. pypi.org - Signature changed
sphinx.util.docutils.patched_get_language
Was def patched_get_language() -> Iterator[None]; now def patched_get_language() -> Generator[None]. pypi.org - Signature changed
sphinx.util.docutils.patched_rst_get_language
Was def patched_rst_get_language() -> Iterator[None]; now def patched_rst_get_language() -> Generator[None]. pypi.org - Signature changed
sphinx.util.docutils.switch_source_input
Was def switch_source_input(state: State[list[str]], content: StringList) -> Iterator[None]; now def switch_source_input(state: State[list[str]], content: StringList) -> Generator[None]. pypi.org - Signature changed
sphinx.util.docutils.using_user_docutils_conf
Was def using_user_docutils_conf(confdir: str | os.PathLike[str] | None) -> Iterator[None]; now def using_user_docutils_conf(confdir: str | os.PathLike[str] | None) -> Generator[None]. pypi.org - Signature changed
sphinx.util.logging.LogCollector.collect
Was def collect(self) -> Iterator[None]; now def collect(self) -> Generator[None]. pypi.org - Signature changed
sphinx.util.logging.pending_logging
Was def pending_logging() -> Iterator[MemoryHandler]; now def pending_logging() -> Generator[MemoryHandler]. pypi.org - Signature changed
sphinx.util.logging.pending_warnings
Was def pending_warnings() -> Iterator[logging.Handler]; now def pending_warnings() -> Generator[logging.Handler]. pypi.org - Signature changed
sphinx.util.logging.prefixed_warnings
Was def prefixed_warnings(prefix: str) -> Iterator[None]; now def prefixed_warnings(prefix: str) -> Generator[None]. pypi.org - Signature changed
sphinx.util.logging.suppress_logging
Was def suppress_logging() -> Iterator[MemoryHandler]; now def suppress_logging() -> Generator[MemoryHandler]. pypi.org - Signature changed
sphinx.util.rst.default_role
Was def default_role(docname: str, name: str) -> Iterator[None]; now def default_role(docname: str, name: str) -> Generator[None]. pypi.org
sphinx 9.0.0 breaking changes
- Removed
sphinx.application.SearchLanguage.init
SearchLanguage.init was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.application.SphinxComponentRegistry.get_publisher
SphinxComponentRegistry.get_publisher was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.application.SphinxComponentRegistry.publishers
SphinxComponentRegistry.publishers was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.application.Tags.tags
Tags.tags was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.dirhtml.StandaloneHTMLBuilder.css_files
StandaloneHTMLBuilder.css_files was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.dirhtml.StandaloneHTMLBuilder.script_files
StandaloneHTMLBuilder.script_files was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.epub3.Epub3Builder.css_files
Epub3Builder.css_files was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.epub3.Epub3Builder.script_files
Epub3Builder.script_files was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.html.IndexEntries.builder
IndexEntries.builder was removed in Sphinx 9.0.0 pypi.org - Removed
sphinx.builders.latex.LaTeXTranslator.needs_linetrimming
LaTeXTranslator.needs_linetrimming was removed in Sphinx 9.0.0 pypi.org
And 247 more in this version. Sign up to see every change
sphinx 8.0.0 breaking changes
- Removed
sphinx-quickstart no longer generates the old-style Makefile and make.bat output. github.com - Removed
Sphinx 8 no longer supports Python 3.9, so projects on Python 3.9 must upgrade their interpreter. github.com - Removed
--no-use-make-mode
The option is no longer accepted by sphinx-quickstart. github.com - Removed
--use-make-mode
The option is no longer accepted by sphinx-quickstart. github.com - Removed
-m
The option is no longer accepted by sphinx-quickstart. github.com - Removed
-M
The option is no longer accepted by sphinx-quickstart. github.com - Removed
intersphinx_mapping
Old intersphinx_mapping formats from Sphinx 0.5 and 0.6 are no longer accepted. github.com - Removed
sphinx.builders.latex.bold
sphinx.builders.latex.bold was removed in Sphinx 8.0.0 pypi.org - Removed
sphinx.builders.linkcheck.RemovedInSphinx80Warning
sphinx.builders.linkcheck.RemovedInSphinx80Warning was removed in Sphinx 8.0.0 pypi.org - Removed
sphinx.builders.NoneType
sphinx.builders.NoneType was removed in Sphinx 8.0.0 pypi.org
And 69 more in this version. Sign up to see every change
sphinx 7.0.0 breaking changes
- Removed
The build_sphinx hook in setup.py was removed. Projects relying on it must invoke Sphinx another way. github.com - Removed
HTML 4 output is no longer supported. Projects that need it must change their output settings. github.com - Removed
DefaultSplitter
The alias for DefaultSplitter in sphinx.search.ja was removed. Code that imports it must stop using it. github.com - Removed
make_old_id
The deprecated make_old_id functions were removed. Code calling them will fail. github.com - Removed
MecabSplitter
The alias for MecabSplitter in sphinx.search.ja was removed. Code that imports it must stop using it. github.com - Removed
sphinx.application.Builder.set_environment
Builder.set_environment was removed in Sphinx 7.0.0 pypi.org - Removed
sphinx.builders.epub3.Epub3Builder.set_environment
Epub3Builder.set_environment was removed in Sphinx 7.0.0 pypi.org - Removed
sphinx.builders.html.HTML4Translator
sphinx.builders.html.HTML4Translator was removed in Sphinx 7.0.0 pypi.org - Removed
sphinx.builders.html.html5_ready
The sphinx.builders.html.html5_ready attribute was removed. github.com - Removed
sphinx.builders.html.HTMLTranslator
The sphinx.builders.html.HTMLTranslator attribute was removed. github.com
And 49 more in this version. Sign up to see every change
sphinx 6.0.0 breaking changes
- Removed
The C domain no longer parses pre-v3 style type directives and roles. Use the v3 style syntax. github.com - Removed
jQuery and underscore.js are no longer injected into themes. Use the sphinxcontrib.jquery extension or add the files and script tags yourself. github.com - Removed
Deprecated APIs scheduled for removal in Sphinx 6.0 are gone. Check the deprecated APIs page and switch to their replacements. github.com - Removed
Sphinx 6.0 no longer supports Python 3.7. Users on Python 3.7 must stay on Sphinx 5.x or upgrade Python. github.com - Removed
Sphinx 6.0 no longer supports Python 3.6. Users on Python 3.6 must stay on Sphinx 5.x or upgrade Python. github.com - Removed
c_allow_pre_v3
The c_allow_pre_v3 setting has been removed along with pre-v3 C domain support. Delete it from conf.py. github.com - Removed
c_warn_on_allowed_pre_v3
The c_warn_on_allowed_pre_v3 setting has been removed along with pre-v3 C domain support. Delete it from conf.py. github.com - Removed
sphinx.addnodes.meta
sphinx.addnodes.meta was removed in Sphinx 6.0.0 pypi.org - Removed
sphinx.addnodes.Sphinx.add_stylesheet
Sphinx.add_stylesheet was removed in Sphinx 6.0.0 pypi.org - Removed
sphinx.addnodes.Sphinx.html_themes
Sphinx.html_themes was removed in Sphinx 6.0.0 pypi.org
And 70 more in this version. Sign up to see every change
sphinx 5.0.0 breaking changes
- Removed
sphinx.builders.html.html5_ready
sphinx.builders.html.html5_ready is deprecated. pypi.org - Removed
sphinx.builders.html.HTML5Translator.permalink_text
HTML5Translator.permalink_text was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.html.HTMLTranslator.permalink_text
HTMLTranslator.permalink_text was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.html.is_html5_writer_available
sphinx.util.docutils.is_html5_writer_available() is deprecated. pypi.org - Removed
sphinx.builders.latex.LaTeXBuilder.usepackages
LaTeXBuilder.usepackages was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.latex.LaTeXBuilder.usepackages_after_hyperref
LaTeXBuilder.usepackages_after_hyperref was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.latex.LaTeXTranslator.format_docclass
LaTeXTranslator.format_docclass was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.latex.RemovedInSphinx50Warning
sphinx.builders.latex.RemovedInSphinx50Warning was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.linkcheck.CheckExternalLinksBuilder.anchors_ignore
CheckExternalLinksBuilder.anchors_ignore was removed in Sphinx 5.0.0 pypi.org - Removed
sphinx.builders.linkcheck.CheckExternalLinksBuilder.auth
CheckExternalLinksBuilder.auth was removed in Sphinx 5.0.0 pypi.org
And 142 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.