All Versions
20
Latest Version
Avg Release Cycle
155 days
Latest Release
1028 days ago

Changelog History
Page 1

  • v0.18.3 Changes

    February 17, 2022

    Full Changelog

    ๐Ÿ› Bug fixes

    • PHP 8.1 compatibility
  • v0.18.2 Changes

    June 04, 2021

    Full Changelog

    ๐Ÿ› Bug fixes

    • when adding image to relationship first check that the generated RID is actually unique #2063 (tpv-ebben)
    • โšก๏ธ Update chart, don't write 'c:overlap' if grouping is 'clustered' #2052 (dfsd534)
    • โšก๏ธ Update Html parser to accept line-height:normal #2041 (joelgo)
    • ๐Ÿ›  Fix image border in Word2007 Writer for LibreOffice 7 #2021 (kamilmmach)

    Miscellaneous

  • v0.18.1 Changes

    March 08, 2021

    Full Changelog

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix BC break in #1946. This package does not replace laminas/laminas-zendframework-bridge #2032 (mussbach)
  • v0.18.0 Changes

    February 12, 2021

    Full Changelog

    โœจ Enhancements

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix image stroke in libreoffice 7.x #1992 (Adizbek)
    • ๐Ÿ›  Fix deprecated warning for non-hexadecimal number #1988 (Ciki)
    • ๐Ÿ›  Fix limit not taken into account when adding image in template #1967 (jsochor)
    • โž• Add null check when setComplexValue is not found #1936 (YannikFirre)
    • Some document have non-standard locale code #1824 (ErnestStaug)
    • ๐Ÿ›  Fixes PHPDoc @param and @return types for several Converter methods #1818 (caugner)
    • โšก๏ธ Update the regexp to avoid catastrophic backtracking #1809 (juzser)
    • ๐Ÿ›  Fix PHPUnit tests on develop branch #1771 (mdupont)
    • ๐Ÿ‘ฏ TemplateProcessor cloneBlock wrongly clones images #1763 (alarai)

    Miscellaneous

    • Compatibility with PHP 7.4, PHP 8.0 and migrate to Laminas Escaper #1946 (liborm85)
    • โœ‚ Remove legacy PHPOffice/Common package, fix PHP 8.0 compatibility #1996 (liborm85)
    • ๐Ÿ‘Œ Improve Word2007 Test Coverage #1858 (oleibman)
    • ๐Ÿ›  Fix typo in docs. Update templates-processing.rst #1952 (mnvx)
    • ๐Ÿ›  Fix documentation and method name for FootnoteProperties #1776 (mdupont)
    • ๐Ÿ›  fix: documentation about paragraph indentation #1764 (mdupont)
    • โšก๏ธ Update templates-processing.rst #1745 (igronus)
    • Unused variables $rows, $cols in sample #1877 (ThanasisMpalatsoukas)
    • โž• Add unit test for NumberingStyle #1744 (Manunchik)
    • โž• Add unit test for PhpWord Settings #1743 (Manunchik)
    • โž• Add unit test for Media elements #1742 (Manunchik)
    • โšก๏ธ Update templates processing docs #1729 (hcdias)
  • v0.17.0 Changes

    October 01, 2019

    โž• Added

    ๐Ÿ›  Fixed

    Miscellaneous

    • โœ… Use embedded http server to test loading of remote images @troosan #1544
    • ๐Ÿ”„ Change private to protected to be able extending class Html @SpinyMan #1646
    • ๐Ÿ›  Fix apt-get crash in Travis CI for PHP 5.3 @mdupont #1707
  • v0.16.0 Changes

    December 30, 2018

    โž• Added

    • โž• Add getVariableCount method in TemplateProcessor. @nicoder #1272
    • โž• Add setting Chart Title and Legend visibility @Tom-Magill #1433
    • โž• Add ability to pass a Style object in Section constructor @ndench #1416
    • โž• Add support for hidden text @Alexmg86 #1527
    • โž• Add support for setting images in TemplateProcessor @SailorMax #1170
    • โž• Add "Plain Text" type to SDT (Structured Document Tags) @morrisdj #1541
    • โž• Added possibility to index variables inside cloned block in TemplateProcessor @JPBetley #817
    • โž• Added possibility to replace variables inside cloned block with values in TemplateProcessor @DIDoS #1392

    ๐Ÿ›  Fixed

    Miscelaneous

  • v0.15.0 Changes

    July 14, 2018

    โž• Added

    ๐Ÿ›  Fixed

    ๐Ÿ”„ Changed

    • โœ‚ Remove zend-stdlib dependency @Trainmaster #1284
    • ๐Ÿ’… The default unit for \PhpOffice\PhpWord\Style\Image changed from px to pt.

    Miscelaneous

    • โฌ‡๏ธ Drop GitHub pages, switch to coveralls for code coverage analysis @czosel #1360
  • v0.14.0 Changes

    December 29, 2017

    ๐Ÿš€ This release fixes several bugs and adds some new features.
    โš  PHP 7.0 and 7.1 are now supported without warnings.

    โž• Added

    • Possibility to control the footnote numbering - @troosan #1068
    • Image creation from string - @troosan #937
    • Introduced the \PhpOffice\PhpWord\SimpleType\NumberFormat simple type. - @troosan
    • ๐Ÿ‘Œ Support for ContextualSpacing - @postHawk #1088
    • Possiblity to hide spelling and/or grammatical errors - @troosan #542
    • 0๏ธโƒฃ Possiblity to set default document language as well as changing the language for each text element - @troosan #1108
    • ๐Ÿ‘Œ Support for Comments - @troosan #1067
    • ๐Ÿ‘Œ Support for paragraph textAlignment - @troosan #1165
    • โž• Add support for HTML underline tag in addHtml - @zNightFalLz #1186
    • ๐Ÿ‘ Allow to change cell width unit - @guillaume-ro-fr #986
    • ๐Ÿ‘ Allow to change the line height rule @troosan
    • Implement PageBreak for odt writer @cookiekiller #863 #824
    • ๐Ÿ‘ Allow to force an update of all fields on opening a document - @troosan #951
    • ๐Ÿ‘ Allow adding a CheckBox in a TextRun - @irond #727
    • โž• Add support for HTML img tag - @srggroup #934
    • โž• Add support for password protection for docx - @mariahaubner #1019

    ๐Ÿ›  Fixed

    ๐Ÿ—„ Deprecated

    • PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();
  • v0.13.0 Changes

    July 31, 2016

    ๐Ÿš€ This release brings several improvements in TemplateProcessor, automatic output escaping feature for OOXML, ODF, HTML, and RTF (turned off, by default). It also introduces constants for horizontal alignment options, and resolves some issues with PHP 7. Manual installation feature has been dropped since the release. Please, use Composer to install PHPWord.

    โž• Added

    • Introduced the \PhpOffice\PhpWord\SimpleType\Jc simple type. - @RomanSyroeshko
    • Introduced the \PhpOffice\PhpWord\SimpleType\JcTable simple type. - @RomanSyroeshko
    • ๐Ÿ‘€ Introduced writer for the "Paragraph Alignment" element (see \PhpOffice\PhpWord\Writer\Word2007\Element\ParagraphAlignment). - @RomanSyroeshko
    • ๐Ÿ‘€ Introduced writer for the "Table Alignment" element (see \PhpOffice\PhpWord\Writer\Word2007\Element\TableAlignment). - @RomanSyroeshko
    • ๐Ÿ‘Œ Supported indexed arrays in arguments of TemplateProcessor::setValue(). - @RomanSyroeshko #618
    • Introduced automatic output escaping for OOXML, ODF, HTML, and RTF. To turn the feature on use phpword.ini or \PhpOffice\PhpWord\Settings. - @RomanSyroeshko #483
    • ๐Ÿ‘Œ Supported processing of headers and footers in TemplateProcessor::applyXslStyleSheet(). - @RomanSyroeshko #335

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved error message for the case when autoload.php is not found. - @RomanSyroeshko #371
    • ๐Ÿ’… Renamed the align option of NumberingLevel, Frame, Table, and Paragraph styles into alignment. - @RomanSyroeshko
    • ๐Ÿ‘Œ Improved performance of TemplateProcessor::setValue(). - @kazitanvirahsan #614, #617

    ๐Ÿ—„ Deprecated

    • ๐Ÿ’… getAlign and setAlign methods of NumberingLevel, Frame, Table, and Paragraph styles.
      ๐Ÿ‘‰ Use the correspondent getAlignment and setAlignment methods instead. - @RomanSyroeshko
    • left, right, and justify alignment options for paragraphs (now are mapped to Jc::START, Jc::END, and Jc::BOTH). - @RomanSyroeshko
    • left, right, and justify alignment options for tables (now are mapped to Jc::START, Jc::END, and Jc::CENTER). - @RomanSyroeshko
    • ๐Ÿ‘ TCPDF due to its limited HTML support. Use DomPDF or MPDF writer instead. - @RomanSyroeshko #399

    โœ‚ Removed

    • ๐Ÿ’… \PhpOffice\PhpWord\Style\Alignment. Style properties, which previously stored instances of this class, now deal with strings.
      In each case set of available string values is defined by the correspondent simple type. - @RomanSyroeshko
    • ๐Ÿš€ Manual installation support. Since the release we have dependencies on third party libraries,
      so installation via ZIP-archive download is not an option anymore. To install PHPWord use Composer.
      ๐Ÿšš We also removed \PhpOffice\PhpWord\Autoloader, because the latter change made it completely useless.
      ๐Ÿ‘€ Autoloaders provided by Composer are in use now (see bootstrap.php). - @RomanSyroeshko
    • \PhpOffice\PhpWord\Shared\Drawing replaced by \PhpOffice\Common\Drawing. - @Progi1984 #658
    • \PhpOffice\PhpWord\Shared\Font. - @Progi1984 #658
    • \PhpOffice\PhpWord\Shared\String replaced by \PhpOffice\Common\Text. - @Progi1984 @RomanSyroeshko #658
    • \PhpOffice\PhpWord\Shared\XMLReader replaced by \PhpOffice\Common\XMLReader. - @Progi1984 #658
    • \PhpOffice\PhpWord\Shared\XMLWriter replaced by \PhpOffice\Common\XMLWriter. - @Progi1984 @RomanSyroeshko #658
    • AbstractContainer::addMemoryImage(). Use AbstractContainer::addImage() instead.

    ๐Ÿ›  Fixed

    • Undefined property error while reading MS-DOC documents. - @jaberu #610
    • Corrupted OOXML template issue in case when its names is broken immediately after $ sign.
      That case wasn't taken into account in implementation of TemplateProcessor::fixBrokenMacros(). - @RomanSyroeshko @d-damien #548
  • v0.12.1 Changes

    August 30, 2015

    ๐Ÿš€ Maintenance release. This release is focused primarily on TemplateProcessor.

    ๐Ÿ”„ Changes

    • ๐Ÿ”„ Changed visibility of all private properties and methods of TemplateProcessor to protected. - @RomanSyroeshko #498
    • ๐Ÿ‘Œ Improved performance of TemplateProcessor::setValue(). - @RomanSyroeshko @nicoSWD #513

    ๐Ÿ›  Bugfixes

    • Fixed issue with "Access denied" message while opening Sample_07_TemplateCloneRow.docx and Sample_23_TemplateBlock.docx result files on Windows platform. - @RomanSyroeshko @AshSat #532
    • Fixed PreserveText element alignment in footer (see Sample_12_HeaderFooter.php). - @RomanSyroeshko @SSchwaiger #495