Skip to content

1.5.0 (WIP)

Full Changelog

Enhancements

Bug fixes

  • Set writeAttribute return type by @radarhere fixing #2204 in #2776
  • Fix "Using null as an array offset" deprecation in Style::getStyle() on PHP 8.5 by @pwsdotru & @slayerfx fixing #2863 in #2892
  • Html: Map <s>, <strike> and <del> tags to strikethrough and fix decimal percentage table/cell widths (e.g. 49.85%) being truncated by @aswinkumar863 in #2930
  • Prevent htmlspecialchars() deprecation warnings by defaulting null values to empty strings in AbstractPart by @dafydd-rhys fixing #2829 in #2932
  • Writer ODText: Write the alternative text of an image as the description of its frame by @dkulyk in #2940
  • Word2007 Writer: Give a heading style its outline level, and a title without a title style a style of its own, so that the title stays a heading; Word2007 Reader: Read a style named Title as the title style by @dkulyk in #2939
  • Reader Word2007: Read the alternative text of an image from wp:docPr of an inline or floating image, and from v:shape of a VML image by @dkulyk in #2946
  • Writer ODText: Write a list item added with addListItem, which was dropped by @dkulyk in #2945
  • Reader Word2007: Read the size, position and wrapping of an image, from VML and DrawingML, instead of giving it the size of its pixels by @dkulyk in #2947
  • Writer ODText: Write the language of a text run, which was dropped, take any BCP 47 tag with its script, and use en-US for a document without a language as the Word2007 writer does, instead of fr-FR, zh-CN and hi-IN by @dkulyk in #2944
  • Writer Word2007: Point the page number of a table of contents entry at the bookmark of its title (PAGEREF _Toc…), and write the text of a title made of a text run by @dkulyk in #2952

Miscellaneous

  • Update phpstan/phpstan requirement from ^0.12.88 || ^1.0.0 to ^0.12.88 || ^1.0.0 || ^2.0.0 by @dependabot & @Progi1984 in #2736
  • Restrict phpunit/phpunit to < 12 to fix unit tests on PHP 8.3/8.4 by @slayerfx fixing #2842 in #2889
  • Add PHP 8.5 to the CI matrix and fix chr()/ReflectionMethod::setAccessible() deprecations by @slayerfx in #2892
  • Added optional dependency phpoffice/wmf by @Progi1984 in #2956

Deprecations

BC Breaks

Notes