Skip to content

Releases

jubarte v0.20.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 12:07
Immutable release. Only release title and notes can be modified.

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:docPr ids 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 under preserve_untouched). All 16 open with the fix, and the 40 pairs Word already opened still open.

Changed

  • jubarte validate checks drawing ids across story parts (#2539). DUPLICATE_DOCPR_ID now 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 --repair renumbers 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. filetime stays at 0.2.29, because 0.2.30 adds a build script deny.toml does not allow.
  • Release tooling (#2539, #2542): scripts/mini-release.sh cuts 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

Choose a tag to compare

@github-actions github-actions released this 21 Nov 10:09
Immutable release. Only release title and notes can be modified.

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) and NOTICE, 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 the jubarte crate 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);
    NOTICE carries 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 in jandira-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.rs now 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, so ENGINE_COMMIT.txt in the package names the
    tagged commit itself.
  • The bench test documents (third-party files, some AGPL-3.0) moved to
    the jandira-tech/jubarte-test-corpus repository, a git submodule at
    tests/corpus/bench. Clone with --recurse-submodules to run the
    tests.
  • 127 test documents whose origin is not confirmed left git for a public
    Hugging Face dataset. python3 scripts/fetch_fixtures.py downloads them
    (pinned revision, SHA-256 checked); the tests that read them fail
    without it, and tests/corpus_present.rs says 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" with jubarte = "0.19"
    for the full suite and keep their use jubarte::… paths.
  • jubarte-redlines 0.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-docx distribution. Its import
    package and its command are both jubarte, in the way python-dotenv
    ships dotenv: pip install jubarte-docx, then import jubarte or
    uvx --from jubarte-docx jubarte redline a.docx b.docx -o redline.docx.
    jubarte-mcp moved with it (uvx --from 'jubarte-docx[mcp]' jubarte-mcp).
  • jubarte-redlines on PyPI is now a small compatibility shim. It installs
    jubarte-docx at the same version and keeps import jubarte_redlines
    (the very same objects as import jubarte), python -m jubarte_redlines and the jubarte-redlines command working. No file
    belongs to both distributions, so upgrading from 0.18 with pip or uv
    loses nothing.
  • PyPI's own jubarte is an unrelated project that also ships a jubarte/
    package and a jubarte command. pip install jubarte does 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 (class RenderOutput)
  • updateFields (class FieldsOutput)
  • 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/pdf and its alias jubarte-wasm/convert (node-pdf,
    web-pdf): docxToPdf, pdfPageCount and renderPdf, 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-redlines npm CLI also installs a jubarte command, 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...

Read more

jubarte v0.18.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 02:42
Immutable release. Only release title and notes can be modified.

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-update bounds the archive it unpacks (#2084, #2085); a redaction the leak scan cannot certify is refused (#2086); legacy .doc input, 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_scan with its receipt (#2086) and ChangeError::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_markdown keeps 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].xml or a .rels part is refused (#2080, #643). These parts were matched by local name, so a root in xmlns="urn:not-opc", or a second root, still had its records used. admit and PartFs::open refuse it before the records are read.

  • A ZIP name flagged UTF-8 that is not UTF-8 is refused (#2081, #640). word/media/\xff.bin used to open as word/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-update bounds 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_scan returns a receipt, Complete or Incomplete (a part that starts with a UTF-32 or UTF-16BE byte-order mark). Redact completion refuses Incomplete with REDACTION_INCOMPLETE, naming the part and the encoding but not the redacted text.

  • Legacy .doc input is bounded (#2091, #852; #2087, #1603; #2076, #1503; #2043). A .doc over 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-cmark is 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. canonicalize never 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 gets ToolError: … is outside root ….

  • The --regex compile 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 as a{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_64 and linux-aarch64 CLI archives are built in the manylinux_2_28 images, and scripts/check_glibc_floor.py fails 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. Static linux-musl-x86_64 and linux-musl-aarch64 archives are published beside them; they are not timed against the bench yet, so the glibc archives stay the recommended install. jubarte self-update fetches 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.sh runs cargo deny check bans on its five manifests with multiple-versions = "deny". Each ignored advisory is now recorded beside the locked crate that reaches it (#2089, #605).

  • deny.toml lists the crates whose build scripts may run (#2216, #2220, #784), across the five graphs scripts/security-check.sh checks. The list is an inventory, not a sandbox.

  • jubarte validate no longer reports MISSING_REL_TARGET for a target that is not a package part (#2217, #2219, #855): a file: 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 .XML in 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:customXml is unwrapped before compare (#2074, #1674), as Word drops it on open. Its content...
Read more

jubarte v0.17.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 09:46
Immutable release. Only release title and notes can be modified.

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); read applies its own limits before the layout pass (#2013); compare bounds the atoms it builds with a story-unit budget (max_story_units, #2024) and refuses subDoc, altChunk, contentPart, customXml and doubled body sectPr with UNSUPPORTED_CONTENT instead of panicking (#2023); JUBARTE_TIMEOUT=SECONDS optionally 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: InputLimits and InputBudget gain fields; a one-shot edit or add that adds markup requires an author (#1997); accept/reject -o INPUT refuses, use the new --in-place (#1998, #1888); editing the comments of another author is allowed unless the new --keep-others guard is set (#1892, #1890). New: read --find (#1889), per-change verdicts in validate --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:w on gridCol, tcW and tblW that f32 accepts and that is not finite (NaN, inf, infinity, or an overflow such as 1e40) is NON_FINITE_MEASURE. word_fatal is true for gridCol and false for tcW and tblW. Word 16.115 (2026-10-31) refused gridcol-NaN, gridcol-inf and gridcol-1e40 (unreadable content) and opened tcw-*, tblw-* and valid-control cleanly. repairable stays false. A token that does not parse (abc, 12pt) is not this finding.

  • read FILE --find TEXT finds paragraphs in the Markdown view (#1889). Matches keep the same Markdown and id lines as read -p, using the original final logical text searched by --for-edit. --regex PATTERN requires its pattern and conflicts with --find; both support --ignore-case. Existing --for-edit --find combinations with --json or --tables remain 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. Like read -p, view search selects body paragraphs only; use --for-edit to search header/footer/note paragraphs. edit FILE --anchor TEXT and add FILE --anchor TEXT without -p now direct the caller to -p WHERE and read --find, keeping usage exit code 2.

  • --in-place replaces the input through the same atomic write as -o (#1888). edit, add, accept and reject take --in-place. It conflicts with -o and, on edit and add, 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 is wrote contract.docx in place (replaced sha256 <first 8 hex>…), and an edit or add that adds markup keeps ; N change(s) by "X" and the no -a warning. With no -o, the default <stem>_modified.docx write adds ; contract.docx is unchanged (--in-place updates it). That note is absent when -o or --out-dir names the output, and when the input's stem already ends in _modified (that default already updates the file). Typed edit replace, rewrite, insert, delete and apply take --in-place too (not with -o, --out-dir, --dry-run or --save-plan). Their receipt is edit 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_redlines writes that same wrote line for edit, add, accept and reject, including the markup detail and the no -a warning.

  • --keep-others refuses to erase another author's markup (#1892, #1890). One opt-in covers tracked changes and comments. --keep-others on edit, add, edit replace, edit rewrite, edit insert, edit delete, edit apply and edit template, the environment variable JUBARTE_KEEP_OTHERS=1 (read only by the CLI, and only the exact value 1), or the plan field "others": "keep" (v1 and v2) turns it on. Another author is anyone other than the plan's author, which is Jubarte when --author is left out; a missing or empty author is not yours. With the guard on, accepting or rejecting their change is CHANGE_NOT_YOURS (exit 3), whether the selection is a flag, resolve_revisions, or existing_revisions set to accept or reject on a file that holds their changes. Deleting, resolving, reopening or rewording their comment, and deleting your own thread that holds their reply, is COMMENT_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. EditPlan and PlanV2 gain others (a Rust struct literal names it; Python's field defaults to omitted).

  • --keep-others covers nested markup, comment bodies and typed edits (#1892, #1890). edit replace, rewrite, insert, delete, apply and edit template take the flag, and JUBARTE_KEEP_OTHERS=1 sets 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_revisions of accept or reject counts revisions inside comment bodies (comments.rN since #1706). A suggested restore or strike carries --author and, 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 whose existing_revisions is refuse names "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). InputLimits gains max_xml_elements: 2,000,000 by default (the largest of 2,434 real documents holds 365,343) and 4,000,000 under InputLimits::compare(). admit, the package open behind every command (opc::read_package) and jubarte debug count 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 with INPUT_LIMIT. The cap is an override (max_xml_elements in the limits JSON, Python input_limits and WASM inputLimitsJson) and capabilities prints it.
  • read applies 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 part read refuses still cost several GB before the refusal (4.4 GB on a 70 MiB flood); read now refuses it first.
  • A DTD is refused in every XML part (#2015). Word refuses a DOCTYPE in the main part, in styles.xml and in a customXml item, a bare <!DOCTYPE w:document> included (wor...
Read more

jubarte v0.16.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 08:18
Immutable release. Only release title and notes can be modified.

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 --json and comments --json emit records only on stdout; their input_validity status moved to one JSON line on stderr, which -q suppresses (#1925). New: --version and the --help header carry the build's short Git commit (#1924). validate resolves 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-path rewrite marks 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 --json and comments --json now emit records only on stdout: the input_validity status moved from stdout to one JSON line on stderr, suppressed by -q (#1925). The Python CLI and npm CLI's changes --json follow the same rule.

Fixed

  • validate checks every relationships part, including _rels/.rels, for missing internal targets (MISSING_REL_TARGET, #1938). An unused relationship produces a non-fatal warning, which --repair does 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 gridBefore or gridAfter holds 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).

  • validate checks 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). Dangling r:id, r:embed and r:link references keep their Word-fatal finding; the other relationship names are repairable warnings until Word is probed. Existing repair drops the dangling attributes.

  • A rewrite under existing_revisions: keep marks 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 anchored replace is unchanged. A tracked change already in the paragraph stays on the word diff, so it is not marked again.

  • CLI --version and the --help header identify the build with the short Git commit as SemVer build metadata, plus .dirty for 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 delete that starts at the paragraph's first character and an insertion at position: "start" (or one that ends at its last character and an insertion at position: "end") are written as one whole substitution, so deleting every run keeps the inserted text in Accept All; a replace beside an edge insert keeps writing only the words it changed. Two differently formatted insertions merged into one such delete are refused as OVERLAPPING_EDITS.

  • jubarte validate reports a move range start with no w:name (#1939). w:moveFromRangeStart and w:moveToRangeStart require w: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 now MOVE_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 still MOVE_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

Choose a tag to compare

@github-actions github-actions released this 30 Oct 20:39
Immutable release. Only release title and notes can be modified.

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::Check gains Tables (#1817). New: validate --original --author checks comments (FOREIGN_COMMENT, #1846); strike and restore take paragraph marks and multi-mark changes (#1848, #1849); validate reports DELETED_SECTION_PAGE_FIELD and INSERTED_TEXT_BEFORE_DELETED_TABLE. Word mode pairs, splits and meshes the tables of a replaced region as Word Compare does (#1817); edit refuses 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::Check gains Tables (#1817). A Rust match on Check without a wildcard arm needs one for it.

Added

  • validate --original --author NAME checks comments too (#1846). It read only revisions, so a counterparty comment you deleted or resolved, or one add signed "Jubarte" because --author was left out, passed with "no findings". Each is now a FOREIGN_COMMENT error in the edits set: 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.
  • strike and restore take 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).
  • strike and restore take a change of several marks (#1849). jubarte changes lists one author's touching marks under one id (r10+11, a replacement's r11+12), but a plan's strike/restore refused that id (strike takes one revision) and -p r11+12 --strike --content refused 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 TEXT gives a replacement its restore and its strike, the comment on the first in reading order. A strike or restore's note (already struck included) now prints as a note: line.
  • jubarte debug FILE -c tables lists every table's grid, rows and cells (#1817). Each cell shows its width, span and vertical merge, its revision marks and the old properties its tcPrChange records, then its text; nested tables are indented under their cell, and each table shows its old grid and tblPrChange. debug is the maintainer tool hidden from jubarte --help.
  • jubarte validate reports DELETED_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 validate reports INSERTED_TEXT_BEFORE_DELETED_TABLE (#1851). This is a Ring-1 warning lead on a body paragraph whose mark is deleted and whose own w:ins runs 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

  • strike and restore refusals 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 in comment on it instead. They used to advise reject … instead, which the reviewer must not do to another author's change. A deletion with no text says nothing to restore. Your own revision still says reject it instead.
  • edit refuses 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 with COMMENT_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. capabilities names it on the delete_comment and resolve_comment rows.
  • 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 ...
Read more

jubarte v0.14.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:51
Immutable release. Only release title and notes can be modified.

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::paragraphs is a Vec<String>, one entry per -p, and Command::Changes gains author (#1690). New: read -p and --select repeat, read --tables -o FILE writes the grids, changes --author NAME filters, validate reports CELL_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; accept and reject resolve rows, cells and section breaks as Word does. No build carries block-buffer 0.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.sh proves what a person used to sign off (#1742). Step 0 refuses a patch bump that adds a feature (a ### Added heading) or breaks the public API (cargo semver-checks against the previous tag), runs scripts/test_release_workflow.py, and checks the release environment and, once keys/ holds a public key, the ZIPSIGN_PRIVATE_KEY secret. 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-docs asks. When npm refuses a trusted publish, release.yml's log names the two causes, a trusted publisher that does not allow npm publish or 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, npx and npm i with require(). 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-redlines ties 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.py refuses 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 engine gh call names jandira-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's word_pdf.py under its watchdog, opens each failure again alone, then opens Word's own redline of that pair (#1794). The WASM parity driver resolves --module to an absolute path (#1799).

  • scripts/release.sh --checklist is 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 vs keys/, and the
    release environment 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's release/vX.Y.Z pull 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 of MAC_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::paragraphs is a Vec<String>, one entry per -p, instead of Option<String>. paragraph_spec() returns the joined comma list. Command::Changes also gains author: Vec<String>. The read facade JSON still carries one string or null.

Added

  • read -p repeats (#1690). read FILE -p p3 -p p8 reads as -p p3,p8, in the view, --json, --tables and --for-edit. --select repeats the same way.

  • read --tables -o FILE writes the printed grids to a file (#1690). This works in the binary, Python CLI and npm CLI. A .json name is refused. An existing file needs --force.

  • changes --author NAME lists 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 WASM listChanges / changesText also take an optional author list. Revisions inside comment bodies remain outside the listing.

  • edit --help shows a complete plan (#1690). The binary and npm help also show the separate PlanV2 workflow, edit template then edit apply. Python help leaves out those routes because its CLI cannot run them.

  • validate reports CELL_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; --repair does 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, or None when they are.

  • **Rust...

Read more

jubarte v0.13.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:22

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.yml publishes 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, then jubarte-redlines, on a GitHub-hosted runner because npm refuses self-hosted ones). No registry token exists. scripts/release.sh steps 9–11 wait for those jobs, and --local-publish keeps the old token path as the fallback.

  • Eight CI workflow files are five (#1649). ci.yml takes the
    Markdown round-trip job and hands cargo-deny and REUSE to
    security.yml, which keeps its nightly schedule; docs.yml takes the
    adoption checks; jules.yml joins the two Jules reviews; release.yml
    is unchanged. A change to tests/legacy_doc.rs now triggers the docs
    workflow, and scripts/test_docs_workflow.py keeps 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, and ruff.toml
    targets py312, so ruff reports syntax newer than the floor. The
    jubarte-redlines Python package still supports Python 3.10
    (requires-python >= 3.10; jubarte-python/ is checked at py310).

  • No build cache feeds a shipped artifact. release.yml drops
    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.py refuses a cache
    step in the workflow.

  • The public and private rustdoc builds run with -D warnings in
    CI.
    They are the two builds scripts/release.sh gates 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-cli refuses a symlinked --consume plan on Windows and
    reads files open-then-fd (#1059).

Breaking

  • replace keeps what it keeps (plan 12, #1262). A replace with
    neither whole nor format writes 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 a w:rPrChange) and the
    document's characters: a curly quote or a non-breaking space stays
    where replacement types 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": true over runs of mixed formatting is
    one deletion and one insertion, with no leftover w: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 a members list; a deletion followed by the same
    author's insertion is one replacement (r3+4, text old → new). A
    change takes its own paragraph's mark (r5+6) and ends there. jubarte changes prints \t(4 elements) after such a change's text; read --json is snapshot schema 3 and lists logical changes; Python
    Change.members and ChangeMember, and WASM listChanges, follow.
    accept/reject --id, resolve_revisions and -p … --accept|--reject
    take a composite (r7+8+9+10, or r87+r88) and refuse part of a
    change, naming the whole (accept/reject exit 2; an edit plan fails
    with INCOMPLETE_CHANGE); one whole side of a replacement may still be
    settled alone. The library's
    accept_elements/reject_elements settle marks one by one. The edit
    report counts logical changes and gains revisions.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 as jubarte changes lists them, with its marks when they differ (3 in header1 (7 marks)).

  • Markdown images stay inside their folder (#617). convert, compare and diff read an image only when its decoded path resolves, symlinks followed, inside the Markdown file's folder or the --resource-path root. 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 DIR to 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 return ANCHOR_NOT_FOUND; quote a fresh view with marks outside the code fence.

  • read --json snapshot schema 2: summary.tables and tables[] count
    top-level tables, with view-aligned index. Cell tables move into
    recursive nested arrays with a parent cell path and no index.
    read --tables uses the same top-level numbers and indents nested grids
    under their cell rows. Python Table gains parent and nested; its
    nested indices are None. 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 ids
    Substitution 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 line Inline ¶{r7 @AL} at the paragraph end
    Literal escape Attribution-shaped text after a closer was unprotected Escape the opening brace, as in {++new++}\{r1 @AL} and ¶\{
  • edit::PrepareOptions has a syntax field (PlanSyntax: V1,
    Flags, V2), the request syntax a refusal quotes. A struct literal adds
    ..PrepareOptions::default().

  • --skip-failed adds library fields (#1253). edit::PrepareOptions
    has skip_failed, edit::Operation an optional group,
    edit::EditReport skipped and output_sha256, edit::PreparedEdit
    `skipp...

Read more

jubarte v0.12.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 17:42

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 FILE prints the agent view (read FILE; a lone name without
    an extension needs read); jubarte A B prints
    the agent view of their redline, with the read options (-o FILE writes
    it instead; compare A B still 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 new jubarte add (a paragraph,
    a comment, or a reply to c5) take their operations from flags: each -p
    starts one, so one command carries several. --author, --datetime,
    --existing-revisions (default auto: keep a file's tracked changes) and
    --editing-mode (clean copy and report only) apply to all of them;
    --out-dir defaults to <stem>.edit beside 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, WASM flagPlan/changedView.

  • Document text diff views: github (unified, text), word, normal,
    context and side-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-lines control the view. Long lines use a 70-character window
    around the first change. Text output creates no implicit Word file.

  • convert --move-comments (also on diff; 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 on diff; 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.

  • PdfOptions has 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=…) for Document.to_pdf,
    to_png and render, keyword arguments of docx_to_pdf, and
    python -m jubarte_redlines convert --move-comments / --changed-only.
    In JavaScript they are docxToPdf's two trailing arguments and
    npx jubarte-redlines convert --move-comments / --changed-only.

  • fields update writes NUMPAGES, PAGEREF and SEQ results in
    \* roman and \* alphabetic as 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." A SEQ identifier 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 public Relationships::from_xml parser. 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 B no longer writes a file unless -o is given: it prints the
    redline's agent view. jubarte compare A B is unchanged.

  • edit prints the redline's changed blocks as the agent view instead of
    the patch (patch.diff is still written); --plan and --out-dir are
    optional.

  • jubarte read (alias text) 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 as edit), tracked changes as CriticMarkup
    followed by a note with their w:id and 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 AUTHOR for one author's) / --comments none / --dates /
    --no-page-markers. edit selectors take the view's short ids (p3,
    header1.p1, t0.r1.c2). The previous [body:p:N] projection remains
    available as inspect::markdown in 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 at jubarte-app/ or named by
    JUBARTE_APP_DIR. scripts/release.sh no longer bumps or commits the
    app's files. It runs the app's scripts/release-engine.sh instead,
    with --preflight at step 0 and in full as step 13: jubarte.pro, the
    app's facts, and its version files on a release/vX.Y.Z pull request.
    Step 14 is folded into it. release_downstream.sh, check_site_live.py
    and check_release_facts.py moved 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 made jubarte validate report 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 validate no longer calls two shapes Word opens Word-fatal: a
    table cell that ends in a content control holding its last paragraph
    (its repair ...
Read more

jubarte v0.11.3

Choose a tag to compare

@github-actions github-actions released this 06 Oct 16:32

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.doc reads 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
    stay LEGACY_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 md writes <!-- 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-markers opts 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 SECONDS exits 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, and release.sh regenerates them.
  • docs/adoption/ and examples/adoption/: one page per agent skill (Anthropic
    docx, OpenAI doc, MCP) that jubarte replaces. Each row has
    side-by-side evidence with a run.sh, a test in tests/adoption.rs, a
    plan for every gap, and the measured disk each skill's container drops.
    The adoption workflow runs it all.

Fixed

  • Convert, math: OMML text is set in Cambria Math with letters from the
    mathematical italic block (m:sty p/b upright, m:nor ordinary text).
    A display equation is centred unless its m:jc says 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-substitution passed. It is now generic
    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 repaired DUPLICATE_RID. Two
    different relationships under one Id are refused. Word refuses both.
  • Command line: converting to .docx or Markdown refuses --report,
    --font-report and --fail-on-substitution instead of ignoring them.
    A page-marker warning names the step that failed, and --timeout must
    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 holding aes at 0.9.2 and
    rdocx-opc at 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_windows and str::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's nonminimal_bool flagged 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/common keeps allow(dead_code): each test binary
    uses part of it.
  • Every CLI command but convert refuses 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 --json is 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 convert is a
    subset of the CLI's (no --timeout, --fail-on-substitution or -t),
    and exit 2 also means validate findings. The npm CLI needs Node 18.3+,
    and crates.io builds need Rust 1.94+ from 0.11.3. The body: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.rs runs 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.toml and Cargo.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