Skip to content

Releases

oxoffice v0.9.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:45

[0.9.0] - 2026-11-28

✨ Highlights

  • Excel workbooks, the third format (#706 #714 #716 #712): open and save .xlsx / .xlsm without loss (a sheet not edited stays byte for byte), read cells, formulas, displayed text, styles and comments (oxoffice xlsx text --json | --markdown, csv, cells, comments), edit values, formulas (shared groups, LET / LAMBDA, spilling arrays), styles and number formats, import CSV, and create a workbook, from Rust, the CLI and oxoffice.xlsx. Checked against Excel and Google Sheets.
  • Numbers shown as Excel shows them (#700 #708 #722 #729): oxoffice-numfmt turns a format code and a value into Excel's text, pinned on 2,000+ cases read from Excel, with month and day names in sixteen languages and the Japanese eras; chart axes and labels use it too.
  • Tracked changes written in Word's shape (#696 #697 #704 #711 #713 #717-#721 #726 #728 #731 #732 #734): text, paragraph, run, table and section edits, block and row insertions and removals, headers, footers, notes and cells, moves, modern comment metadata, revision dates in UTC with authors in people.xml, and comparison writing comments as revisions.
  • Breaking: RevisionKind is #[non_exhaustive] and gains seven kinds (#709); a match on it needs a wildcard arm.
  • Formulas: the crate oxoffice-xlsx-formula (#710) reads and checks Excel formulas, and a spilling formula is written over the range its result fills so Google Sheets spills it too (#727).

🚀 Features

🐛 Bug fixes

  • (docx) A comment keeps the reservations of the parts it adds (#695) (b4b71e6) in #695 by @hadim
  • (python) A table in a block content control has an owner record (#698) (3d03ccd) in #698 by @hadim
  • (python) A splice that empties the body leaves the records a walk derives (#705) (6105cc3) in #705 by @hadim
  • (xlsx) Refuse a save under an extension that names another format (#733) (e46d4ad) in [#733](https:/...
Read more

oxoffice v0.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:16

[0.8.0] - 2026-11-27

✨ Highlights

  • Empty elements, both writings: an element with nothing inside reads the same written <w:b/> or <w:b></w:b> (LibreOffice writes w:fldChar this way): toggles, tabs, breaks, empty notes; every document reader collapses both, and a save keeps the writing it read (#679, #689).
  • Google Docs files: a table Google writes alone in a locked block content control has a location and works from Rust and Python, and doc.paragraphs no longer stops on its cells (#683, #685); accept_all and reject_all resolve Google suggestions that remove a final paragraph mark, empty a wrapped paragraph or chain across block controls (#686, #688).
  • Compare: a text box deleted, replaced or reframed with an edit is redlined, nested boxes too (#682), under whatever prefix the part binds (#690); a footnote or endnote with no paragraph compares whole, and a redline brings the styles and keeps the comments it names (#681).
  • Compare, empty containers: a block content control, header, footer, text box or note empty in one version and holding paragraphs in the other is compared instead of refused: the empty side reads as one empty paragraph, so accept gives the full version and reject the empty one with one empty paragraph (#692).
  • Default namespace: a Word document whose root binds WordprocessingML as the default namespace is edited, compared, accepted and rejected like its w: writing (#687); one declared below the root, which no known producer writes, is refused with what to do instead (#691).
  • Corpus: a table of contents inserted by Word, and Google Docs comment wrappers (goog_rdk) with the empty form Word leaves (#678, #684).
  • Behaviour change: for a document holding a table in a block content control, doc.paragraphs, paragraph_visibility and find_content_index no longer reach that table's cells; read them through the table (#683).
  • Breaking (plumbing crates only): oxoffice_core::raw_xml::capture_empty_element is removed (use capture_empty(e, reader.empty_writing())), and the public readers of oxoffice-docx-oxml and oxoffice-drawing take oxoffice_core::xml_reader::Reader (#689).
  • Limitations: oxoffice limitations lists two fewer entries (docx-compare-empty-container, docx-default-namespace-below-root) (#691, #692).

🚀 Features

🐛 Bug fixes

  • (compare) Empty notes compare whole, a redline keeps the styles and comments it names (#681) (719a3bf) in #681 by @hadim
  • (docx) Compare redlines a text box deleted, replaced or reframed with an edit (#682) (ef8007f) in #682 by @hadim
  • (python) Cell.tables lists the tables of a cell's block content controls (#685) (6a5b8bc) in #685 by @hadim
  • (docx) Resolve google suggestions that remove a final mark or empty a wrapped paragraph (#686) (386a173) in #686 by @hadim
  • (docx) A word part written with the default namespace can be edited (#687) (96935d0) in #687 by @hadim
  • [breaking] An element with nothing inside reads the same in both writings (#689) (6115f5d) in #689 by @hadim
  • (docx) Merge a removed mark across block controls, keep it before a table (#688) (39aaf1a) in #688 by @hadim
  • (docx) Compare finds text boxes under the prefix each part binds to wordprocessingml (#690) (d8a1f08) in #690 by @hadim
  • (compare) A container empty in one version compares as one empty paragraph (#692) (a629d9d) in #692 by @hadim

🚜 Refactoring

📚 Documentation

  • A limitation only for a case that can happen and cannot be fixed now (#691) (f3a26d1) in #691 by @hadim

🧪 Tests

  • (corpus) Add a table of contents inserted by word (#678) (1f2adc8) in #678 by @hadim
  • (corpus) Add a google docs comment export and its word copy with an empty goog_rdk control (#684) (57f2ebe) in #684 by @hadim

oxoffice v0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 09:16

[0.7.0] - 2026-11-26

✨ Highlights

  • Inside block content controls: paragraphs are inserted, cloned, moved and imported anywhere in a block content control, a table of contents included; ContentLocation::control_end names a control's end, Paragraph.insert_paragraph_before works on every paragraph, and a copy never leaves a complex field split (#667).
  • Compare after real edits: an edit of any paragraph kind in documents saved by Word, LibreOffice and Google Docs compares, accepts and rejects to each version, now checked on every corpus copy (#670); an edit inside a text box is tracked inside both copies of the box (#675); Google's empty content controls no longer stop a comparison (#662).
  • Any equivalent XML writing: a document written with other prefixes, spaced tags, other quotes, character references or self-closed elements reads, edits, saves and compares like its usual writing, checked by a harness on every corpus copy (#669, #671, #672, #676).
  • Fields and links: REF, PAGEREF and SEQ ignore a bookmark start with no end, as LibreOffice writes beside copied form fields, and PDF internal links land on the whole bookmark (#674, #676).
  • Breaking: ReplacementCountMismatch has a new public field unreached (#670); typed content controls refuse a second block, and the only block of a header, footer, note, comment or text box cannot be removed (#667).

🚀 Features

🐛 Bug fixes

📚 Documentation

  • (spec) Empty elements written with an end tag read as self-closed ones (#677) (324b2f3) in #677 by @hadim

🧪 Tests

⚙️ Maintenance

oxoffice v0.6.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:50

[0.6.0] - 2026-11-25

✨ Highlights

  • Edits cost their own element: 78 of the 125 Word edit calls whose cost grew with the document now cost the element they touch (in-place edits under a journal, no whole-document copy, staged save or reopen per call). At 400 paragraphs, Paragraph.text, add_run, add_footnote, add_comment, removals, headers, footers, watermarks, content control properties, fonts and settings go from tens to thousands of ms down to a few ms.
  • Forms: fill_form and reset_form read and edit only the controls they change (a header control at 1,000 paragraphs: 27.5 s to 9 ms); legacy form fields are still slow (#7).
  • Saves report unsavable bodies: an edit that leaves the body unsavable is reported by the save, not by the edit (the four up-front refusals stay); an edit is no longer refused for a defect elsewhere in the document it does not touch.
  • Handles survive more edits: edits that touch no element a handle names keep every handle; removing a note or comment keeps the handles of the others.
  • Word fidelity: a body edit keeps Word's own main-part declaration and root (namespace order).
  • CLI (breaking): every command that reports something gives a schema-1 --json record, limitations --json included.

🚀 Features

  • (cli) [breaking] Every command that reports something gives a schema-1 --json record (#626) (8f05bfd) in #626 by @hadim

🐛 Bug fixes

⚡ Performance

  • (python) Body handles follow their block, so a splice inside the body keeps them (#616) (f7a6500) in #616 by @hadim
  • (python) A body splice updates the word owner index in place (#617) (f509ebc) in #617 by @hadim
  • (python) A replacement before any read builds no owner facts (#621) (298c5e3) in #621 by @hadim
  • (docx) Settings edits install their part in place instead of copying the document (#623) (8ede1cf) in #623 by @hadim
  • (python) Settings and section edits work in place and keep every handle (#628) (796c633) in #628 by @hadim
  • (docx) Font table edits work in place with a journal (#631) (43839d9) in #631 by @hadim
  • (docx) Edits run in place on declared units, starting with resolve_comment (#632) (2d890c4) in #632 by @hadim
  • (docx) Custom xml stores, style links and list restarts edit their parts in place (#633) (33dcdea) in #633 by @hadim
  • (python) Note blocks are added in place and published by a note story splice (#634) (dd306e7) in #634 by @hadim
  • (python) A body paragraph edit changes its paragraph in place and replaces its block's owners (#636) (4f804f8) in #636 by @hadim
  • (docx) References are found by a walk of what the body writes, and remove_style runs in place (#637) (03938fc) in #637 by @hadim
  • (docx) Mail merge packages and content control properties edit in place (#635) (c6d7d57) in #635 by @hadim
  • (docx) Bibliography sources are added and replaced in place (#639) (cf6448e) in #639 by @hadim
  • (docx) One in-place edit may name several disjoint body block units (#642) (2de4a31) in #642 by @hadim
  • (docx) Story text, legacy form fields and permission ranges edit their paragraph in place (#640) (821e2a8) in #640 by @hadim
  • (python) Notes and comments are added to a body paragraph in place (#641) (b55c764) in #641 by @hadim
  • (python) Spans are isolated and citations inserted in their paragraph in place (#646) (2aa6f09) in #646 by @hadim
  • (docx) Headers, footers, watermarks and section stories edit their parts in place (#645) (872d773) in #645 by @hadim
  • (python) Body removals splice the inventory in place, on an N to M block splice (#647) (06e05ea) in #647 by @hadim
  • (docx) Form fills and resets edit the controls they change in place (#648) (b89c3e9) in #648 by @hadim
  • (python) Notes and comments are removed in place (#649) (712f988) in [#649](https:/...
Read more

oxoffice v0.5.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:21

[0.5.1] - 2026-11-24

✨ Highlights

  • Faster templates with blocks in many stories. A template whose {% if %} / {% for %} blocks sit in many header and footer parts no longer restages the whole document after each part: about five times faster on a 22-part thesis (#610).
  • Tests. The bibliography edits are counted as whole-document edits in the scaling gate (#613).

⚡ Performance

oxoffice v0.5.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 09:44

[0.5.0] - 2026-11-24

✨ Highlights

  • Bibliography from the CLI and Python. oxoffice docx bibliography lists, adds, replaces and removes sources, sets the style, cites (also after a given text) and updates; Python gets the same methods with typed stubs. APA 6th en-US is checked against Word field by field; the other styles keep their current coverage (#584, #592, #578, #589).
  • Fillable PDF forms everywhere Word puts a control. Fields now come from notes, floating text boxes, headers and footers (one widget per page, one shared value), rotated cells and vertical sections, and empty controls; typed Polish, Czech, Cyrillic, Greek and Hebrew text survives in viewers, and a diagnostic names fields whose text the typing font cannot hold (#574, #586, #597, #593, #607, #588, #571).
  • Review workflows on real files. accept_all and reject_all work on LibreOffice-saved documents, overlapping comments and crossing bookmarks no longer break range listing, a comment can sit on part of a tracked insertion as Word writes it, and resolving one move alone leaves no empty paragraph (#602, #603, #596, #601, #605, #575).
  • Faster table edits, sturdier handles. A row or cell property setter costs its row or cell, the next cell text edit stays local (1.6 s down to 3 ms on a 256-row table), and Python handles stay valid after a first cell property (#604, #598, #600).
  • Inline text boxes draw their text in PDF and page images (#591).
  • Breaking changes. PowerPoint's embedded content and signature checks are now Word's (on a signed deck, a save refuses relationships that reach protected parts by an odd target); verify-signatures checks a Word file as opened; one font-embedding rule for both formats; hidden public items nothing called are removed from oxoffice-docx-oxml, oxoffice-docx and oxoffice-layout (#611, #609, #606, #608, #583).

🚀 Features

🐛 Bug fixes

Read more

oxoffice v0.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:45

[0.4.0] - 2026-11-23

✨ Highlights

  • PDF output closer to Word. No more blank pages before a section break, endnotes below a final table, outline entries on their heading's page, words split across runs kept whole, over-long words broken where Word breaks them, column text no longer drawn over floating boxes, caption numbers read after their label, shading behind tabs, right-to-left tab stops and positional tabs placed as Word does (#548, #517, #522, #549, #544, #529, #537, #545, #559).
  • Equations everywhere. Every OfficeMath construct is drawn in PDF and page images at the sizes Word gives it (within a point), and the RTF and ODT exports keep equations, which Word and LibreOffice read back (#557, #558, #531, #554, #561).
  • compare refuses less. Block content controls (a Word table of contents included), endnotes, bookmarks both versions hold, simple fields in links or nested fields, links in paragraphs added or removed whole, and pictures reached through another relationship now compare, with redlines Word accepts and rejects cleanly (#520, #556, #526, #550, #563, #525, #553, #560).
  • Links and fonts in PDF. Cross-references and hyperlink fields are clickable and land on their bookmark, tagged links hold their text for screen readers, CFF system fonts are embedded correctly, and a fallback glyph no longer makes its line taller (#540, #528, #542, #523).
  • Word editing. Restart a style-numbered list, address a font record by its index, date controls with a time, localized Word files keep their own link and note styles, note marks and ruby read as Word reads them, RTF keeps paragraph styles and section layout (and Word-written RTF tables open again) (#535, #536, #518, #538, #530, #547, #562, #564).
  • Behaviour changes to know. Deck renders draw the characters their fonts lack (CJK) with a system font by default; pass bundled_fonts_only for machine-independent output (the Rust *_with_diagnostics render calls take the new option). MathExpression and NoteNumberFormat gained variants and are now #[non_exhaustive]; NoteNumberFormat::Chicago is new (#539, #557, #546).

🚀 Features

🐛 Bug fixes

  • (docx) Font removals refuse a font table they cannot read (#513) (7a39dd3) in #513 by @hadim
  • (pdf) One leaf numbering for every writer pass (#512) (d894cd3) in #512 by @hadim
  • (docx) Story paragraphs list a text box inside an inline smart tag or custom xml (#514) (9b0a0b0) in #514 by @hadim
  • (docx) Exports paint shading and highlight as the pdf does (#519) (534a961) in #519 by @hadim
  • (docx) A style's list level is read as word reads it (#521) (eaba082) in #521 by @hadim
  • (layout) Words split across runs no longer break (#522) (32e7bbf) in #522 by @hadim
  • (pdf) The rest of a split paragraph starts at the top of its page or column (#524) (2740793) in #524 by @hadim
  • (docx) Date controls take a time where their format shows one, and the us gregorian calendar (#518) (81f9a2e) in #518 by @hadim
  • (compare) A picture or link reached through another relationship is no change (#525) (b68722b) in #525 by @hadim
  • (layout) A face picked for its glyphs draws them without measuring the line (#523) (6139096) in #523 by @hadim
  • (docx-layout) A field result after a structural field marker is read in place (#529) (4d6971b) in #529 by @hadim
  • (docx) Link anchors land at their bookmark after w...
Read more

oxoffice v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 01:01

[0.3.0] - 2026-11-23

✨ Highlights

  • Saves no longer fail on stray characters. A character XML cannot carry (a bell, a form feed...) is refused or dropped where you set it, never at the save, in Rust, Python and the CLI; in Python, XmlError is now also a ValueError (#504).
  • Nothing lost on the round trip. &, < and quotes reach every reader (Flat OPC export and ODP read work again with them), attributes are no longer escaped twice, on/off values and line-break w:clear survive edits, and a slide title survives ODP (#503, #488, #482, #496, #505).
  • Fields behave like Word. render_template keeps a tag beside a field, REF reads what Word shows, a quoted operand joins text and nested fields, LibreOffice form fields are read, and bookmark names match in any case (#481, #489, #497, #480, #502).
  • Copy, cut and import keep documents whole. Pasted and imported content keeps its ids unique and its bookmarks whole, headers and footers get the body's identities, and removed content leaves no orphan picture, chart or link behind (#499, #487, #501, #508).
  • Faster slide reordering. Moving or inserting a slide in Python no longer grows with the deck's shapes: about 50x faster on an 80-slide deck (#494, #479).
  • Behaviour changes to know. add_bookmark refuses a name that differs from an existing one only by case; a shared notes part is copied when one slide edits it; opening a file with such a character raises XmlError.

🐛 Bug fixes

Read more

oxoffice v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 06:51

[0.2.0] - 2026-11-22

🚀 Features

🐛 Bug fixes

  • (docx) A new simple field is part of the paragraph text before a save (#49) (ad155f7) in #49 by @hadim
  • (docx) Numbering_is_bullet reads the level an instance swaps in (#56) (de2a16c) in #56 by @hadim
  • (docx) A quoted nested field is one operand of its field (#52) (81fb3bf) in #52 by @hadim
  • (docx) Roman list markers past 3999 show the number (#96) (542ff3d) in #96 by @hadim
  • (docx) List edits accept the one-way style links of libreoffice files (#75) (e173009) in #75 by @hadim
  • (docx) Exports show lists numbered by their style or a swapped-in level (#67) (1c3cbeb) in #67 by @hadim
  • (docx) The paragraph text setter turns a windows line ending into one break (#97) (2c67c8d) in #97 by @hadim
  • (docx) Replace_all applies the pairs of its map together, whatever their order (#90) (79b58b5) in #90 by @hadim
  • (docx) Lettered list markers go on with doubled letters after z (#54) (3cea567) in #54 by @hadim
  • (pdf) Keep the drawings of a field's fragments apart in its appearance (#123) (0cae0ef) in #123 by @hadim
  • (docx) Compare takes the original's bookmark ids and toc names (#55) (9a9c8fa) in #55 by @hadim
  • (docx) [breaking] Draw word legacy checkboxes (#117) (4fdf7b4) in #117 by @hadim
  • (docx) A numbered list can be restarted in a file saved by word (#79) (7b8de95) in #79 by @hadim
  • (docx) A text search sees tabs and breaks, and a match across them no longer panics (#88) (059e115) in #88 by @hadim
  • (docx) Compare empty libreoffice properties and a paragraph after a final table (#109) (e4d3b21) in #109 by @hadim
  • (docx) Heading 1 of a new document has outline level 0 (#129) (74e3ac7) in #129 by @hadim
  • (pptx) Open and write comments dated without a time zone (#70) (55bc2b6) in #70 by @hadim
  • (pptx) Keep tabs, line feeds and carriage returns in names and run text (#73) (34da63f) in [#...
Read more

oxoffice v0.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 23:51

[0.1.0] - 2026-11-20

🚀 Features

  • One-line installers and signed build provenance for every release (5be9aa0) by @hadim
  • [breaking] Merge the rdocx and rpptx command lines into one oxoffice binary (61483ab) by @hadim
  • [breaking] Merge the rdocx and rpptx Python packages into oxoffice (ddacc23) by @hadim
  • Publish to pypi on release and document every install channel (cd34165) by @hadim
  • (cli) Oxoffice limitations and oxoffice.limitations() list what this build cannot do yet (10e942a) in #9 by @hadim
  • Save refuses to overwrite the file a document was opened from (cc5a420) in #10 by @hadim

🐛 Bug fixes

  • (deps) Upgrade zip to 9.8.1 for RUSTSEC-2026-0548 (25b5cc5) by @hadim

🚜 Refactoring

  • [breaking] Drop the rdocx-opc, rdocx-pdf and rpptx-chart shim crates (4e09dd9) by @hadim
  • [breaking] Rename the crates to oxoffice-* (3c345e4) by @hadim
  • [breaking] Say oxoffice in product strings, metadata and docs (483b45e) by @hadim

📚 Documentation

  • Add CLAUDE.md, architecture and development guides, specs and roadmap (5ca22d4) by @hadim
  • Add README, logo and screenshots (4a1e481) by @hadim
  • (specs) Accept the test suite plan (9546213) by @hadim
  • (specs) Record the rename outcome and the kept document identifiers (3ca185f) by @hadim
  • (python) Drop the mention of a release gate that no longer exists (3b2ad86) by @hadim
  • (specs) Skill helpers move into the library, limitations readable from the cli (#2) (08d0b53) in #2 by @hadim
  • (specs) Accept the skill helpers spec before the atomic save work (0ac3912) by @hadim
  • A pull request template readable at a glance (ce76e1b) by @hadim
  • Rebase merges keep every commit of a pull request on main (968aea5) by @hadim
  • Python-docx and python-pptx shape the api without binding it (36c8b0d) in #12 by @hadim
  • Back to squash merges, one signed commit per pull request (#13) (715cf10) in #13 by @hadim

🧪 Tests

  • Corpus pilot and a round-trip test for every corpus file (#1) (b10032a) in #1 by @hadim
  • Run each python test on an 8 mib thread (#14) (2eadd89) in #14 by @hadim
  • Scaling tests on a build without debug assertions, every platform on pull requests (#11) (efcd057) in #11 by @hadim

⚙️ Maintenance

  • Import rdocx 0.17.0 and rpptx 0.15.0 as the starting point (85c3b85) by @hadim
  • Test every pull request and check its title (80c4c47) by @hadim
  • Release workflow with git-cliff changelog and github release (96e8096) by @hadim
  • Pin every action by commit sha and every tool by hash (0262d76) by @hadim
  • (python) Ship real licence files in the wheel, not symlinks (abb3a15) by @hadim
  • Publish the conda package to prefix.dev on release (e46cd8c) by @hadim
  • Give every commit of main its own run (5955649) by @hadim
  • Publish the conda package with rattler-build to hadim/oxoffice (9511396) by @hadim
  • One build per platform with a fast ci profile, release keeps fat lto (4f90138) by @hadim
  • Unoptimised workspace crates in the ci profile, skip builds for docs-only changes (41b115e) by @hadim
  • Check pull request titles only when opened, renamed or marked ready (698be5b) by @hadim

🙏 New contributors

  • @github-actions[bot] made their first contribution
  • @hadim made their first contribution