Releases: rviscomi/capo-wp
Releases · rviscomi/capo-wp
Release list
v0.1.3
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
v0.1.2
What's Changed
- WordPress.org Directory Compliance & Security:
- Added
uninstall.phphandler for clean database option removal upon uninstallation. - Changed debug performance HTML comment to opt-in by default (
capo_debug_commentsfilter) and removed external URLs. - Removed insecure
sslverifyoverride from Site Health loopback check. - Bundled
composer.jsoninto the distribution package per WordPress.org GPL guidelines.
- Added
- Compatibility & Standards Fixes:
- Resolved Plugin Check (PCP) errors (
wp_parse_url,Tested up to 7.0, plugin name headers, andABSPATHchecks). - Fixed PHP 7.4 backwards compatibility in Origin Trial subdomain validation.
- Aligned plugin name, text domain, and readme metadata to
capo-head-optimizer/capo-html-head-optimizer. - Enforced 5-tag maximum in
readme.txtmetadata.
- Resolved Plugin Check (PCP) errors (
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Release v0.1.1
- Added HTML
<head>validation engine with binary Origin Trial token decoding and origin/expiry checks. - Added live per-page diagnostics to frontend WordPress Admin Toolbar with scrollable warnings dropdown.
- Added syntax highlighting and decoded token metadata table in WordPress Site Health.
- Improved toolbar integration, output buffer lifecycle, and Site Health test performance.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- chore(deps): bump jsdom from 26.1.0 to 30.0.1 by @dependabot[bot] in #1
New Contributors
- @dependabot[bot] made their first contribution in #1
Full Changelog: https://github.com/rviscomi/capo-wp/commits/v0.1.0