Skip to content

3.3

Choose a tag to compare

@caring-coder caring-coder released this 05 Apr 14:26
· 1993 commits to main since this release
Immutable release. Only release title and notes can be modified.
6018475

Version 3.3.0 of Office-stamper is now available! The headline feature is the long-awaited support for Scalable Vector Graphics (SVG), allowing you to insert crisp, resolution-independent diagrams and logos into your DOCX documents.

🖼️ SVG Support (Major Change)

The Image class and engine now automatically detect SVG content. This allows for high-fidelity vector image stamping, moving beyond traditional raster formats like BMP, PNG, and JPG. This resolves a long-standing request for better support of diagrams generated by tools like PlantUML, gnuplot, or Mermaid.

Important

🧪 Invitation to Test: SVG support in OpenXML is a powerful addition, but it can behave differently across various DOCX editors. We invite all users to test this new feature with their complex diagrams. If you encounter any rendering issues—whether in Microsoft Word, LibreOffice, or other viewers—please open an issue so we can refine the implementation!

🛠️ New Features

  • Smart Tag Attribute Validation: Introduced WmlUtils.hasTagAttribute to check for the existence and value of attributes within DOCX smart tags, enabling more robust template logic.

🧹 Refactorings & Cleanup

  • Internal API Streamlining: Removed legacy ByteUtils and DocxRenderer from the utils module as part of an ongoing effort to simplify the codebase. These have been replaced by the modern internal Docx-to-Asciidoc toolchain.

📦 Dependencies

  • Spring: Updated Spring Expression and Context to 7.0.6.
  • Jackson: Updated Jackson monorepo to 2.21.2.
  • Quality: Updated PIT mutation testing to 1.23.0 and Mockito JUnit Jupiter to 5.23.0.
  • JavaFX: Updated to version 27-ea+10 for CLI and testing.

🏗️ Quality & Tooling

  • Build System: Added maven-jxr-plugin for generating cross-reference source documentation.

Full Changelog: v3.2.0...v3.3.0
Read the blog post: Office-stamper v3.3 — Vector Graphics and SVG Stamping