Skip to content

Release v1.3.8

Choose a tag to compare

@HecFranco HecFranco released this 25 Sep 06:37
· 70 commits to main since this release

Release v1.3.8

Changelog

Fixed

  • Worker mode — PHPWord Html static state: process() now clears PHPWord's static Html::$css / $xpath / $options before the merge and restores the previous values in finally (Processor\PhpWordHtmlState). A <style> block in one HtmlContent no longer styles documents generated by later requests in the same FrankenPHP worker, and the last HTML DOM is not kept in memory after the merge.
  • Temp files: PHPWord's working copy of the template (PhpWord* in the PHPWord temp dir) is now deleted after listVariables(), listConditionalBlocks() and a failed process() (TemplateProcessorBridge::removeTemporaryDocument()).

Documentation

Tests

  • Integration coverage for consecutive merges on one processor (WorkerModeIsolationTest): stylesheet isolation, HTML state restore, no leftover PhpWord* temp files.

Upgrade

composer require nowo-tech/word-template-bundle:^1.3.8

No API or config changes. See UPGRADING.md.

Full Changelog: v1.3.7...v1.3.8