Skip to content

docxplus 2.1.0

Choose a tag to compare

@docxology docxology released this 08 Nov 22:18
· 29 commits to main since this release

Security

  • The media extra now requires Pillow >= 13.0.0, and the locked development/CI environment moves from 12.3.0. Pillow 13.0.0 fixes the open decoder memory-safety advisories, including critical heap overflows reachable from a crafted image — relevant because the media channel opens carriers carried by untrusted documents. Installations pinned to an older Pillow must upgrade.

Added

  • ODF metadata channel (odt_metadata): base64 in a meta:user-defined field named dxplus_<slot> in meta.xml. It preserves pre-existing user-defined fields, refuses a name collision, and shares the OOXML ceiling, sealing composition and digest binding. Wired through OdtPlusBuilder, OdtPlusReader, the manifest dispatcher, the validator and the profile-aware registry, with round-trip, capacity, collision, signature and tamper tests.

Changed

  • Untrusted content-types intake maintains one casefolded Override index instead of rescanning every prior declaration (quadratic → linear admission).
  • Reproduction output transcripts resolve the project root once; DXE2/DXE3 envelope construction no longer copies the encrypted body through a temporary.
  • Public intake and reader boundaries gained return and package annotations; the Linux descendant-custody regression checks process liveness instead of racing a sleep, and secret publication has real filesystem failure-path tests.

Migration

No wire-format change: existing format-3.0 packages remain readable. If you pin Pillow below 13.0.0, upgrade before using the media extra. The companion backend remains steganographer 0.9, selected with STEGANOGRAPHER_BIN or PATH.

See the changelog and release-validation contract.

Exercised validation

Exercised validation

  • 1,302 tests passed with one macOS-only case skipped; whole-source branch coverage was 92.13% against the 90% gate, in the recorded image sha256:3b706f40d4c4853093a8221636001ef7a57dccb0ce4a5416f5a776b60a863072, built from source inputs sha256:f98e50ec6ade2335081faec55f86c7d7155cdbf4090d720af21e9a37abe3d492.
  • run.sh all passed, including regenerated PDF/figures, the dossier, the living manuscript, both DOCX/ODT surfaces, and the project and 136-file template round-trips compared byte-identically.
  • The installed wheel passed import-origin, console-entry, encrypted DOCX/ODT payload and Office render-save-render receipts; the qualified build also passed an independent Python 3.11.18 consumer check (sealed roundtrip, signature, wrong-password and tamper refusal).
  • The daemon-bound procfs profile was admitted only for the verified Linux rootless daemon f17b7fa1-c5d2-418f-9cae-a0123560ae04. Read-only /sys and non-mutating write-open refusals on /proc/sys/kernel/hostname, /proc/sysrq-trigger and /sys/kernel/uevent_helper were recorded, and container stop/reap was proven.
  • Exact validated source bytes, generated-artifact hashes, host receipts and guest qualification are in SOURCE-2.1.0.json and VALIDATION-2.1.0.json. Checksums are transport integrity, not publisher identity signatures.