Skip to content

1.4.0 (WIP)

Full Changelog

Enhancements

Bug fixes

Miscellaneous

  • Bump dompdf/dompdf from 2.0.4 to 3.0.0 by @dependabot fixing #2621 in #2666
  • Add test case to make sure vMerge defaults to 'continue' by @SpraxDev in #2677
  • Adding the possibility to use iterate search and replace with setValues by @moghwan in #2632
  • Add test cases that test the ODTText and Word2007 reader using the corresponding writer, increasing test coverage by @MichaelPFrey in #2745

Deprecations

  • Deprecate PhpOffice\PhpWord\Style\Paragraph::getIndent() : Use PhpOffice\PhpWord\Style\Paragraph::getIndentLeft()
  • Deprecate PhpOffice\PhpWord\Style\Paragraph::setHanging() : Use PhpOffice\PhpWord\Style\Paragraph::setIndentHanging()
  • Deprecate PhpOffice\PhpWord\Style\Paragraph::setIndent() : Use PhpOffice\PhpWord\Style\Paragraph::setIndentLeft()

BC Breaks

Notes

  • Writer ODText previously used to set 'style:use-window-font-color' to 'true', now it is set to 'false'. (see #2735) The effect of this attribute is "implementation dependent" (if implemented at all). Setting it to false allows setting a default font color and improves interoperabilt, but may break certain specific use cases.