Skip to content

v1.43.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 23 Jun 15:27

Based on my analysis of the commits and code changes, here are the release notes:

What's New

  • Outer shadow effects on vector shapes β€” Shape shadows render with full blur, distance, and direction control via SVG filters; shadow paint extent grows dynamically to accommodate blur spread.
  • Shape-group transforms β€” Groups now support rotation, flip-horizontal, and flip-vertical with proper composition for nested shapes and correct child-local orientation.
  • Images clipped to preset shape geometry β€” Pictures masked by a preset shape carry clip path and object-fit through the full pipeline, with support for cover and fill modes.
  • Enhanced anchoring for page-relative images β€” Anchored objects with page-relative positioning now participate in wrap calculations; pre-registered anchors resolve against the active section.
  • Section marker paragraph support β€” Anchored objects on section-marker paragraphs preserve their anchors at the marker origin with Word-compatible offsets.
  • Paragraph spacing in text boxes β€” Paragraph-level before/after spacing is now rendered in vector shape text, with proper distinction between paragraph breaks and inline line breaks.

Improvements

  • Anchored media in headers and footers β€” Page-level wrapNone media render as absolute overlays; non-page-relative overlays position from container origin; decoration stacking respects authored z-index order.
  • Arrow shape geometry β€” Arrow shapes regenerated with Word-compatible head proportions and vertex distribution.
  • Stroke width scaling β€” Large-coordinate shapes preserve stroke width via vector-effect: non-scaling-stroke.
  • Image mask dirty tracking β€” Inline image mask edits and drawing changes now repaint correctly through layout-bridge change detection.
  • Negative srcRect handling β€” Negative clip values (which Word treats as canvas growth) handled explicitly, distinguished from true crop.

Testing

  • Shape regression suite β€” 1,000+ line comprehensive test coverage for shadow effects, group transforms, shape-clipped images, anchoring, and preset geometry with 80+ specific assertions.