Repository navigation
Release v1.7.0
v1.7.0
Changelog
Added
- PSR-3 logging (REQ-OBS-001):
WordTemplateProcessortakes an optional?LoggerInterface $logger(last
constructor argument, wired to@?logger, Monolog channelword_template). It logs finished merges (info),
path rejections byallowed_roots, dropped HTML images, timeouts and rejected input (warning) and unexpected
failures (error) with structured context; only the template file name is logged, never full paths, context
values or document contents.psr/log(^1.1 || ^2.0 || ^3.0) is now inrequire. HtmlImageSanitizer::droppedImages()and an optional temp directory argument (internal class).
Changed
- Coverage gate raised from 99% to 100% lines (
composer coverage-check, CI); README publishes the measured value
and TS/JS / Python N/A rows (REQ-TEST-003 / REQ-TEST-007). - Coverage reports move to
coverage/(coverage/coverage.xml,coverage/coverage-php.txt,
coverage/coverage-output.txt); the rootcoverage-datavolume is mounted at/app/coverage(REQ-DOC-001). - PHPDoc on every public class and method of
src/(REQ-CS-001);docs/PSR.mdre-evaluated (PSR-3 adopted, REQ-CS-007). - Makefile:
assetsno-op target andhelpin the REQ-MAKE-001 block order (incl.igor,update,update-deps,validate). .github/SECURITY.md: supported versions1.xand the canonical report checklist (REQ-SEC-003)..gitignore:# Archives / compressedblock with*.tar(REQ-GITIGNORE-001); demo compose explains itsdns:(REQ-DEMO-009).
What's Changed
- feat: PSR-3 logging and REQ-100 compliance fixes by @HecFranco in #10
Full Changelog: v1.6.1...v1.7.0