Skip to content

rpptx-v0.15.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 09:07

Highlights

PowerPoint0.15.0 aligns the fifteen shared OOXML and PowerPoint Rust packages, CLI and Python distribution. This release covers fit diagnostics, Markdown escaping, slide lookup, stored validation, pictures, charts and layout. Earlier S95.4 shared-buffer work is not a new PowerPoint performance feature.

Added

  • expose Python slide collection index lookup with current, stale and removed handle behavior, and retain independent fit-frame diagnostics rather than refusing an entire deck for the supported read-only cases. Addresses #431 through adapted PR438.
  • include readable chart titles, categories, series and values in semantic exports, with diagnostic-channel omissions for unreadable charts. Shared font support additions are included where consumed, without promising a new PowerPoint Wingdings rendering policy. The shared doc-hidden symbol-resolution helpers originate in #433 and adapted PR440.
  • add shared OPC get_part_shared, returning a borrowed Option<&Arc<Vec<u8>>> without changing get_part. This is the shared accessor outcome from #437 and adapted PR443, not a measured PowerPoint performance gain.

Fixed

  • qualify duplicate-shape fit diagnostics by actual leaf, retain supported notes-shape matching, grow supported table rows and spans, distinguish width/off-slide overflow, emit plain deduplicated CLI fit lines and preserve Markdown escaping and repeated spaces. Addresses #431 through adapted PR438.
  • validate the bounded stored PowerPoint schema, reference and finite-value subset through existing Rust file and CLI channels. Shared package opening rejects exact duplicate decoded ZIP names and forbidden XML characters. Negative authored dimensions refuse while valid zero dimensions remain supported. Addresses the PowerPoint and shared cases in #435 through adapted PR439.
  • render the supported EMF raster subset and interlaced PNGs, distinguish image decode errors, retain extra chart axis IDs, format the supported chart codes with explicit fallbacks, export readable charts, omit hidden presentation shapes from visual output while retaining semantic text, write per-span PDF ActualText from each span's own logical text, and align Two Content layout inheritance. Addresses #436 through adapted PR442.

Compatibility

Shared OOXML0.15.0 exposes OpcPackage.parts: HashMap<String, Arc<Vec<u8>>> and remove_part: Option<Arc<Vec<u8>>>. Pass a Vec<u8> directly to generic set_part rather than an ambiguous Vec.into() expression. Python package signatures retain their existing contracts except the stated additive slide lookup surface. The new minor line makes the contract distinction explicit after #429.

Published OPC0.14.3 and0.14.4 have conflicting Vec and Arc contracts. The exact examined jubarte clients can deliberately select OPC0.14.3 for source type-check recovery. Existing0.14.4 locks and exact or minimum0.14.4 dependencies retain their recovery limits. No universal old-line patch, runtime guarantee, yank or registry rollback is claimed.

Validation is a bounded subset and preserves valid opaque payloads. Metafile rendering remains a raster subset rather than complete EMF or WMF support. Chart fallback and layout limits remain explicit. Word rendering changes do not establish new PowerPoint symbol behavior or Word Python performance gains for this family. The separate unpublished rpptx-wasm carrier stays0.12.1, and npm publication is outside this release.

Contributors

  • @hadim reported the PowerPoint and shared cases in #431, #433, #437, #435 and #436, and supplied PR440, PR443 and PR438, PR439 and PR442. Those contributions were adapted to the accepted family-specific contracts rather than claimed as unchanged merges.
  • @arthrod reported the shared OPC compatibility failure in #429, prompting the explicit minor boundary and bounded recovery guidance.