---
title: "docutils 0.23 Breaking Changes on PyPI | Since.dev"
description: "What each docutils release removed, renamed or changed: 233 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/docutils
last_updated: 2026-12-04
---

# docutils breaking changes

docutils 0.23 (May 27, 2026) is its newest release with breaking changes, 8 of them. The first: Removed docutils.nodes.document.set_duplicate_name_id. Every breaking API change we have recorded in docutils on PyPI: 233 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.23.1`, released December 1, 2026. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.19](#v-0-19) to [0.23](#v-0-23): 113 breaking changes in 4 versions.

## docutils 0.23 breaking changes

docutils 0.23, released May 27, 2026: 8 breaking changes.

- **Removed** `docutils.nodes.document.set_duplicate_name_id`  

docutils.nodes.document.set_duplicate_name_id was removed in docutils 0.23 [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Removed** `docutils.parsers.rst.directives.tables.CSVTable.check_requirements`  

CSVTable.check_requirements was removed in docutils 0.23 [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Removed** `docutils.writers.latex2e.LaTeXTranslator.docutils_footnotes`  

LaTeXTranslator.docutils_footnotes was removed in docutils 0.23 [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Signature changed** `docutils.frontend.get_default_settings`  

Was def get_default_settings(\*components: SettingsSpec) -> Values; now def get_default_settings(\*components: type\[SettingsSpec\]) -> Values. [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Signature changed** `docutils.nodes.Node.findall`  

Was def findall(self, condition: type | Callable\[\[Node\], bool\] | None = None, include_self: bool = True, descend: bool = True, siblings: bool = False, ascend: bool = False) -> Iterator; now def findall(self, condition: type | tuple\[type\] |... [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Signature changed** `docutils.nodes.Node.next_node`  

Was def next_node(self, condition: type | Callable\[\[Node\], bool\] | None = None, include_self: bool = False, descend: bool = True, siblings: bool = False, ascend: bool = False) -> Node | None; now def next_node(self, condition: type |... [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Signature changed** `docutils.nodes.Node.traverse`  

Was def traverse(self, condition: type | Callable\[\[Node\], bool\] | None = None, include_self: bool = True, descend: bool = True, siblings: bool = False, ascend: bool = False) -> list; now def traverse(self, condition: type | tuple\[type\] |... [pypi.org](https://pypi.org/project/docutils/0.23/)
- **Signature changed** `docutils.parsers.rst.roles.code_role`  

Was def code_role(role, rawtext, text, lineno, inliner, options=None, content=None); now def code_role(role_name, rawtext, text, lineno, inliner, options=None, content=None). [pypi.org](https://pypi.org/project/docutils/0.23/)

## docutils 0.22 breaking changes

docutils 0.22, released July 29, 2025: 32 breaking changes.

- **Removed** `docutils.__main__.Publisher.setup_option_parser`  

Publisher.setup_option_parser was removed in docutils 0.22 [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Removed** `docutils.core.OptionParser.set_defaults_from_dict`  

OptionParser.set_defaults_from_dict was removed in docutils 0.22 [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Removed** `docutils.frontend.ConfigParser.get_section`  

ConfigParser.get_section was removed in docutils 0.22 [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Removed** `docutils.nodes.Element.set_class`  

Element.set_class was removed in docutils 0.22 [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.__main__.publish_cmdline`  

Was def publish_cmdline(reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides=None, config_section=None... [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.__main__.Publisher.set_reader`  

Was def set_reader(self, reader_name, parser, parser_name); now def set_reader(self, reader, parser=None, parser_name=None) -> None. [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.core.publish_cmdline`  

Was def publish_cmdline(reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides=None, config_section=None... [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.core.publish_doctree`  

Was def publish_doctree(source, source_path=None, source_class=io.StringInput, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', settings=None, settings_spec=None, settings_overrides=None... [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.core.publish_file`  

Was def publish_file(source=None, source_path=None, destination=None, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='pseudoxml', settings=None... [pypi.org](https://pypi.org/project/docutils/0.22/)
- **Signature changed** `docutils.core.publish_from_doctree`  

Was def publish_from_doctree(document, destination_path=None, writer=None, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides=None, config_section=None, enable_exit_status=False); now def... [pypi.org](https://pypi.org/project/docutils/0.22/)

And 22 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## docutils 0.21 breaking changes

docutils 0.21, released April 9, 2024: 64 breaking changes.

- **Removed** `docutils.nodes.ensure_str`  

docutils.nodes.ensure_str was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.nodes.reprunicode`  

docutils.nodes.reprunicode was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.parsers.rst.directives.tables.io`  

docutils.parsers.rst.directives.tables.io was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.parsers.rst.directives.tables.Table.process_header_option`  

Table.process_header_option was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.parsers.rst.directives.tables.utils`  

docutils.parsers.rst.directives.tables.utils was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.utils.math.latex2mathml.math.__getitem__`  

docutils.utils.math.latex2mathml.math.\_\_getitem\_\_ was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.utils.math.latex2mathml.math.__len__`  

docutils.utils.math.latex2mathml.math.\_\_len\_\_ was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.utils.math.latex2mathml.math.attributes`  

docutils.utils.math.latex2mathml.math.attributes was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.utils.math.latex2mathml.math.children`  

docutils.utils.math.latex2mathml.math.children was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)
- **Removed** `docutils.utils.math.latex2mathml.math.full`  

docutils.utils.math.latex2mathml.math.full was removed in docutils 0.21 [pypi.org](https://pypi.org/project/docutils/0.21/)

And 54 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## docutils 0.20 breaking changes

docutils 0.20, released May 9, 2023: 9 breaking changes.

- **Removed** `docutils.nodes.Node.previous_sibling`  

Node.previous_sibling was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.parsers.rst.Component`  

docutils.parsers.rst.Component was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.writers.docutils_xml.XMLTranslator.xml_declaration`  

XMLTranslator.xml_declaration was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.writers.html4css1.HTMLTranslator.add_meta`  

HTMLTranslator.add_meta was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.writers.html4css1.HTMLTranslator.xml_declaration`  

HTMLTranslator.xml_declaration was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.writers.html5_polyglot.HTMLTranslator.viewport`  

HTMLTranslator.viewport was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Removed** `docutils.writers.latex2e.docutils`  

docutils.writers.latex2e.docutils was removed in docutils 0.20 [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Signature changed** `docutils.parsers.rst.directives.tables.CSVTable.check_requirements`  

Was def check_requirements(self); now @staticmethod def check_requirements(). [pypi.org](https://pypi.org/project/docutils/0.20/)
- **Signature changed** `docutils.utils.DependencyList.__init__`  

Was def \_\_init\_\_(self, output_file=None, dependencies=\[\]); now def \_\_init\_\_(self, output_file=None, dependencies=()). [pypi.org](https://pypi.org/project/docutils/0.20/)

## docutils 0.19 breaking changes

docutils 0.19, released July 5, 2022: 120 breaking changes.

- **Removed** `docutils.core.docutils`  

docutils.core.docutils was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.core.ErrorOutput`  

docutils.core.ErrorOutput was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.core.ErrorString`  

docutils.core.ErrorString was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.core.frontend`  

docutils.core.frontend was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.core.Transformer`  

docutils.core.Transformer was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.frontend.ConfigParser.__init__`  

ConfigParser() was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.frontend.ErrorOutput`  

docutils.frontend.ErrorOutput was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.frontend.ErrorString`  

docutils.frontend.ErrorString was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.frontend.locale_encoding`  

docutils.frontend.locale_encoding was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)
- **Removed** `docutils.frontend.SafeString`  

docutils.frontend.SafeString was removed in docutils 0.19 [pypi.org](https://pypi.org/project/docutils/0.19/)

And 110 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
