Skip to content

xdoc-v0.22.0

Choose a tag to compare

@hustcer hustcer released this 13 Nov 08:53
· 40 commits to main since this release

v0.22.0 - 2026/11/13

Compared with v0.21.0 (dcce9c1cb), through tag v0.22.0 (80bf93e7e). These notes cover CLI behavior and shared engine changes used by the CLI.

  • pptx i18n-text-plan now considers complete local paragraph and run style declarations, including nested color, font and effect properties, when identifying visible style boundaries. Translations previously planned as a single style may now require review or explicit mapping. Differently authored inherited styles are not assumed equivalent; inspect the plan before applying its patch.
  • Translation input migration: an explicit targetSegments entry for a source run group containing non-whitespace text must itself contain non-whitespace text. A previously accepted empty segment is rejected; redistribute the translated phrases among the source groups instead of erasing a meaningful style boundary.
  • pptx i18n-style-diff independently checks text occupancy in changed mixed-style paragraphs, including supported slide, table, chart, notes and shared-template parts. A meaningful source style group emptied in the candidate produces a visible-style-emptied blocker even if the remaining style XML is unchanged. Unreadable paragraph structure and changed paragraph counts can also block the check. Same-style continuation runs may still be consolidated without emptying the group.
  • The pptx-i18n-style-diff/v1 report now includes textStyleMapping, with a mapping ID, part, paragraph index, referenced slides, source and candidate text, and style-group details for changed mixed-style paragraphs. Update strict report consumers to accept the expanded schema. Review every mapping's phrase-to-style alignment against the source and candidate previews; non-empty groups and status: pass do not establish semantic alignment. Embedded workbook contents remain outside this style check and require separate validation.