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.jsv2.2.1.
- Added support for Speculation Rules API (
- 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
$analysisdiagnostics parameter and reset helper toParserfor optimized memory lifecycle management.
- Enhanced attribute parser to preserve tags containing
- 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.
- Consolidated unit testing harness with unified
Full Changelog: v0.1.2...v0.1.3
Full Changelog: v0.1.2...v0.1.3