Repository navigation
Release v1.3.8
Release v1.3.8
Changelog
Fixed
- Worker mode — PHPWord
Htmlstatic state:process()now clears PHPWord's staticHtml::$css/$xpath/$optionsbefore the merge and restores the previous values infinally(Processor\PhpWordHtmlState). A<style>block in oneHtmlContentno 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 afterlistVariables(),listConditionalBlocks()and a failedprocess()(TemplateProcessorBridge::removeTemporaryDocument()).
Documentation
FRANKENPHP-WORKER-AUDIT.md— audit under kernel-not-reset (scenario B); W-01 / W-02 remediated, W-03 accepted.DEMO-FRANKENPHP.md/CONFIGURATION.md/README.md— worker isolation notes and audit link.
Tests
- Integration coverage for consecutive merges on one processor (
WorkerModeIsolationTest): stylesheet isolation, HTML state restore, no leftoverPhpWord*temp files.
Upgrade
composer require nowo-tech/word-template-bundle:^1.3.8No API or config changes. See UPGRADING.md.
Full Changelog: v1.3.7...v1.3.8