All Versions
20
Latest Version
Avg Release Cycle
155 days
Latest Release
352 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

  • 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

    🛠 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