Skip to content

Latest commit

 

History

History
99 lines (66 loc) · 2.87 KB

File metadata and controls

99 lines (66 loc) · 2.87 KB

Release History

Unreleased

0.3.0 (2026-08-29)

  • Added opt-in package-level document sanitization for personal metadata, comments, web extensions, and formatting revision history.
  • Added structured sanitization reports and real Word comment round-trip coverage.

0.2.0 (2026-08-24)

  • Added direct loading from raw DOCX bytes with Document(bytes).
  • Added Document.to_bytes() for in-memory export and Document.copy() for independent document snapshots.
  • Added safe removal of Custom XML parts, including their document and property relationships.
  • Added real-document EMF round-trip coverage and corrected the EMF MIME type.
  • Documented the capability matrix, upstream maintenance policy, and compatibility boundary with official python-docx.

0.1.1 (2026-08-21)

  • Added Python 3.14 support and CI coverage for Python 3.12 through 3.14.
  • Added real Microsoft Word document round-trip coverage for floating pictures, SVG images, East Asian fonts, and multiple Custom XML parts.
  • Fixed automatic Custom XML part naming to select an available itemN.xml name and reject explicit name collisions.
  • Expanded the project overview, installation guide, in-memory document examples, and Custom XML lifecycle documentation.

0.1.0 (2026-02-02)

  • UPSTREAM MERGE with python-docx 1.2.0.
  • Backward Compatibility: Fixed a regression where Font.name returned a dictionary. It now correctly returns a string (ASCII name) while supporting multi-script assignment via setter. Added Font.eastAsia and Font.hAnsi properties for fine-grained font control.

0.0.12 (2025-12-03)

  • default dpi for jpeg #33

0.0.11 (2025-11-17)

  • round-float viewbox and enhance svg unit parsing #31

0.0.10 (2025-11-13)

  • Fix modern bool representations in .docx files. #29
  • Fix _dimensions_from_stream doesn't handle units properly from svg. #30

0.0.9 (2024-11-26)

  • svg file support in add_picture. #27
  • update docs.

0.0.8 (2024-11-22)

  • EastAsia font support fixes. #25
  • Update README.md. #26

0.0.7 (2022-10-29)

  • add emf image file support. #24

0.0.6 (2022-10-21)

  • change default custom xml file name to item1. #23

0.0.5 (2022-8-08)

  • minor refactor custom-properties.
  • add add_float_picture in Document. #21

0.0.4 (2022-7-21)

  • public python-docx-oss docs @ readthedocs.
  • add delete_item in CustomXmlPart. #17

0.0.3 (2022-7-01)

  • Change method text to texts in CT_R. #14
  • Add external target_ref setter. #15
  • Blacken all Python files.

0.0.2 (2022-06-24)

  • Add custom xml support. #10
  • Add Part eq.
  • Add Part element setter.
  • Add Relationships parts_with_reltype.

0.0.1 (2022-06-16)

  • Only support Python3.8, 3.9 and 3.10.
  • Add custom properties support. #2
  • Add drop_rels in Package. #5
  • Add drop_rels in Part. #5
  • Add default NumberingPart. #4
  • Fix Python3.8+ dict TypeError. #6
  • Add some typehint.