Repository navigation
Releases
jubarte v0.20.0
jubarte 0.20.0: drawing ids are unique across the whole document, so the redlines Windows Word 2024 refused as corrupt for repeated or shared drawing ids now open, and jubarte validate reports and repairs both shapes; dependencies refreshed. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.11 (Docxodus 71.67), counting as 0 the 3 redlines without a scored PDF, the same three as 0.19.0; PDFs mean 78.02 (LibreOffice 58.07) with no failed document. Every redline and reference was exported to PDF by Mac Word 16.115, as for 0.19.0. These notes first gave 60.60, from a Windows Word 2024 export on a server with no printer, where Word lays pages out at 96 dpi.
Summary. jubarte 0.20.0: drawing ids are unique across the whole document, so the redlines Windows Word 2024 refused as corrupt for repeated or shared drawing ids now open, and jubarte validate reports and repairs both shapes; dependencies refreshed. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.11 (Docxodus 71.67), counting as 0 the 3 redlines without a scored PDF, the same three as 0.19.0; PDFs mean 78.02 (LibreOffice 58.07) with no failed document. Every redline and reference was exported to PDF by Mac Word 16.115, as for 0.19.0. These notes first gave 60.60, from a Windows Word 2024 export on a server with no printer, where Word lays pages out at 96 dpi.
Docs. CHANGELOG.md gains the 0.20.0 section; the library READMEs are cut again for v0.20.0; scripts/mini-release.sh documents itself in its header.
Fixed
- Drawing ids are unique across the whole document (#2539). A redline numbered
wp:docPrids from 1 in each part, so a header, footer, footnote, endnote or comment drawing could repeat a body drawing's id. A header or footer with drawings that two sections reference is loaded once per section, so its own ids repeated too. Windows Word 2024 refused 16 jubarte 0.19.0 redlines with these shapes as corrupt. The compare now gives each extra section its own copy of such a part and numbers drawing ids across every story part (untouched ids are kept underpreserve_untouched). All 16 open with the fix, and the 40 pairs Word already opened still open.
Changed
jubarte validatechecks drawing ids across story parts (#2539).DUPLICATE_DOCPR_IDnow also reports a drawing id held in two parts and a header or footer with drawings that two sections share. It stays a lead, not Word-fatal: Word opened 24 other redlines that repeat ids across parts.jubarte validate --repairrenumbers across parts and copies the shared part.- Dependencies refreshed (#2535, #2536, #2539): zip 9.8, regex, clap and the rest of the four Cargo.locks within their semver ranges, mcp 2.3 for the Python extra.
filetimestays at 0.2.29, because 0.2.30 adds a build scriptdeny.tomldoes not allow. - Release tooling (#2539, #2542):
scripts/mini-release.shcuts a small release and refuses one whose version-bearing files name more than one version; the manylinux build checks the rustup installer's sha256; the wheel smoke test installs the built wheel alone; the PyPI probe gives up after 15 seconds.
Full Changelog: v0.19.0...v0.20.0
jubarte v0.19.0
jubarte 0.19.0: Apache-2.0 from this release, and the engine published as nine crates with jubarte as the facade and CLI. Python moves to jubarte-docx, imported as jubarte; npm gains redlines-only and PDF-only builds. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.02 (Docxodus 71.67), counting as 0 the 3 redlines Word 16.115 crashes opening; PDFs mean 78.02 (LibreOffice 58.07) with no failed document.
Summary. jubarte 0.19.0 is licensed under Apache-2.0 and ships as nine crates published together: the jubarte facade and CLI over jubarte-dom, jubarte-opc, jubarte-redlines, jubarte-render, jubarte-doc, jubarte-markdown, jubarte-edit and jubarte-cli. Python moves to jubarte-docx, imported as jubarte. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.02 (Docxodus 71.67), counting as 0 the 3 redlines Word 16.115 crashes opening; PDFs mean 78.02 (LibreOffice 58.07) with no failed document.
Docs. README.md and the per-library READMEs were rewritten for the nine crates, the Apache-2.0 licence and the jubarte-docx name; maintainer documents moved under docs/maintainers; the guides under docs/ were regenerated from the sources.
License
- jubarte is licensed under Apache-2.0 from this release. Versions
0.18.0 and earlier were released under AGPL-3.0-only and stay under it.
Every crate, wheel, npm package and release archive now carries
LICENSE(the Apache License 2.0) andNOTICE, which reproduces the
MIT notices of the projects jubarte's code derives from (Docxodus and
Open-Xml-PowerTools, anymd, markdown2pdf, zipsign). Earlier packages
other than thejubartecrate shipped without those notices. - The bundled fonts keep their own licenses (SIL Open Font License 1.1,
Apache-2.0); release archives now include the Open Font License text. - The theme part written into a redline whose original has none is the
file Microsoft publishes under the MIT License (microsoft/PPCC25-ALM);
NOTICEcarries its copyright notice. The bytes are unchanged.
Repository
- The repository is
jandira-tech/jubarte. The old address redirects. - The git history starts again. Each release up to 0.18.0, yanked ones
included, is one commit under its own tag: that release's source reduced
to what builds it (manifests, Rust sources, embedded assets, licence
files), so the tests of those commits do not run from them. The release
downloads stay where they were. The complete history, and the commits
those releases were built from, are injandira-tech/jubarte-history;
each tag's commit message names its original commit. - The repository keeps two releases' API snapshots (
docs/api) and
evidence sets (release_info), not all of them; older ones are in the
archive.tests/repo_hygiene.rsnow fails when the tracked files, or one
top-level folder, outgrow a size budget. - The Jules review workflow, its rules file and its prompt files are
removed. - The built npm packages are no longer in git. CI builds all eight
WebAssembly targets for its tests, and the release workflow builds them
from the release tag, soENGINE_COMMIT.txtin the package names the
tagged commit itself. - The bench test documents (third-party files, some AGPL-3.0) moved to
thejandira-tech/jubarte-test-corpusrepository, a git submodule at
tests/corpus/bench. Clone with--recurse-submodulesto run the
tests. - 127 test documents whose origin is not confirmed left git for a public
Hugging Face dataset.python3 scripts/fetch_fixtures.pydownloads them
(pinned revision, SHA-256 checked); the tests that read them fail
without it, andtests/corpus_present.rssays why.
Crate split
The engine is now a Cargo workspace of nine crates, published together at
one version and pinned to each other exactly. The jubarte crate is the
facade: it re-exports every module at the path it had in 0.18
(jubarte::document_comparer, jubarte::convert, jubarte::edit, …) and
ships the jubarte CLI binary.
| Crate (library) | Holds |
|---|---|
jubarte (jubarte) |
the facade over the crates below, and the jubarte CLI binary |
jubarte-dom (jubarte_dom) |
the arena XML DOM (xmllinq), WordprocessingML namespaces, ids, shared utilities and input limits |
jubarte-opc (jubarte_opc) |
the OPC package floor: admission and its budgets, packages, markup simplification, strict-to-transitional translation, settings, and the shared Word tables (theme, built-in styles, borders, numbering, table DOM, validity predicates, render option types) |
jubarte-redlines (jubarte_redlines) |
the compare product: two Word documents in, a tracked-changes redline out (document_comparer, comparer, revision_processor, comparison_log) |
jubarte-render (jubarte_render) |
the render product: DOCX to PDF and PNG with Word-faithful layout (convert), with the embedded fonts |
jubarte-doc (jubarte_doc) |
the document operations above compare: changes, comments, validate, audit, scrub, append, fields, inspect and debug |
jubarte-markdown (jubarte_markdown) |
Markdown in and out of Word documents (CriticMarkup as tracked changes, the agent view) and .doc reading |
jubarte-edit (jubarte_edit) |
edit plans as tracked changes, text diff views, capabilities and staged publication |
jubarte-cli (jubarte_cli) |
the command line: every library operation behind one clap surface, plus self-update |
Migrating from 0.18
- Rust users replace
jubarte-redlines = "0.18"withjubarte = "0.19"
for the full suite and keep theiruse jubarte::…paths. jubarte-redlines0.19 is the compare-only crate, with library name
jubarte_redlines. Depend on it alone only when compare is all you need.- The CLI installs with
cargo install jubarte; the binary is still
jubarte. - npm packages keep their names.
Python: jubarte-docx, imported as jubarte
- The Python engine is now the
jubarte-docxdistribution. Its import
package and its command are bothjubarte, in the waypython-dotenv
shipsdotenv:pip install jubarte-docx, thenimport jubarteor
uvx --from jubarte-docx jubarte redline a.docx b.docx -o redline.docx.
jubarte-mcpmoved with it (uvx --from 'jubarte-docx[mcp]' jubarte-mcp). jubarte-redlineson PyPI is now a small compatibility shim. It installs
jubarte-docxat the same version and keepsimport jubarte_redlines
(the very same objects asimport jubarte),python -m jubarte_redlinesand thejubarte-redlinescommand working. No file
belongs to both distributions, so upgrading from 0.18 with pip or uv
loses nothing.- PyPI's own
jubarteis an unrelated project that also ships ajubarte/
package and ajubartecommand.pip install jubartedoes not install
this engine, and the two cannot share one environment.
Fixed
- The agent view keeps a no-break space. U+00A0 was written as an ordinary space, and a line of only no-break spaces came back empty. The plain view still collapses it. A leading ASCII space is still
 . At a bold or italic edge the no-break space stays outside**and_, which must touch text to read. - A row the table line names keeps its clause when the cell text names the same id (#586). The row's insertion carries the cells, the clause comes back on the table line, and the view stays a fixed point. Giving the cells insertions of their own (#2343) is not in this release: the view numbered them anew, which broke the round trip.
Security
- MCP errors no longer name the server root, an output path, or an OS error (#2355). A path outside the root, an output that already exists, and a publish failure say what was refused. A missing file still names the path that was asked for.
- An edit plan over 1 MiB is refused before the engine sees it, and accept or reject is the only resolve action (#2395).
Documentation
- Field comments are recorded as issued, and the views do not emit them yet (#2407, #2235, #2236).
- Issue #1914 round 3 records that no renderer rule is established (#2385). No renderer change lands from that evidence.
Slim build
The npm package's *-slim builds now exclude the PDF renderer and the
embedded Carlito/Liberation fonts (plan T5.1): the slim wasm is
13,332,638 bytes against the full build's 23,107,948. The exports the
slim build leaves out, by design (a visible change for slim consumers;
use the full build when you need them):
docxToPdf,pdfPageCount,renderPdf(classRenderOutput)updateFields(classFieldsOutput)convertMarkdown(page markers need the layout pass)auditDocument(its layout-based rule set needs the renderer)
The slim tree still names the image crate: markdown and edit picture
embedding - slim features - read picture headers with it (format and
dimensions for the admission limit). jubarte-render, rustybuzz,
ttf-parser, tiny-skia and the fonts are absent.
Redlines-only and PDF-only npm builds
jubarte-wasm gains two narrower builds, each for Node and the browser
(plan T5.2). Every existing import path keeps working.
jubarte-wasm/redlines(node-redlines,web-redlines): compare,
accept or reject every revision, and list revisions. Its wasm is
3,792,306 bytes against the full build's 23,110,762.jubarte-wasm/pdfand its aliasjubarte-wasm/convert(node-pdf,
web-pdf):docxToPdf,pdfPageCountandrenderPdf, with no
compare or edit layer; 11,207,079 bytes.- The npm package unpacks to 103,696,964 bytes (0.18.0: 93,280,656).
- The
jubarte-redlinesnpm CLI also installs ajubartecommand, the
native binary's name, on the same entry point.
Python build features
jubarte-python builds against the sub-crates instead of the jubarte
facade (plan T5.3). Its Cargo features are redlines, doc, markdown,
edit, cli (each building on the one be...
jubarte v0.18.0
jubarte 0.18.0: security hardening of package open and of crafted input, Linux binaries for glibc 2.28 and later plus static musl archives, apply_markdown_strict, and over a hundred Word-parity fixes across compare, accept/reject, edit plans and the Markdown view. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.69 (Docxodus 71.67), counting as 0 the 3 redlines Word 16.115 crashes opening; PDFs mean 78.02 (LibreOffice 58.07) with no failed document.
Summary. Security: unsafe OPC part names, foreign-namespace content-type and relationship roots, and ZIP names falsely flagged UTF-8 are refused on open (#2078, #2080, #2081);
self-updatebounds the archive it unpacks (#2084, #2085); a redaction the leak scan cannot certify is refused (#2086); legacy.docinput, field nesting, comment anchors, the font index, the font caches and dashed borders are bounded (#2091, #2087, #2202-#2205, #2215); network and device image paths are refused before they are resolved (#2206); the MCP server refuses a path outside its root that links into it (#2228). Changed: Linux binaries run on glibc 2.28 and later, with static musl archives beside them (#2112); the dependency gate refuses duplicated crates and lists the crates whose build scripts may run (#2088, #2216). New:apply_markdown_strict(#2208),scrub::leak_scanwith its receipt (#2086) andChangeError::ExposedFinalMark(#2096). Over a hundred compare, accept/reject, edit-plan, Markdown-view, validate and table-autofit fixes. On the 600-pair and 860-document sets, scored against Word's own output: redlines mean 74.69 (Docxodus 71.67), counting as 0 the 3 redlines Word 16.115 crashes opening; PDFs mean 78.02 (LibreOffice 58.07) with no failed document. The full Miri suite (cargo miri nextest run) did not run for this release; fuzzing, parity, the Ring-2 validator ratchet, the criterion and parity-ladder gates against 0.17.0, and the bench ran instead.Docs. CHANGELOG.md gains the 0.18.0 section. SECURITY.md records RUSTSEC-2025-0168 (self_update, mitigated by verify_archive) and the withdrawn RUSTSEC-2022-0048. docs/MARKDOWN.md and docs/DIALECT.md follow the view changes (header and footer marks, heading emphasis, inline page breaks, symbols, held comment events). docs/CAPABILITIES.md counts thirteen typed CLI actions, strike and restore included. docs/WORD_DIFFERENCES.md records the Reject All difference for paired move ranges holding untracked paragraphs (#1245); docs/WORD_LAYOUT_RULES.md gains five autofit width rules. docs/adoption/install-matrix.md and plans.md follow the glibc 2.28 floor and the musl archives. README.md links docs/bomb_prevention.md, and the library READMEs are regenerated from it. AGENTS.md and docs/VERSIONING.md move all scratch work into the gitignored .scratch/ (#2256).
Added
apply_markdown_strict(#2208, #865). It refuses a Markdown patch that the engine cannot apply exactly, and returns no document.apply_markdownkeeps its best-effort retry, which replaces the paragraph whole.
Security
The crafted-input hardening pass continues from 0.17.0. Each item below is refused before the work it would have amplified.
-
Unsafe OPC part names are refused on open (#2078, #646). A package that names
word/%2e%2e/evil.bin,word/doc%75ment2.xml,word/evil.xml., a percent-encoded[Content_Types].xml, or a part that is an ancestor of another part is refused. The check reads the central-directory names before any payload is inflated. Relationship targets that use../still resolve, as ordinary Word packages need. -
A foreign namespace or a second root in
[Content_Types].xmlor a.relspart is refused (#2080, #643). These parts were matched by local name, so a root inxmlns="urn:not-opc", or a second root, still had its records used.admitandPartFs::openrefuse it before the records are read. -
A ZIP name flagged UTF-8 that is not UTF-8 is refused (#2081, #640).
word/media/\xff.binused to open asword/media/�.bin, and two such names collapsed into one duplicate. A valid UTF-8 name and a flag-clear CP437 name are unchanged. -
In-scope namespace bindings are capped at 64 KiB (#2077, #658), shadowed rebinds included. The same declarations, parsed one closed element at a time, still succeed.
-
jubarte self-updatebounds the archive it unpacks (#2084, #656; #2085, #1305). A download over 128 MiB, a zip that lists the binary twice, or a member that inflates past 128 MiB is refused. In a.tar.gz, so is a symlink or hardlink at the binary's path, a setuid, setgid or sticky mode, and an entry that climbs out of the extract directory. Every refusal comes before extraction, so the installed binary stays. -
A redaction the leak scan cannot certify is refused (#2086, #616).
scrub::leak_scanreturns a receipt,CompleteorIncomplete(a part that starts with a UTF-32 or UTF-16BE byte-order mark). Redact completion refusesIncompletewithREDACTION_INCOMPLETE, naming the part and the encoding but not the redacted text. -
Legacy
.docinput is bounded (#2091, #852; #2087, #1603; #2076, #1503; #2043). A.docover 64 MiB is refused before its allocation tables are walked. A main story over 2,000,000 logical characters is refused before it is expanded. Chicago list labels stop at 256 marks. Field-code nesting, list-mark escaping and the empty-paragraph placeholder search each take one pass over the text, where crafted text made them quadratic. -
pulldown-cmarkis locked at 0.13.6 (#2063, #2055) in all four lockfiles, past the release RUSTSEC-2026-0433 names. -
An image path that names a network share or a device is refused before it is resolved (#2206, #2064):
\\server\share,//server/share,\\?\…,//./…, mixed separators and percent-encoded spellings.canonicalizenever contacts a share. Files inside the resource root are still read. -
The MCP server refuses a path outside its root that links into it (#2228). An absolute path outside root that resolved inside it, through a symlink or
.., used to pass the check and then fail with an uncaught error. It now getsToolError: … is outside root …. -
The
--regexcompile size limit is pinned at 10 MiB (#2225), the regex crate's own default, so a dependency upgrade cannot loosen it. Patterns are not capped by length: the regex crate matches in linear time, and a 13-byte pattern such asa{1000}{1000}is what the size limit refuses. -
Crafted input is bounded in five more places.
- An instruction inside unseparated fields is copied onto at most 32 open fields (#2202, #2068).
- A comment listing keeps at most 256 KiB of anchor text (#2203, #2067). Past that it returns
INPUT_LIMIT. - The font index keeps at most 256 families and appends a miss instead of rewriting the file (#2204, #2066). A torn or foreign line makes the next miss rewrite the index (#2248).
- A dotted or dashed border stops when its offset no longer advances, or after 4096 segments (#2205, #2065).
- The font caches keep 4 MiB of shaped glyphs per face and 64 MiB of face bytes for the process (#2215, #685). The largest key is evicted first, so what stays does not depend on hash order.
Changed
-
Linux release binaries run on glibc 2.28 and later (#2112, #2030). The
linux-x86_64andlinux-aarch64CLI archives are built in the manylinux_2_28 images, andscripts/check_glibc_floor.pyfails the release job when a binary needs a newer symbol. 0.17.0's needed glibc 2.43, so it failed on Ubuntu 24.04, Debian 12 and RHEL 9. Staticlinux-musl-x86_64andlinux-musl-aarch64archives are published beside them; they are not timed against the bench yet, so the glibc archives stay the recommended install.jubarte self-updatefetches the archive of the build it runs: a glibc binary the glibc archive, a musl binary the musl one. -
The dependency gate refuses a duplicated crate (#2088, #654).
scripts/security-check.shrunscargo deny check banson its five manifests withmultiple-versions = "deny". Each ignored advisory is now recorded beside the locked crate that reaches it (#2089, #605). -
deny.tomllists the crates whose build scripts may run (#2216, #2220, #784), across the five graphsscripts/security-check.shchecks. The list is an inventory, not a sandbox. -
jubarte validateno longer reportsMISSING_REL_TARGETfor a target that is not a package part (#2217, #2219, #855): afile:URI, a Windows path or a UNC share. A doubled slash in front of a package root (//word/…, in any case) still names a part. An owner part named.XMLin any case is now checked too.
Fixed
Compare and redline
- A table stays matched when the paragraph before it is deleted (#2105, #1675). The comparer used to delete the table and insert a copy.
- An emptied table row is kept, and only its text is deleted (#2106, #1672), as Word's Compare does.
- An empty paragraph a table cell gains or loses is kept (#2100, #1686), so Accept All and Reject All no longer come out one block short.
- A body that ends in a table pairs its inserted mark and its closing paragraph the way Word does (#2101, #1683). The empty close after a table that replaces the last paragraph is kept (#2102, #1678).
- A paragraph mark whose formatting changes is recorded as
w:rPrChange(#2103, #1677), so Reject All restores the source mark's bold. - An empty bookmark survives its paragraph's deletion (#2104, #1676). It moves onto the following paragraph, or stays in an emptied cell.
- A section break the revision adds is an inserted paragraph mark (#2126, #1718), so Reject All drops it and returns one section.
- A two-word swap keeps the middle word, and a word inserted before a hyperlink takes the leading space (#2114, #2002), as Word Compare does.
w:customXmlis unwrapped before compare (#2074, #1674), as Word drops it on open. Its content...
jubarte v0.17.0
jubarte 0.17.0. Security: XML element budget (#2014), DTD refused in every part (#2015), read limits before the layout pass (#2013), compare story-unit budget (#2024) and UNSUPPORTED_CONTENT instead of atomizer panics (#2023), optional JUBARTE_TIMEOUT (#2016), CI network tripwire (#2018); all 33 bombs of docs/bomb_prevention.md are refused or bounded. Breaking: InputLimits/InputBudget gain fields; one-shot edit/add require an author (#1997); accept/reject -o INPUT refuses, use --in-place (#1998, #1888); --keep-others guards other authors markup (#1892, #1890). New: read --find (#1889), validate --baseline verdicts (#1893). Redlines 74.36 vs Docxodus 64.92 and PDFs 79.24 vs LibreOffice 54.61 on 600-item samples scored against Word. The Miri full suite was not run.
Summary. Security: every package open has an XML element budget (
max_xml_elements, #2014); a DOCTYPE is refused in every XML part, as Word refuses every DTD (#2015);readapplies its own limits before the layout pass (#2013);comparebounds the atoms it builds with a story-unit budget (max_story_units, #2024) and refuses subDoc, altChunk, contentPart, customXml and doubled body sectPr withUNSUPPORTED_CONTENTinstead of panicking (#2023);JUBARTE_TIMEOUT=SECONDSoptionally bounds any command in the binary, Python and npm CLIs (#2016); CI fails when a network crate enters the default build (#2018). Every bomb of docs/bomb_prevention.md (33 fixtures) is refused or bounded by read, validate and compare. Breaking:InputLimitsandInputBudgetgain fields; a one-shoteditoraddthat adds markup requires an author (#1997);accept/reject -o INPUTrefuses, use the new--in-place(#1998, #1888); editing the comments of another author is allowed unless the new--keep-othersguard is set (#1892, #1890). New:read --find(#1889), per-change verdicts invalidate --baseline(#1893), non-finite measures as a Ring-1 finding (#1737). Many accept/reject, content-control and PDF fixes (#1717, #1703, #2004, #2006, #1722-#1725, #1729, #1979, #1913). On the release two 600-item samples, scored against Word own output: redlines mean 74.36 (Docxodus 64.92), counting as 0 the 7 redlines Word 16.115 crashes opening (Word own redline crashes Word on all 7 of those pairs); PDFs mean 79.24 (LibreOffice 54.61) with no failed document. The Miri full suite was not run for this release.Docs. CHANGELOG.md gained the 0.17.0 section. docs/bomb_prevention.md is new: the 33-fixture bomb set, the limits and the measured results. README.md, docs/MARKDOWN.md, docs/locations.md and docs/VERSIONING.md follow the new flags (--in-place, --keep-others, read --find) and refusals. docs/python.md, docs/javascript.md, jubarte-python/README.md and jubarte-wasm/npm/README.md document max_xml_elements and max_story_units. The generated docs/rust.md, docs/python.md, docs/javascript.md, docs/flags_datetime.md and docs/symbols follow the CLI help.
Added
-
Regression coverage for a caption followed by a 60×30pt inline picture in a narrow fixed or autofit table cell, with a narrow body paragraph as control (#1734). The run-order fix in #1980 already keeps the caption above the wrapped picture; both Word and conventional revision styles are covered.
-
A non-finite table measure is a Ring-1 finding (#1737).
w:wongridCol,tcWandtblWthatf32accepts and that is not finite (NaN,inf,infinity, or an overflow such as1e40) isNON_FINITE_MEASURE.word_fatalis true forgridColand false fortcWandtblW. Word 16.115 (2026-10-31) refusedgridcol-NaN,gridcol-infandgridcol-1e40(unreadable content) and openedtcw-*,tblw-*andvalid-controlcleanly.repairablestays false. A token that does not parse (abc,12pt) is not this finding. -
read FILE --find TEXTfinds paragraphs in the Markdown view (#1889). Matches keep the same Markdown and id lines asread -p, using the original final logical text searched by--for-edit.--regex PATTERNrequires its pattern and conflicts with--find; both support--ignore-case. Existing--for-edit --findcombinations with--jsonor--tablesremain accepted; no match exits successfully with empty stdout and a stderr notice. Matches outside the selection name up to three paragraph ids and the remaining count. With--track-changes reject, a note explains that search uses accepted text while the view shows the original. Likeread -p, view search selects body paragraphs only; use--for-editto search header/footer/note paragraphs.edit FILE --anchor TEXTandadd FILE --anchor TEXTwithout-pnow direct the caller to-p WHEREandread --find, keeping usage exit code 2. -
--in-placereplaces the input through the same atomic write as-o(#1888).edit,add,acceptandrejecttake--in-place. It conflicts with-oand, oneditandadd, with--out-dir(exit 2). The input is replaced only after the edit or the resolution succeeds; a refused edit (exit 3) or a failed check leaves it byte-identical. The line iswrote contract.docx in place (replaced sha256 <first 8 hex>…), and aneditoraddthat adds markup keeps; N change(s) by "X"and the no-awarning. With no-o, the default<stem>_modified.docxwrite adds; contract.docx is unchanged (--in-place updates it). That note is absent when-oor--out-dirnames the output, and when the input's stem already ends in_modified(that default already updates the file). Typededit replace,rewrite,insert,deleteandapplytake--in-placetoo (not with-o,--out-dir,--dry-runor--save-plan). Their receipt isedit replace: changed; wrote FILE in place (replaced sha256 <first 8 hex>…); 1 change by "GiantCo", and a refused edit leaves FILE byte-identical.python -m jubarte_redlineswrites that samewroteline foredit,add,acceptandreject, including the markup detail and the no-awarning. -
--keep-othersrefuses to erase another author's markup (#1892, #1890). One opt-in covers tracked changes and comments.--keep-othersonedit,add,edit replace,edit rewrite,edit insert,edit delete,edit applyandedit template, the environment variableJUBARTE_KEEP_OTHERS=1(read only by the CLI, and only the exact value1), or the plan field"others": "keep"(v1 and v2) turns it on. Another author is anyone other than the plan's author, which isJubartewhen--authoris left out; a missing or empty author is not yours. With the guard on, accepting or rejecting their change isCHANGE_NOT_YOURS(exit 3), whether the selection is a flag,resolve_revisions, orexisting_revisionsset toacceptorrejecton a file that holds their changes. Deleting, resolving, reopening or rewording their comment, and deleting your own thread that holds their reply, isCOMMENT_NOT_YOURS. Resolving or reopening your own thread still marks the replies in it done or open again, as Word does; that erases nothing, so the guard allows it. The message and the next actions offer only the keeping moves: restore a deletion, strike an insertion, a comment, or a reply. Your own markup still settles. A style's recorded formatting is not one of these changes. Python and the npm CLI pass the same field.EditPlanandPlanV2gainothers(a Rust struct literal names it; Python's field defaults to omitted). -
--keep-otherscovers nested markup, comment bodies and typed edits (#1892, #1890).edit replace,rewrite,insert,delete,applyandedit templatetake the flag, andJUBARTE_KEEP_OTHERS=1sets the same guard there; the environment variable is still read only by the CLI. A generated template carries"others": "keep". Settling your own change is refused when that decision would remove another author's nested revision (CHANGE_NOT_YOURS, naming that revision) or delete their comment or a reply in its thread (COMMENT_NOT_YOURS).existing_revisionsofacceptorrejectcounts revisions inside comment bodies (comments.rNsince #1706). A suggested restore or strike carries--authorand, when the guard was on,--keep-others. With the guard off, a hint for another author's insertion offers strike before accept and reject, where the syntax has strike. A v2 plan whoseexisting_revisionsisrefusenames"existing_revisions": "keep"in either guard state. Resolving or reopening your own thread still marks the whole thread, replies included.
Security
The bomb-hardening pass (#2019, #2025): every crafted-input finding below was reproduced with a bomb before its fix and refused after it.
- An XML element budget bounds every package open (#2014).
InputLimitsgainsmax_xml_elements: 2,000,000 by default (the largest of 2,434 real documents holds 365,343) and 4,000,000 underInputLimits::compare().admit, the package open behind every command (opc::read_package) andjubarte debugcount the elements of every part as it inflates, before any part is parsed, by the tolerant parser's rule: every<that opens no end tag, comment, CDATA section, processing instruction or declaration is an element,<0>and< x>included. Media is ruled out from its first bytes and never copied; an SVG, being markup, counts. A valid flood that fits every byte limit is refused withINPUT_LIMIT. The cap is an override (max_xml_elementsin the limits JSON, Pythoninput_limitsand WASMinputLimitsJson) andcapabilitiesprints it. readapplies its own budget before the layout pass (#2013). The page-marker layout used to open the package under the comparer's larger budget first, so a partreadrefuses still cost several GB before the refusal (4.4 GB on a 70 MiB flood);readnow refuses it first.- A DTD is refused in every XML part (#2015). Word refuses a DOCTYPE in the main part, in
styles.xmland in acustomXmlitem, a bare<!DOCTYPE w:document>included (wor...
jubarte v0.16.0
jubarte 0.16.0. Breaking: changes --json and comments --json emit records only on stdout, and input_validity moves to stderr (#1925). validate resolves relationship attributes by namespace (#1937), checks every relationships part (#1938) and nameless move ranges (#1939). PDF tables whose rows reach past the grid take Word's column widths (#1914). Keep-path rewrites mark one change per phrase (#1923). Start-of-paragraph delete-plus-insert edits no longer panic (#1922). Inserted-only words stay ahead of one deleted table (#1926). --version names the build commit (#1924). Redlines 74.36 vs Docxodus 64.92 and PDFs 79.19 vs LibreOffice 54.61 on 600-item samples scored against Word. The Miri full suite was not run.
Summary. Breaking:
changes --jsonandcomments --jsonemit records only on stdout; theirinput_validitystatus moved to one JSON line on stderr, which-qsuppresses (#1925). New:--versionand the--helpheader carry the build's short Git commit (#1924).validateresolves relationship attributes by namespace (#1937), checks every relationships part for missing targets (MISSING_REL_TARGET, #1938) and reports a nameless move range (MOVE_RANGE_NAME_MISSING, #1939). A PDF table whose rows reach past its grid takes Word's column widths (#1914). A keep-pathrewritemarks one change per phrase (#1923). An edit can delete a paragraph's first words and insert at its start, with no panic (#1922). Inserted-only words stay ahead of one deleted table, as Word writes them (#1926). On the release's two 600-item samples, scored against Word's own output: redlines mean 74.36 (Docxodus 64.92), counting as 0 the 7 redlines Word 16.115 crashes opening; PDFs mean 79.19 (LibreOffice 54.61) with no failed document. LibreOffice aborts on 2 of the PDF sample's documents, which score 0 in its mean, and Word's own redline crashes Word on all 7 of those redline pairs. The Miri full suite was not run for this release.Docs. CHANGELOG.md gained the 0.16.0 section. docs/MARKDOWN.md and jubarte-wasm/npm/README.fragment.md (and the generated jubarte-wasm/npm/README.md) say that changes/comments --json put input_validity on stderr. docs/WORD_DIFFERENCES.md records the single-table order (difference 14/16) and the past-grid table widths (difference 17). The generated docs/rust.md, docs/python.md and docs/flags_datetime.md follow the CLI help (build version and the new validate codes).
Changed
changes --jsonandcomments --jsonnow emit records only on stdout: theinput_validitystatus moved from stdout to one JSON line on stderr, suppressed by-q(#1925). The Python CLI and npm CLI'schanges --jsonfollow the same rule.
Fixed
-
validatechecks every relationships part, including_rels/.rels, for missing internal targets (MISSING_REL_TARGET, #1938). An unused relationship produces a non-fatal warning, which--repairdoes not fix: Word has not been probed for this case. A relationship used by markup retains its Word-fatal error and is reported once even when used repeatedly. -
A PDF table whose rows reach past its grid takes Word's column widths (#1914). Word lays out again the columns of a table whose cells run past its saved grid. An autofit table with a declared width now shares it by its cells' content, a cell's own width first, in twips or as a percentage. Without a declared width, each cell keeps its width in twips, and a column without one takes its line. Cells keep their own widths over a grid Word did not save, too. When the declared width is too narrow for the cells' widths and their longest words, columns without a width get their longest word and the cells with one share the rest; when it is narrower than every longest word, each column gets its longest word and the table outgrows its declared width, as Word's does. A column only
gridBeforeorgridAfterholds takes no width. A fixed table starts each column past the grid at 18pt, then fits them all to its declared width. Before, each extra column took 80pt, or an even share of a one-column grid. On Word 16.115 probes, the autofit columns and the fixed ones a table widens fall within 0.3pt of Word's; a fixed table narrower than its columns comes within 5pt. Word's own redline of one bench pair, a 14-column grid under 18-cell rows, now converts to 14 pages instead of 16 (Word prints 13), and its score goes from 49.25 to 52.24. Of jubarte's 72 redlines of the bench pairs with two or more tables, one renders differently, at the same score and page count. Word still differs where a fixed table is narrower than its columns and where an autofit table keeps a grid Word did not save (docs/WORD_DIFFERENCES.md, difference 17). -
validatechecks every attribute in the officeDocument relationships namespace, regardless of prefix, quoting, or local name, and no longer mistakes raw XML text for relationship attributes (#1937). Danglingr:id,r:embedandr:linkreferences keep their Word-fatal finding; the other relationship names are repairable warnings until Word is probed. Existing repair drops the dangling attributes. -
A
rewriteunderexisting_revisions: keepmarks one change per phrase (#1923). It writes the same marks as a rewrite that refused the existing revisions. A hunk of deleted words and inserted words was written as one substitution per deleted word, paired by position. The word diff now joins a whitespace-separated hunk into one deletion followed by one insertion, and a keep-path rewrite of a paragraph that holds no tracked change of its own emits the comparer's hunks. An anchoredreplaceis unchanged. A tracked change already in the paragraph stays on the word diff, so it is not marked again. -
CLI
--versionand the--helpheader identify the build with the short Git commit as SemVer build metadata, plus.dirtyfor a changed tree. Builds without Git or a checkout keep the Cargo version alone; Python and npm package versions stay unchanged (#1924). -
An edit can delete or replace a paragraph's first words and insert at its start (#1922). Expected-text checks now compose touching ranges in the same order as the writers and refuse invalid ranges instead of panicking. A
deletethat starts at the paragraph's first character and an insertion atposition: "start"(or one that ends at its last character and an insertion atposition: "end") are written as one whole substitution, so deleting every run keeps the inserted text in Accept All; areplacebeside an edge insert keeps writing only the words it changed. Two differently formatted insertions merged into one such delete are refused asOVERLAPPING_EDITS. -
jubarte validatereports a move range start with now:name(#1939).w:moveFromRangeStartandw:moveToRangeStartrequirew:name. A missing or empty name never entered the per-name counts, so a nameless source range with no destination passed with no finding. It is nowMOVE_RANGE_NAME_MISSING, a warning. Word's reaction to a nameless range is unverified, so the finding is not Word-fatal. A named range whose source and destination counts differ is stillMOVE_RANGE_COUNT_MISMATCH. -
Inserted words that are a paragraph's only content stay ahead of a single whole-deleted table when the paragraph after it keeps no words, as Word writes them (
employee_directory_table→employee_review_john_smith_suggesting_insertions,meeting_agenda_table→meeting_minutes_id_paraid_overflow). The keep-in-place rule of #1826 now applies only to a paragraph between two deleted tables. Words before two deleted tables, words beside the original's deleted text, and words whose following paragraph already keeps text, still move past the tables (#1926).
Full Changelog: v0.15.0...v0.16.0
jubarte v0.15.0
jubarte 0.15.0: Word-mode table pairing, splitting and row meshing as Word Compare does (#1817); validate --original checks comments (#1846); strike/restore take paragraph marks and multi-mark changes (#1848, #1849); comments and edits leave untouched formatting and lists alone (#1850, #1861, #1868); Word opens redlines whose deleted section breaks carried a page-numbered footer (#1833). Breaking: jubarte::debug::Check gains Tables. Builds against oxml-opc 0.14.4 (0.13.0 and 0.14.0 fail to compile on a fresh resolve). Word-mode op order differs from Word on two single-table parity-ladder regions (#1926). The Miri full suite was not run.
Summary. Breaking:
jubarte::debug::CheckgainsTables(#1817). New:validate --original --authorchecks comments (FOREIGN_COMMENT, #1846);strikeandrestoretake paragraph marks and multi-mark changes (#1848, #1849);validatereportsDELETED_SECTION_PAGE_FIELDandINSERTED_TEXT_BEFORE_DELETED_TABLE. Word mode pairs, splits and meshes the tables of a replaced region as Word Compare does (#1817);editrefuses to delete, resolve or reopen another author's comment; comments and edits no longer renumber lists or restyle what they did not touch (#1850, #1861, #1868); Word opens the redlines whose deleted section breaks carried a page-numbered footer (#1833). jubarte builds against oxml-opc 0.14.4, which 0.13.0 and 0.14.0 cannot. On the release's two 600-item samples, scored against Word's own output: redlines mean 74.19 (Docxodus 64.92), counting as 0 the 7 redlines Word 16.115 crashes opening; PDFs mean 79.19 (LibreOffice 54.61) with no failed document. LibreOffice aborts on 2 of the PDF sample's documents, which score 0 in its mean, and Word's own redline crashes Word on all 7 of those redline pairs. The keep-in-place rule of #1826 also reorders two single-table regions of the parity ladder away from Word's order, though both still accept and reject exactly (#1926). The Miri full suite was not run for this release.Docs. README.md (and the generated README.crates.md, jubarte-python/README.md, jubarte-wasm/npm/README.md, jubarte-wasm/cli/README.md) says validate --original also checks comments (FOREIGN_COMMENT). CHANGELOG.md gained the 0.15.0 section; docs/WORD_DIFFERENCES.md records the table pairing, split, mesh, footer-move and paragraph-between-tables differences; docs/MARKDOWN.md, docs/python.md, docs/rust.md and docs/flags_datetime.md cover the new strike/restore and validate behaviour; KNOWN_ISSUES.md, skills/jubarte-documents/SKILL.md and examples/adoption/12-comments were updated.
Breaking
jubarte::debug::CheckgainsTables(#1817). A RustmatchonCheckwithout a wildcard arm needs one for it.
Added
validate --original --author NAMEchecks comments too (#1846). It read only revisions, so a counterparty comment you deleted or resolved, or oneaddsigned "Jubarte" because--authorwas left out, passed with "no findings". Each is now aFOREIGN_COMMENTerror in theeditsset: another author's comment (or reply) that is gone, reworded, resolved or reopened, and a new comment or reply not signed NAME. Every message says what to do instead (c0 by "Counterparty Counsel" was resolved: reply to their comment instead of resolving it). Comments pair by id, then by author, date and text, so a file whose comment ids another tool renumbered still pairs. NAME's own comments change freely, and resolving NAME's own thread does not count against the replies in it. The Python (Document.audit_tracked) and WASM (auditTracked) audits report the same findings.strikeandrestoretake a paragraph mark (#1848). When another author split a paragraph, striking their inserted mark puts your tracked deletion beside their insertion in the mark, as Word writes it, and Accept All joins the paragraphs. When they joined two paragraphs, restoring their deleted mark puts an empty paragraph of yours right after theirs, with its properties and mark formatting, and Accept All splits them again. Reject All gives the original either way. A comment (--content) sits on the last word before the break. Both used to be refused, with advice that answered the change without a trace (reject rNN) or struck the paragraph's own words too (delete paragraph pN).strikeandrestoretake a change of several marks (#1849).jubarte changeslists one author's touching marks under one id (r10+11, a replacement'sr11+12), but a plan'sstrike/restorerefused that id (strike takes one revision) and-p r11+12 --strike --contentrefused the comment (--content comments one revision). A strike now strikes every insertion mark of the change and a restore restores every deletion mark, each mark checked as it would be alone, under one comment from the first answered word to the last. A replacement's other half stays as it is, and the edit says so (note: op-1: struck r12; r11 is its deletion: restore it too to reject the whole change). A change with no mark of the kind is refused (r12+13 holds no insertion: restore it instead), and so is one holding your own mark, naming it.-p r11+12 --reject --visible --content TEXTgives a replacement its restore and its strike, the comment on the first in reading order. A strike or restore's note (already struckincluded) now prints as anote:line.jubarte debug FILE -c tableslists every table's grid, rows and cells (#1817). Each cell shows its width, span and vertical merge, its revision marks and the old properties itstcPrChangerecords, then its text; nested tables are indented under their cell, and each table shows its old grid andtblPrChange.debugis the maintainer tool hidden fromjubarte --help.jubarte validatereportsDELETED_SECTION_PAGE_FIELD(#1833). This is a warning on a header or footer that a deleted section break references, whose closing paragraph holds a PAGE or NUMPAGES field. Word 16.115 crashed opening 9 of the 11 release-sample redlines with that shape, whatever the story's marks said. It is a warning rather than an error, because Word opened the other 2.jubarte validatereportsINSERTED_TEXT_BEFORE_DELETED_TABLE(#1851). This is a Ring-1 warning lead on a body paragraph whose mark is deleted and whose ownw:insruns hold every word Accept All keeps of it, followed right away by a whole-deleted table, then the paragraph those words join. Word 16.115 crashed opening 6 of jubarte's 16 release-sample redlines with that shape. The compare pass below shares the rule, so the two cannot disagree.
Changed
strikeandrestorerefusals offer a comment, never a silent reject (#1848). A move, a formatting change, a field, a section-break mark and the other shapes they cannot answer visibly now end incomment on it instead. They used to advisereject … instead, which the reviewer must not do to another author's change. A deletion with no text saysnothing to restore. Your own revision still saysreject it instead.editrefuses to delete, resolve or reopen another author's comment (#1846). Rewording one was already refused (COMMENT_NOT_YOURS), but-p c5 --delete/--resolve(delete_comment,resolve_comment) went through on anyone's comment. Deleting your own comment also deleted another author's replies in its thread without a word. All of these are now refused withCOMMENT_NOT_YOURS. The refusal says what to do instead (reply to their comment, or resolve your own thread), and--rewrite-others-comments("rewrite_others_comments": true) still lets the operation through, with one report note per comment it changed. A plan that resolved or deleted another author's comment on purpose now needs that opt-in.capabilitiesnames it on thedelete_commentandresolve_commentrows.- Word mode pairs the tables of a replaced region in order, as Word does (#1817). Where the revision replaces a stretch of the original and both stretches hold tables, Word's Compare pairs the original's first table with the revision's first, the second with the second, and so on, and diffs each pair row by row whatever their text; around each pair it writes the revision's paragraphs before the original's. The default mode wrote the revision's tables inserted whole and the original's deleted whole, and Word 16.115 crashed opening one such bench redline; it opens now. On the 72 bench pairs whose documents both hold two or more tables, jubarte's row marks per table now match Word's in 61, against 34 before. One redline Word opened before now crashes Word 16.115 the way Word's own redline of that pair does.
- Word mode splits a paired table where Word does (#1817). Word keeps a table's properties on each row: kept and inserted rows carry the revision's, deleted rows the original's, and Word starts a new table wherever adjacent rows differ in table style (matched by name) or layout type. Where the two sides of a paired table differ that way, each run of the original's deleted rows is now a table of its own with the original's properties and grid, as in Word's redlines. Before, those rows sat in the revision's grid: in one bench pair, one-cell rows in a four-column grid ran 70 pages against Word's 40. On the 72 bench pairs, every table's row marks now match Word's in 36, against 15 before. A style without a name counts only on the original's side: Word drops the revision's unnamed styles from its redline. One more redline Word opened before now crashes Word 16.115 the way Word's own redline of that pair does.
- Word mode meshes a row whose cells were repartitioned, as Word does (#1817). When a cell is split or merged, a column is added or deleted, or a cell boundary moves, the default mode now pairs the two rows instead of writing the original as a deleted row and the revision as an inserted one. The row keeps one cell count: the revision's extra cell holds inserted text and the original's ...
jubarte v0.14.0
Breaking for Rust callers only: ReadArgs::paragraphs is a Vec<String> (#1690). Tracked edits keep each author's formatting history apart and refuse duplicate revision ids; table redlines avoid the final-mark revision that hangs Word; read -p repeats and changes --author filters. No build carries block-buffer 0.10.4 (GHSA-qwgh-2vcv-g2f7). Every release asset carries SLSA build provenance. On the release's two 600-item samples, scored against Word's own output: redlines mean 71.62 (Docxodus 64.92), counting as 0 the 23 redlines Word 16.115 crashes opening; PDFs mean 79.19 (LibreOffice 54.61) with no failed document. Word's own redline of the pair crashes Word on 20 of those 23 pairs; 3 crash only with jubarte's (#1802), which the owner waived for this release. One pair regresses (26ce1d6300, -15.06, #1759). The full Miri suite did not run, and the speed comparison with 0.13.0 could not resolve a 5% change on the release machine (#1797).
Summary. Breaking: the Rust CLI's
ReadArgs::paragraphsis aVec<String>, one entry per-p, andCommand::Changesgainsauthor(#1690). New:read -pand--selectrepeat,read --tables -o FILEwrites the grids,changes --author NAMEfilters,validatereportsCELL_FINAL_MARK_REVISION. Tracked edits keep each author's formatting history apart and refuse a new duplicate revision id before writing; table redlines avoid the cell final-mark revision that hangs Word;acceptandrejectresolve rows, cells and section breaks as Word does. No build carriesblock-buffer0.10.4 (GHSA-qwgh-2vcv-g2f7). On the release's two 600-item samples, scored against Word's own output: redlines mean 71.62 (Docxodus 64.92), counting as 0 the 23 redlines Word 16.115 crashes opening; PDFs mean 79.19 (LibreOffice 54.61) with no failed document. Word's own redline of the pair crashes Word on 20 of those 23 pairs; 3 crash only with jubarte's (#1802), which the owner waived for this release. One pair regresses (26ce1d6300, -15.06, #1759). The full Miri suite did not run for this release, and the speed comparison with 0.13.0 could not resolve a 5% change on the release machine, where one binary varied by up to 9.7% against itself (#1797). 0.13.0 never reached npm; this is the first npm release since 0.12.0.Docs. No README changed. CHANGELOG.md gained the 0.14.0 section; the Rust, Python and JavaScript guides (docs/rust.md, docs/python.md, docs/javascript.md) and docs/locations.md, docs/flags_datetime.md cover the repeatable read -p/--select, read --tables -o and changes --author; docs/SELF_UPDATE.md covers signature verification; docs/VERSIONING.md and docs/WORD_DRIVER_AUDIT.md describe the Ring-3 Word probe through the bench; SECURITY.md and docs/OPENSSF.md the provenance and advisories; examples/cli/help-cli.md and skills/jubarte-documents/SKILL.md were regenerated from the CLI's help; LICENSES.md updated.
Release
-
scripts/release.shproves what a person used to sign off (#1742). Step 0 refuses a patch bump that adds a feature (a### Addedheading) or breaks the public API (cargo semver-checksagainst the previous tag), runsscripts/test_release_workflow.py, and checks thereleaseenvironment and, oncekeys/holds a public key, theZIPSIGN_PRIVATE_KEYsecret. Step 2 refuses a CHANGELOG section that misses a fix/feat/perf/security pull request merged since the previous release, or that still holds placeholder text. The script tests run on Python 3.12, the crate's keywords are checked against crates.io's limits, queued CI is cancelled before the tag goes up, and step 12 verifies one archive's build provenance. Rustdoc no longer opens in a browser unless--open-docsasks. When npm refuses a trusted publish, release.yml's log names the two causes, a trusted publisher that does not allownpm publishor one that expired, and the command that fixes it. -
The 0.13.0 release audit, closed in the script (#1742, #1744-#1790, #1792, #1793). Step 0 reads GitHub's security findings with an admin's token and stops on a report in triage or an unpatched draft above low, and the patch gate denies every cargo-semver-checks lint, including one the manifest would lower. Step 3 refuses evidence scored on another engine and a measured sentence its results do not hold. Step 6 builds its API snapshot under the mbx build cache again, and names a previous release that left no snapshot. Step 8 checks the tag's shape. Step 12 installs each channel the way a user does: this machine's archive against
SHA256SUMS.txt, a PyPI wheel,npxandnpm iwithrequire(). 0.13.0 never reached npm, and no step said so; 0.14.0 is the first npm release since 0.12.0. Every checklist proof names a tool a repository holds: the parity check (tools/parity), the lane-validity check and the two-binary identity run are now committed. -
Build provenance for every release asset (#1742). When release.yml's release job publishes the GitHub release, its archives, wheels and sdist carry a SLSA build-provenance attestation, Sigstore-signed by the release workflow:
gh attestation verify jubarte-X.Y.Z-linux-x86_64.tar.gz -R jandira-tech/jubarte-redlinesties a download to the run that built it. A release made from a run's artifacts instead says in its notes that the release job did not publish it, and how to check whether an attestation covers it (#1749, #1768). -
The audit's fixes, one by one. The patch gate denies every lint cargo-semver-checks skips (#1744), and
scripts/semver_lints.pyrefuses a missing cargo-semver-checks (#1771). Step 2 reads changelog completeness from PR titles and refuses a failed discovery (#1745). A prerelease tag is no previous release (#1746). Every engineghcall namesjandira-tech/jubarte-redlines(#1747). Each matrix row builds what its label names (#1748), and provenance is bound to the tag and its commit (#1749). Step 0 stops on open security findings (#1750), refuses the canonical checkout and shows HEAD's red CI (#1751). Step 3 proves the evidence's engine (#1752) and holds the measured sentence to the evidence (#1753). Adoption rows and headerless files stop the release (#1754). Every tag step 8 keeps or writes has release.yml's shape (#1755). Step 12 installs each channel the way a user does (#1756). Step 6's API snapshot builds under the mbx build cache (#1769). The Ring-3 Word probe opens Word through the bench'sword_pdf.pyunder its watchdog, opens each failure again alone, then opens Word's own redline of that pair (#1794). The WASM parity driver resolves--moduleto an absolute path (#1799).
scripts/release.sh --checklistis now the whole release, not only the
script's own steps. New lines cover what a release owes outside them:
before — the full Miri suite and the docs/VERSIONING.md quality gate,
the Ring-3 Word open probe on the release samples, the bump decision,
reading the engine CHANGELOG section that becomes the release notes,
drafting the six one-line notes, a release.yml review (wheel and binary
matrices, SHA-pinned actions, the ZIPSIGN secret vskeys/, and the
releaseenvironment the OIDC publish jobs run under), and the App
Store path's credentials and unused version number; during — the
NUMBERS sentence against the checker's aggregates, the security scan,
the GitHub release page's assets and notes, the site's own release
ladder, and reading every jubarte.pro page the deploy rebuilt
(/download, /benchmark, /demo, home, /pro, /terms); after — merging the
app'srelease/vX.Y.Zpull request,jubarte self-update --version,
installing each library the way a user does, reading docs.rs and the
registries' pages, and the App Store item now carries the in-app
purchase and the metadata checks ofMAC_APP_STORE_RELEASE.md. The
dangling empty "step 14" phase is gone, the one proof that carried jq
pipes (the checklist printer splits on|) is written pipe-free, and
the checklist test derives its phases from the script instead of
counting to 14.
Breaking
- Rust CLI argument types change (#1690).
jubarte::cli::ReadArgs::paragraphsis aVec<String>, one entry per-p, instead ofOption<String>.paragraph_spec()returns the joined comma list.Command::Changesalso gainsauthor: Vec<String>. The read facade JSON still carries one string ornull.
Added
-
read -prepeats (#1690).read FILE -p p3 -p p8reads as-p p3,p8, in the view,--json,--tablesand--for-edit.--selectrepeats the same way. -
read --tables -o FILEwrites the printed grids to a file (#1690). This works in the binary, Python CLI and npm CLI. A.jsonname is refused. An existing file needs--force. -
changes --author NAMElists only that author's changes (#1690). The match is exact and the flag repeats. It filters text and JSON output in the binary, Python CLI and npm CLI. The Python native bindings and WASMlistChanges/changesTextalso take an optional author list. Revisions inside comment bodies remain outside the listing. -
edit --helpshows a complete plan (#1690). The binary and npm help also show the separate PlanV2 workflow,edit templatethenedit apply. Python help leaves out those routes because its CLI cannot run them. -
validatereportsCELL_FINAL_MARK_REVISION(#1669). It identifies a cell's final paragraph mark with an insertion or deletion that no matching row or cell revision covers. Word opens that shape, but Accept All or Reject All can hang. The finding blocks an edit;--repairdoes not repair it. -
Rust can check package admission before writing (#1665).
jubarte::cli::refused_package(path, bytes)returns a refusal message when the bytes are not an admitted Word package, orNonewhen they are. -
**Rust...
jubarte v0.13.0
Summary. Breaking: replace writes only the words that differ, so kept words keep their formatting; the marks Word writes for one edit are one logical change with a composite id (r7+8+9+10), and accept/reject take it whole; jubarte prints short ids; the timestamp flag is -d, --datetime everywhere (--date is removed); validate and audit are one command. New: edit --skip-failed applies what passes and writes a plan of the failures; visible rejects (--strike, --restore); Word math reads and writes as LaTeX; charts, fields, images and inline HTML round-trip through Markdown; check FILE --expect; typed v2 edit plans. PDFs lay out math fractions, radicals and delimiters, divide columns as Word does and update header PAGE fields; Strict OOXML packages read and compare as themselves. Dual-header and structurally inconsistent ZIP packages are refused (GHSA-m665-v7pm-7grj); rustls 0.23.46 fixes RUSTSEC-2026-0346 and -0347. Registries now publish from CI through OIDC trusted publishing. On two 600-item samples scored against Word's own output: redlines mean 71.63 (Docxodus 64.92), counting as 0 the 23 redlines Word 16.115 crashes opening (KNOWN_ISSUES #8); PDFs mean 79.19 (LibreOffice 54.61), no failed document.
Docs. README.md and the library READMEs follow the new flags and short ids; docs/rust.md, docs/python.md and docs/javascript.md carry the regenerated CLI and API references; docs/DIALECT.md, docs/MARKDOWN.md and docs/flags_datetime.md describe the settled Markdown dialect and the --datetime flag; docs/adoption/ covers MCP and the edit plans; docs/WORD_DIFFERENCES.md and docs/WORD_COMPARE_RULES.md record the Word behaviour this release copies; KNOWN_ISSUES.md is updated.
Release
-
Registries publish from CI with OIDC trusted publishing (#1642).
release.ymlpublishes crates.io (rust-lang/crates-io-auth-action, self-hosted runners), PyPI (uv publish --trusted-publishing always, the seven CI wheels plus one shared sdist, self-hosted runners) and npm (jubarte-wasm, thenjubarte-redlines, on a GitHub-hosted runner because npm refuses self-hosted ones). No registry token exists.scripts/release.shsteps 9–11 wait for those jobs, and--local-publishkeeps the old token path as the fallback. -
Eight CI workflow files are five (#1649).
ci.ymltakes the
Markdown round-trip job and hands cargo-deny and REUSE to
security.yml, which keeps its nightly schedule;docs.ymltakes the
adoption checks;jules.ymljoins the two Jules reviews;release.yml
is unchanged. A change totests/legacy_doc.rsnow triggers the docs
workflow, andscripts/test_docs_workflow.pykeeps every test the
workflow runs inside its path filter. -
The Jules reviews are back, and quieter. Restored after their
removal, they read only the files a pull request changes, so ruff and
shellcheck no longer report the same old findings on every PR (ruff is
pinned to 0.17.2), and the report comment is edited in place on each
push instead of posted again. The el conejo report runs four checks,
each with its own status — lint, syntax and format, security, workflows
— beside the LLM review as a fifth row, and reads its rules from
.github/jules-review-rules.md: correctness and Word fidelity,
security, performance and improvements, best practices and tests,
syntax and style. Both prompts state Word parity: never refuse an input
Word opens; ZIP part names are OPC URIs, never file-system paths. -
Python 3.12 is the floor for the repository's scripts. CI runs
the script tests and the release publish step on 3.12, andruff.toml
targets py312, so ruff reports syntax newer than the floor. The
jubarte-redlinesPython package still supports Python 3.10
(requires-python >= 3.10;jubarte-python/is checked at py310). -
No build cache feeds a shipped artifact.
release.ymldrops
rust-cache from the binaries job and turns maturin's sccache off, so a
release builds from a clean state and a cache entry an earlier run
wrote cannot reach a published binary or wheel (zizmor
cache-poisoning);scripts/test_release_workflow.pyrefuses a cache
step in the workflow. -
The public and private rustdoc builds run with
-D warningsin
CI. They are the two buildsscripts/release.shgates a release on
(the public docs and the private items), now part of the fmt + clippy
job, so a broken doc link or a module documented twice fails the
build. -
Published artifacts carry no builder's paths. The WASM/npm
builds remap the builder's home directory and checkout out of the
binaries, the wheel's remap matches the npm one, and the CI path gate
reads every user name and the CLI package too, so no machine's paths
ship inside a release. (#1480, #1481) -
The npm build's stamp vouches only as the full commit hash, and
a release refuses an npm build the tagged engine did not produce
(#1088);wasm-clirefuses a symlinked--consumeplan on Windows and
reads files open-then-fd (#1059).
Breaking
-
replacekeeps what it keeps (plan 12, #1262). Areplacewith
neitherwholenorformatwrites only the words that differ from
replacement, so the words it keeps keep their formatting (a bold
defined term is no longer re-typed plain with aw:rPrChange) and the
document's characters: a curly quote or a non-breaking space stays
wherereplacementtypes the plain one. Words that all change are one
change, as Word Compare shows them. To restyle only a quote, give the
replace"whole": true; a replace that changes nothing reports a
message. The range a replace names still conflicts with other
operations as a whole."whole": trueover runs of mixed formatting is
one deletion and one insertion, with no leftoverw:rPrChange(#1375). -
One logical change per edit (#1261). The marks Word writes for one
edit are listed as one change: one author's touching insertions (or
deletions) in a story, whatever their dates, get a composite id
(r7+8+9+10) and amemberslist; a deletion followed by the same
author's insertion is onereplacement(r3+4, textold → new). A
change takes its own paragraph's mark (r5+6) and ends there.jubarte changesprints\t(4 elements)after such a change's text;read --jsonis snapshot schema 3 and lists logical changes; Python
Change.membersandChangeMember, and WASMlistChanges, follow.
accept/reject --id,resolve_revisionsand-p … --accept|--reject
take a composite (r7+8+9+10, orr87+r88) and refuse part of a
change, naming the whole (accept/rejectexit 2; an edit plan fails
withINCOMPLETE_CHANGE); one whole side of a replacement may still be
settled alone. The library's
accept_elements/reject_elementssettle marks one by one. The edit
report counts logical changes and gainsrevisions.replaced. The
agent view tags every piece of a change with its joined id
({++bold++}{r7+8 @AC}{++ words++}{r7+8 @AC},¶{r5+6 @AC}when it
ends its paragraph), and the writer gives each piece back its own
mark; a replacement with no text on either side names each side by its
own marks on its id line (rev r4 @D, rev-del r3 @D); the header counts such a change once (2 marks shown as 1 change), and each other story counts its changes asjubarte changeslists them, with its marks when they differ (3 in header1 (7 marks)). -
Markdown images stay inside their folder (#617).
convert,compareanddiffread an image only when its decoded path resolves, symlinks followed, inside the Markdown file's folder or the--resource-pathroot. An absolute path, a..walk, a symlink out or a percent-encoded scheme (file%3A…,DATA%3A…) now becomes the image's alt text, and each alt-text warning names its reason (outside the resource root,a URL scheme,not found). Pass--resource-path DIRto trust another root. -
Refresh saved edit anchors quoting the old in-code revision spelling (
`w:del{++ ++}{r76 @AS}`): marks inside code are now literal, so those anchors can returnANCHOR_NOT_FOUND; quote a fresh view with marks outside the code fence. -
read --jsonsnapshot schema 2:summary.tablesandtables[]count
top-level tables, with view-alignedindex. Cell tables move into
recursivenestedarrays with aparentcell path and noindex.
read --tablesuses the same top-level numbers and indents nested grids
under their cell rows. PythonTablegainsparentandnested; its
nested indices areNone. Legacy edit-plan schemas are unchanged. -
Markdown revision attribution uses the settled brace dialect. Update saved
views and consumers using this migration table. Comments keep{>>…<<}.Rule Old New Attribution tag {++new++}{>>r1 @AL<<}{++new++}{r1 @AL}Parent chain {>>r3 @BO on r1 @AL<<}{r3 @BO re r1 @AL}Merged ids {++a b++}{>>r1+2 @AL<<}{++a++}{r1 @AL}{++ b++}{r2 @AL}; merge only equal idsSubstitution pairing Adjacent changes could merge regardless of direction Only deletion then live insertion by the same author in the rendered stream; different inline dates stay separate; old id precedes new id in {r1+2 @AL}Inserted paragraph mark <!-- p0 break-ins r7 @AL -->on an id lineInline ¶{r7 @AL}at the paragraph endLiteral escape Attribution-shaped text after a closer was unprotected Escape the opening brace, as in {++new++}\{r1 @AL}and¶\{ -
edit::PrepareOptionshas asyntaxfield (PlanSyntax:V1,
Flags,V2), the request syntax a refusal quotes. A struct literal adds
..PrepareOptions::default(). -
--skip-failedadds library fields (#1253).edit::PrepareOptions
hasskip_failed,edit::Operationan optionalgroup,
edit::EditReportskippedandoutput_sha256,edit::PreparedEdit
`skipp...
jubarte v0.12.0
jubarte FILE prints an agent view of a document or (jubarte A B) of its redline; edit and add take flag operations; text diffs in github, word, normal, context and side-by-side views; PDFs can list comments after the last page (--move-comments) and keep only changed pages (--changed-only). Redlines no longer hang Word 16.115 on an empty deleted PAGE field or a one-sided header table, and drop unused headers and footers. PDF text no font covers stays searchable, and math letters read back as math letters. rdocx-opc 0.2 fixes RUSTSEC-2026-0194. On two 600-item samples scored against Word's own output: redlines mean 71.89 (Docxodus 64.95), counting as 0 the 23 redlines Word 16.115 crashes opening (KNOWN_ISSUES #8); PDFs mean 79.19 (LibreOffice 54.61), no failed document.
Summary. jubarte FILE and jubarte read print an agent view (a YAML header, then the document as Markdown with paragraph ids, CriticMarkup changes and comments), and jubarte A B prints its redline's view instead of writing a file (-o writes it; compare A B is unchanged). jubarte edit and the new jubarte add take their operations from flags. Text diffs come as github, word, normal, context and side-by-side views. convert --move-comments lists comments after the last page with [JR1] markers, --changed-only keeps only the pages a change touches, and fields update writes Roman and letter NUMPAGES, PAGEREF and SEQ results as Word does. Redlines no longer hang Word 16.115 on a deleted empty PAGE field or a header table only one version has, and drop headers and footers no section uses. PDF text no font has glyphs for stays searchable, and math letters painted from their ASCII italic read back as math letters. rdocx-opc 0.2 fixes RUSTSEC-2026-0194. On two 600-item samples scored against Word's own output: redlines mean 71.89 (Docxodus 64.95), counting as 0 the 23 redlines Word 16.115 crashes opening (KNOWN_ISSUES #8); PDFs mean 79.19 (LibreOffice 54.61), no failed document.
Docs. docs/rust.md, docs/python.md and docs/javascript.md carry the regenerated CLI and API references; docs/TEXT_DIFF.md is new; examples/cli/help-cli.md and examples/cli/visualize/ show the agent view and every command's help; the library READMEs and their fragments document read, edit, add and the new PDF options; KNOWN_ISSUES.md records #9 (WASM fonts, text layer fixed) and #10 (float re-layout); docs/WORD_DIFFERENCES.md lists the open Word differences; the root plan files moved under docs/.
Added
-
jubarte FILEprints the agent view (read FILE; a lone name without
an extension needsread);jubarte A Bprints
the agent view of their redline, with thereadoptions (-o FILEwrites
it instead;compare A Bstill writes<A>_v_<B>.docx). Same on the
Python and npm CLIs. -
jubarte edit FILE -p WHERE --anchor TEXT --content TEXT(also
--delete,--resolve,--style) and the newjubarte add(a paragraph,
a comment, or a reply toc5) take their operations from flags: each-p
starts one, so one command carries several.--author,--datetime,
--existing-revisions(defaultauto: keep a file's tracked changes) and
--editing-mode(clean copy and report only) apply to all of them;
--out-dirdefaults to<stem>.editbeside the file. After applying, both
print the changed blocks as the agent view (the patch stays in
patch.diff). Same flags on the Python and npm CLIs; library:
jubarte::edit::flags::plan_from_flags,jubarte::markdown::changed_view,
Python_native.flag_plan/changed_view, WASMflagPlan/changedView. -
Document text diff views:
github(unified,text),word,normal,
contextandside-by-side, across Rust, Python and WASM. Line views
preserve existing CriticMarkup; word diff accepts all changes in both
documents before making fresh marks.--accept-changes,-U/--context
and--full-linescontrol the view. Long lines use a 70-character window
around the first change. Text output creates no implicit Word file. -
convert --move-comments(also ondiff; library:
PdfOptions::comments = CommentPlacement::End): the comments leave the
balloon pane and are listed after the last page, each with its marker,
author and page. The page keeps its own width, the commented text keeps
its tint, and a superscript[JR1]in the author's ink marks where each
comment is anchored (a reply rides on its thread's marker). The default
stays Word's balloons beside the text. -
convert --changed-only(also ondiff; library:
PdfOptions::changed_only): the whole document is laid out, then only
the pages a change bar marks are kept, so page numbers and "Page N of M"
stay the document's. A document without body changes keeps its first
page. With--move-comments, only the kept pages' comments are listed. -
PdfOptionshas two more public fields (comments,changed_only): a
struct literal that names every field needs..PdfOptions::default(). -
Python and JavaScript take both options. In Python they are
PdfOptions(move_comments=…, changed_only=…)forDocument.to_pdf,
to_pngandrender, keyword arguments ofdocx_to_pdf, and
python -m jubarte_redlines convert --move-comments / --changed-only.
In JavaScript they aredocxToPdf's two trailing arguments and
npx jubarte-redlines convert --move-comments / --changed-only. -
fields updatewritesNUMPAGES,PAGEREFandSEQresults in
\* romanand\* alphabeticas Word does: the switch's first letter
picks the case, letters past z repeat (aa, bb, ...), the last\*
switch wins, and past 780 in letters or 32767 in Roman numerals the
result is Word's "Error! Number cannot be represented in specified
format." ASEQidentifier with either format keeps counting. Other
formats still keep the cached result.
Security
- Upgrade rdocx-opc to 0.2 with quick-xml 0.41, fixing RUSTSEC-2026-0194
and RUSTSEC-2026-0195 across the native, Python, WASM and in-process
graphs, including the publicRelationships::from_xmlparser. Keep
the 256-attribute OPC admission budget and remove the advisory exceptions
and obsolete WASM-only dependency patch. Relationship/content-type parser
behavior is preserved; consumers sharing dependency types must also use
rdocx-opc 0.2 (the re-exported XML errors now use quick-xml 0.41). - Add direct relationship-parser regression tests and fuzzing. Fuzz checks
now block CI; native runs instrument mimalloc's C code and enable its
AddressSanitizer allocation tracking alongside Rust instrumentation. - Add contribution and private vulnerability-reporting policies, daily
dependency/history-secret checks, mandatory release security checks and
an OpenSSF criterion evidence ledger.
Changed
-
jubarte A Bno longer writes a file unless-ois given: it prints the
redline's agent view.jubarte compare A Bis unchanged. -
editprints the redline's changed blocks as the agent view instead of
the patch (patch.diffis still written);--planand--out-dirare
optional. -
jubarte read(aliastext) prints the agent view: a YAML header
(authors with handles and timestamps, owner, page setup, styles,
headers, footers, sections), an<!-- pN -->id line before every
paragraph (same numbering asedit), tracked changes as CriticMarkup
followed by a note with theirw:idand author handle, comments with
their ids and thread parents, page markers from the layout pass, and
-p/--head/--tail/--changed(only the blocks with marks;
--by AUTHORfor one author's) /--comments none/--dates/
--no-page-markers.editselectors take the view's short ids (p3,
header1.p1,t0.r1.c2). The previous[body:p:N]projection remains
available asinspect::markdownin the library bindings. -
CLI commands, help, aliases, defaults and usage validation now share a
clap-derived schema across native, Python and WASM.compare(alias
redline) is discoverable alongside the existing two-file shorthand. -
Python extensions avoid symbol stripping that can corrupt macOS
Mach-O metadata and prevent startup. -
The desktop app is no longer tracked here: it is its own repository
(arthrod/jubarte-app), cloned untracked atjubarte-app/or named by
JUBARTE_APP_DIR.scripts/release.shno longer bumps or commits the
app's files. It runs the app'sscripts/release-engine.shinstead,
with--preflightat step 0 and in full as step 13: jubarte.pro, the
app's facts, and its version files on arelease/vX.Y.Zpull request.
Step 14 is folded into it.release_downstream.sh,check_site_live.py
andcheck_release_facts.pymoved to the app with their tests. The
app's CI builds the app, and the app has its own Dependabot config.
Fixed
- Compare: a deleted or inserted field with no shown result
(<w:fldSimple w:instr="PAGE"/>) stayed live in the redline, so
rejecting or accepting kept the wrong page numbers, and Word 16.115 hung
on such a footer. It is now tracked the way Word's own redline does. - Compare: a header or footer that only one document has now marks its
table rows deleted or inserted along with their text; Word 16.115 hung
on a footer table whose cells were deleted but whose rows were not. - Compare: a redline no longer keeps the original's headers and footers
that no section uses once the revised document's section breaks bring
their own. Word's own redlines carry none. Their half-matched page
number fields madejubarte validatereport them as Word-fatal. - Removing a header, footer or other related part (redline, Accept, Reject,
markdown export) also removes the images and other parts that only it
used, instead of leaving them in the package with nothing pointing at
them. jubarte validateno longer calls two shapes Word opens Word-fatal: a
table cell that ends in a content control holding its last paragraph
(its repair ...
jubarte v0.11.3
jubarte convert reads Word 97-2003 .doc files (text, headings, lists, bold and italic, tables), writes markers into Markdown, and stops at --timeout with exit 124. PDFs set OMML math in Cambria Math with Word's delimiters and centring. The font report counts a face guessed from a name's class as substituted. A package repeating an identical relationship Id opens repaired. MSRV is Rust 1.94. On two 600-item samples scored against Word's own output: redlines mean 72.06 (Docxodus 65.15), counting as 0 the 23 redlines Word 16.115 crashes opening (KNOWN_ISSUES #8); PDFs mean 79.14 (LibreOffice 54.61), no failed document. The evidence (samples with a sha256 beside every file, per-document scores, paired intervals) is in release_info/; the 23 Word crashes are KNOWN_ISSUES #8.
Summary. jubarte convert reads a Word 97-2003 .doc (text, headings, lists, bold and italic, tables) and marks each page in Markdown output (); --timeout bounds a conversion. PDFs set OMML math in Cambria Math as Word does. The font report counts a face guessed from a name's class as substituted, and a repeated identical relationship Id opens repaired. MSRV is Rust 1.94. On two 600-item samples scored against Word's own output: redlines mean 72.06 (Docxodus 65.15), counting as 0 the 23 redlines Word 16.115 crashes opening (KNOWN_ISSUES #8); PDFs mean 79.14 (LibreOffice 54.61), no failed document.
Docs. README.md, docs/rust.md and the four registry READMEs state MSRV 1.94. docs/rust.md, docs/python.md and docs/javascript.md carry generated CLI and API references. docs/adoption/ and examples/adoption/ are new: one page per agent skill jubarte replaces, each row with runnable evidence; the .doc rows read released. KNOWN_ISSUES.md #8 records the Word 16.115 crash.
Added
jubarte convert old.docreads a Word 97-2003.doc: it reads the OLE
compound file and the Word 97 piece table into text, paragraphs, Title
and Heading 1-9, one-level tables (header rows kept), field results,
bold and italic runs, and bulleted and numbered lists with their
nesting. The default output is.docx;-t md, PDF and PNG go through
the converted package. Encrypted, Word 6/95 and non-Word compound files
stayLEGACY_DOC, and malformed structure is refused, never guessed: a
reversed, gapped or truncated piece table, a table outside its stream,
a repeated FAT sector, an invalid bold/italic toggle. The other commands
still refuse a.doc, now with the convert command in the hint.jubarte convert FILE -t mdwrites<!-- page N of M -->before the
first block of each page. The page comes from laying the document out
and matching each block's opening text on the painted pages.
--no-page-markersopts out. The markers are HTML comments, so the
Markdown converts back unchanged. Block keys come from pulldown-cmark
(images, link reference definitions, autolinks, escaped pipes, literal
angle brackets), and a marker never splits a loose list or a fenced
block.jubarte convert --timeout SECONDSexits 124 (timeout(1)'s status)
once the limit passes.- docs/rust.md, docs/python.md and docs/javascript.md carry generated CLI
and API references (scripts/gen_docs.sh). A docs CI job fails on
drift, andrelease.shregenerates them. - docs/adoption/ and examples/adoption/: one page per agent skill (Anthropic
docx, OpenAIdoc, MCP) that jubarte replaces. Each row has
side-by-side evidence with arun.sh, a test intests/adoption.rs, a
plan for every gap, and the measured disk each skill's container drops.
Theadoptionworkflow runs it all.
Fixed
- Convert, math: OMML text is set in Cambria Math with letters from the
mathematical italic block (m:sty p/bupright,m:norordinary text).
A display equation is centred unless itsm:jcsays otherwise.m:d
draws its delimiters and separators, and they follow the script
placement. Math is found under any namespace prefix. A face that lacks
a letter keeps the whole run in ASCII italic. Math text drops the
paragraph's hAnsi face. Deleted text counts toward a display
paragraph. On the 29 corpus documents with a display equation, against
Word's PDFs: jaccard +0.030 [+0.0005, +0.070], text_boundary +0.056
[+0.008, +0.116] against 0.11.2; the 116-document control without
OMML is byte-identical. - Font report: a family placed on an installed face by its name's class
("Fake Serif Pro" on Times, Helvetica on Arial) was reported as an
explicit match, so--fail-on-substitutionpassed. It is nowgeneric
and counts as substituted; metric twins (Carlito, Caladea, Liberation,
Arimo, Tinos, Cousine) still count as their family, and a trailing
"PS MT" is not a substitution. Layout is unchanged. - Package: a relationship Id repeated with an identical relationship is
kept once on open and reported as a repairedDUPLICATE_RID. Two
different relationships under one Id are refused. Word refuses both. - Command line: converting to
.docxor Markdown refuses--report,
--font-reportand--fail-on-substitutioninstead of ignoring them.
A page-marker warning names the step that failed, and--timeoutmust
be finite.
Changed
- MSRV is Rust 1.94 (was 1.88), for the library, the CLI and the Python
binding. The MSRV-aware resolver had been holdingaesat 0.9.2 and
rdocx-opcat 0.1.0 (their next releases need 1.89 and 1.93; the WASM
build already patched rdocx-opc 0.1.2). 1.94 also brings
slice::array_windowsandstr::floor_char_boundary, which replace
hand-rolled pair indexing and char-boundary loops. The CI MSRV job runs
the all-feature suite on 1.94. - The code is clippy-clean on 1.94 as well as on current stable: six
boolean expressions 1.94'snonminimal_boolflagged are rewritten
(is_none_or, a named pair test, a named toggle closure), and the lint
suppressions left in examples, tests and the Python binding are
#[expect(..., reason = ...)], which fails once a suppression is no
longer needed.tests/commonkeepsallow(dead_code): each test binary
uses part of it. - Every CLI command but
convertrefuses a.doc(and any other
admission refusal) leading with its code,LEGACY_DOC: old.doc is …, as
the library and Python already report it; the convert hint follows. validate --jsonis described as JSON Lines in its help: one object per
finding, nothing when there is none.
Docs
- The adoption pages say what is true today. Python's
convertis a
subset of the CLI's (no--timeout,--fail-on-substitutionor-t),
and exit 2 also meansvalidatefindings. The npm CLI needs Node 18.3+,
and crates.io builds need Rust 1.94+ from 0.11.3. Thebody:rev:
limitation is that id-less revisions share the id, not that--id
cannot select it. The MCP feature-gate note no longer reads as pending,
and Gemini CLI issue #20298 is closed as not planned. Two claims now
match what is tested: folder 16 alone holds Word's own answer, and
tests/adoption.rsruns the rows that have a jubarte command. - Example evidence: 14's table matches its committed page sizes (soffice
painted the size-less pandoc file at Letter, not A4). 00 measures the
14 MB download it quotes (download_jubarte.tsv). 07 names its validate
output.jsonl, and finds the validator inside the checkout, not at a
path on one machine. 04 cites the commit on this branch, and 16 says its
Word script logs were not kept. - The adoption workflow also runs on changes to
tests/common/,
Cargo.tomlandCargo.lock.
Known issues
- Microsoft Word 16.115 (installed on the bench 2026-10-05) crashes opening
23 of this release's 600 benchmark redlines, so they score 0 in
release_info/. 22 are byte-identical to the 0.11.2 redlines the previous
Word opened on 2026-10-03; the cause is not found yet (KNOWN_ISSUES.md #8).
Full Changelog: v0.11.2...v0.11.3