Skip to content

Releases: rviscomi/capo-wp

v0.1.3

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

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 15 Aug 04:52

What's Changed

  • WordPress.org Directory Compliance & Security:
    • Added uninstall.php handler for clean database option removal upon uninstallation.
    • Changed debug performance HTML comment to opt-in by default (capo_debug_comments filter) and removed external URLs.
    • Removed insecure sslverify override from Site Health loopback check.
    • Bundled composer.json into the distribution package per WordPress.org GPL guidelines.
  • Compatibility & Standards Fixes:
    • Resolved Plugin Check (PCP) errors (wp_parse_url, Tested up to 7.0, plugin name headers, and ABSPATH checks).
    • 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.txt metadata.

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@rviscomi rviscomi released this 15 Aug 04:44

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

Choose a tag to compare

@github-actions github-actions released this 15 Aug 04:06

What's Changed

  • chore(deps): bump jsdom from 26.1.0 to 30.0.1 by @dependabot[bot] in #1

New Contributors

Full Changelog: https://github.com/rviscomi/capo-wp/commits/v0.1.0