• v1.0.1 7194c99c9b

    UltimateByte released this 2025-11-09 16:04:35 +01:00 | 10 commits to main since this release

    We are pleased to offer the first update to this well received plugin.

    As a user noted, there was room for optimization. So we did optimize. And used the occasion to separate JS into multiple files in order to make development easier. This was necessary as the dev of this project is becoming more mature.

    We also fixed some code deprecation from the block editor (console warnings), though nobody asked, we do care being as clean as possible!

    Ultimately, we've finally tested the translation system and it was not working as intended for JS, so we've adapted to fit WordPress' new standards.

    Optimization

    • Frontend Performance: CSS now loads conditionally only on pages with blur blocks
    • Zero JavaScript on Frontend: Removed all JS dependencies for visitors (15KB+ saved)
    • Transient Caching: Added per-post caching to avoid expensive block parsing on every page load

    Code Organization

    • Modular JavaScript: Split monolithic editor.js into 5 focused files:
      • common.js - Shared utilities
      • editor-attributes.js - Block attribute registration
      • editor-inspector.js - Inspector controls UI
      • editor-preview.js - Live editor preview
      • editor-save.js - Save-time HTML generation

    Deprecation Fixes

    • Fixed WordPress 6.7+ component deprecation warnings:
      • Added __next40pxDefaultSize prop to all controls
      • Added __nextHasNoMarginBottom prop to all controls
    • Updated components: SelectControl, RangeControl, ToggleControl

    Translation Improvements

    • Fixed JavaScript translation loading (now uses JSON format)
    • Removed --skip-js from POT generation
    • Added make-json step to build process
    • Updated all 7 language files with new strings
    • Translations now properly load in Gutenberg editor

    Technical Changes

    • Cache invalidation on post save
    • Improved file loading logic with proper dependencies
    • Updated release script for JSON translation generation
    Downloads