python-docx breaking changes
python-docx 1.0.0 (October 10, 2023) is its newest release with breaking changes, 221 of them. The first: python-docx 1.0.0 requires Python 3.7 or later. Every breaking API change we have recorded in python-docx on PyPI: 262 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.2.0, released June 16, 2025.
Its 1.0.0 release requires Python 3.7 or later. Python end of life dates.
python-docx 1.0.0 breaking changes
- Removed
python-docx 1.0.0 no longer supports Python 2; code must run on Python 3.7 or later. github.com - Removed
docx.compat
docx.compat was removed in python-docx 1.0.0 pypi.org - Removed
docx.dml.color.MSO_COLOR_TYPE.__members__
MSO_COLOR_TYPE.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.dml.color.MSO_COLOR_TYPE.__ms_name__
MSO_COLOR_TYPE.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.dml.color.MSO_COLOR_TYPE.__url__
MSO_COLOR_TYPE.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.document.ElementProxy.__slots__
ElementProxy.__slots__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.alias
docx.enum.base.alias was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.Enumeration
docx.enum.base.Enumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.EnumerationBase
docx.enum.base.EnumerationBase was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.EnumMember
docx.enum.base.EnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.EnumValue
docx.enum.base.EnumValue was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.InvalidXmlError
docx.enum.base.InvalidXmlError was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.MetaEnumeration
docx.enum.base.MetaEnumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.ReturnValueOnlyEnumMember
docx.enum.base.ReturnValueOnlyEnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.XmlEnumeration
docx.enum.base.XmlEnumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.base.XmlMappedEnumMember
docx.enum.base.XmlMappedEnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.alias
docx.enum.dml.alias was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.Enumeration
docx.enum.dml.Enumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.EnumMember
docx.enum.dml.EnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.MSO_THEME_COLOR_INDEX.__members__
MSO_THEME_COLOR_INDEX.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.MSO_THEME_COLOR_INDEX.__ms_name__
MSO_THEME_COLOR_INDEX.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.MSO_THEME_COLOR_INDEX.__url__
MSO_THEME_COLOR_INDEX.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.XmlEnumeration
docx.enum.dml.XmlEnumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.dml.XmlMappedEnumMember
docx.enum.dml.XmlMappedEnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.alias
docx.enum.section.alias was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_HEADER_FOOTER_INDEX.__members__
WD_HEADER_FOOTER_INDEX.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_HEADER_FOOTER_INDEX.__ms_name__
WD_HEADER_FOOTER_INDEX.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_HEADER_FOOTER_INDEX.__url__
WD_HEADER_FOOTER_INDEX.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_ORIENTATION.__members__
WD_ORIENTATION.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_ORIENTATION.__ms_name__
WD_ORIENTATION.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_ORIENTATION.__url__
WD_ORIENTATION.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_SECTION_START.__members__
WD_SECTION_START.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_SECTION_START.__ms_name__
WD_SECTION_START.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.WD_SECTION_START.__url__
WD_SECTION_START.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.XmlEnumeration
docx.enum.section.XmlEnumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.section.XmlMappedEnumMember
docx.enum.section.XmlMappedEnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.alias
docx.enum.style.alias was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.EnumMember
docx.enum.style.EnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.WD_BUILTIN_STYLE.__members__
WD_BUILTIN_STYLE.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.WD_BUILTIN_STYLE.__ms_name__
WD_BUILTIN_STYLE.__ms_name__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.WD_BUILTIN_STYLE.__url__
WD_BUILTIN_STYLE.__url__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.WD_BUILTIN_STYLE.from_xml
WD_BUILTIN_STYLE.from_xml was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.WD_BUILTIN_STYLE.to_xml
WD_BUILTIN_STYLE.to_xml was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.XmlEnumeration
docx.enum.style.XmlEnumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.style.XmlMappedEnumMember
docx.enum.style.XmlMappedEnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.table.alias
docx.enum.table.alias was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.table.Enumeration
docx.enum.table.Enumeration was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.table.EnumMember
docx.enum.table.EnumMember was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.table.WD_CELL_VERTICAL_ALIGNMENT.__members__
WD_CELL_VERTICAL_ALIGNMENT.__members__ was removed in python-docx 1.0.0 pypi.org - Removed
docx.enum.table.WD_CELL_VERTICAL_ALIGNMENT.__ms_name__
WD_CELL_VERTICAL_ALIGNMENT.__ms_name__ was removed in python-docx 1.0.0 pypi.org
And 171 more in this version. Sign up to see every change
python-docx 0.8.0 breaking changes
- Removed
docx.Document.styles_part
Document.styles_part was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.CT_PPr.__child_sequence__
CT_PPr.__child_sequence__ was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.CT_PPr.alignment
CT_PPr.alignment was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.CT_R.underline
CT_R.underline was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.CT_RPr.underline
CT_RPr.underline was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.parts.styles
docx.oxml.parts.styles was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.text.BaseOxmlElement
docx.oxml.text.BaseOxmlElement was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.text.CT_PPr
docx.oxml.text.CT_PPr was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.text.CT_RPr
docx.oxml.text.CT_RPr was removed in python-docx 0.8.0 pypi.org - Removed
docx.oxml.text.CT_Text
docx.oxml.text.CT_Text was removed in python-docx 0.8.0 pypi.org
And 31 more in this version. Sign up to see every change
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.