Skip to content

v0.1.3

Latest

Choose a tag to compare

@rviscomi rviscomi released this 15 Aug 20:11

What's Changed

  • Speculation Rules API Support & Upstream Parity:
    • Added support for Speculation Rules API (<script type="speculationrules">) classified under Weight 1 (Prefetch / Prerender).
    • Upgraded core rules engine to 100% parity with @rviscomi/capo.js v2.2.1.
  • HTML Parser & Tokenizer Robustness:
    • Enhanced attribute parser to preserve tags containing > within quoted attribute values (e.g. inline scripts, JSON-LD, content attributes).
    • Added full support for HTML conditional comments (<!--[if ...]>) and CDATA sections in <head>.
    • Refined boolean and empty attribute parsing using explicit null checks.
    • Added pass-by-reference $analysis diagnostics parameter and reset helper to Parser for optimized memory lifecycle management.
  • Security & Site Health:
    • Hardened frontend Admin Toolbar diagnostic injection against regex backreference exploits.
    • Extended Site Health loopback request timeout to 10 seconds via dynamic filter.
  • Testing & Tooling:
    • Consolidated unit testing harness with unified tests/bootstrap.php.
    • Added CI matrix testing across PHP 7.4 through 8.3.

Full Changelog: v0.1.2...v0.1.3

Full Changelog: v0.1.2...v0.1.3