docx4j 6.1.1 was released today.
This is a minor release.
For Maven users, 6.1.1 is in the Central Repository now.
Otherwise, see https://www.docx4java.org/downloads.html
Docx4j 6.1.1 release notes
6.1.x will be our last releases which support Java 6. (The plan is that docx4j 8.x, when released, will require Java 8+, and so on. Easy to remember.)
API breaking changes have been avoided, so it should be easy to get your code running against this.
From the changelog at https://github.com/plutext/docx4j/blob/ ... ANGELOG.md
Notable Changes in Version 6.1.0
vml and mc lists are now of type ArrayListVml|Mce respecitvely, in which parent object is automatically set correctly
(as is done for wml objects)
TraversalUtil replaceChildren: support replacing in a bare List object.
OpenDoPE removal handler: new option ALL_BUT_PLACEHOLDERS_CONTENT,
Ordinarily, if an SDT contains XML but no real content, that XML is also removed.
Choose this option if you want to keep placeholder XML (but remove the SDT).