Skip to content

v1.2.0

Choose a tag to compare

@daniel-vacic daniel-vacic released this 02 Jan 02:25
· 33 commits to main since this release
8a1e5f4

What's New

Blog Filters Blocks

Three new blocks for filtering blog archives with Interactivity API:

  • tgp/blog-filters — Parent container with state management
  • tgp/blog-category-filter — Category pills with active state styling
  • tgp/blog-search — Search input with icon and clear button

Self-Hosted Plugin Updates

Automatic updates from GitHub releases using native WordPress hooks. No external dependencies required.

Testing Infrastructure

  • PHPUnit with Brain Monkey (38 tests)
  • Jest with Interactivity API mock (21 tests)
  • Playwright E2E tests
  • GitHub Actions CI for all tests

Shared Helper Classes

  • TGP_Button_Block_Renderer — Consolidated button rendering
  • TGP_Pill_Block_Renderer — Filter pill rendering
  • TGP_SVG_Sanitizer — Centralized SVG sanitization

New Filters

  • tgp_llms_txt_description — Customize llms.txt site description
  • tgp_llms_txt_contact_url — Customize contact page path
  • tgp_llms_txt_pages — Customize page listings

Breaking Changes

CSS class names migrated to BEM pattern:

  • Before: .tgp-copy-btn, .tgp-btn-icon
  • After: .wp-block-tgp-copy-button, .wp-block-tgp-copy-button__icon

Requirements

  • WordPress 6.5+
  • PHP 8.2+

Full Changelog

See CHANGELOG.md