v1.1.0 - Block Modernization
Block Modernization
This release modernizes the plugin's Gutenberg blocks using WordPress 6.5+ APIs.
Changed
- BREAKING: Requires WordPress 6.5+ (was 5.0+)
- Migrated copy button to WordPress Interactivity API for reactive state management
- Copy button now fetches directly from
.mdendpoint (faster, cached) instead of admin-ajax.php - Replaced custom color/style attributes with WordPress Block Supports API
- Buttons now inherit theme styles automatically (Brand, Dark, Light, Tint variants)
- Split
llm-buttonsblock into separatecopy-buttonandview-buttonblocks
Removed
includes/class-ui-buttons.php(AJAX handler no longer needed)blocks/llm-buttons/editor.css(styles now from Block Supports)- Custom
backgroundColor,textColor,borderRadiusattributes (replaced by Block Supports)
Fixed
- Button styles now match theme design system
- Improved performance by eliminating admin-ajax.php overhead
Requirements
- WordPress 6.5+
- PHP 8.2+