Custom Block Builder – Lazy Blocks changelog

By nK, on WordPress.org since 2018. 20,000+ active installs.

Browse code

21 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.6.1
    • fixed invalid Handlebars templates breaking the page and the editor preview
    Source Diff vs 4.6.0
  2. 4.6.0
    • patched security vulnerabilities in build dependencies
    • Pro:
    • added a license screen with your license status, expiry date, and steps to find your key, clarified update messages in the Plugins list, and hid license notices in copies embedded in a theme or plugin
    Source Diff vs 4.5.2
  3. 4.5.2
    • added a Live Preview button on the WordPress.org plugin page, with a sample Hero block to try
    • fixed a fatal error with WPML when a block has a Repeater inside another Repeater with translatable controls
    • fixed inline styles with a colon or semicolon inside a value, such as a background image URL, being cut in the editor when the block output uses useBlockProps
    • fixed the block builder marking a block as changed and offering Undo as soon as it opens
    • fixed the block builder sidebar staying empty after creating a block on sites with SCRIPT_DEBUG enabled
    • Pro:

    And 1 more note.

    Source Diff vs 4.5.1
  4. 4.5.1
    • fixed style variations in the block builder ignoring typing in the Name and Label fields and staying in the list after removal
    Source Diff vs 4.5.0
  5. 4.5.0
    • added WordPress 7.2 compatibility
    • requires PHP version 8.3 or higher
    • redesigned the block builder: a block card with the icon, title, description and an editable slug, a control picker laid out like the block inserter, and control settings grouped into Settings, Layout and Behavior
    • improved the block builder controls list: one actions menu per control, double-click to rename, arrow keys to move the selection, and a button to copy the control name
    • added border, background, duotone, sticky position, interactivity, text columns, text shadow (WordPress 7.2), width and height supports to the block builder, all off by default
    • added a block builder notice when style supports are enabled but the frontend output has no useBlockProps wrapper

    And 17 more notes.

    Source Diff vs 4.4.2
  6. 4.4.2
    • improved page and editor loading speed on sites with many blocks
    • fixed WPML offering block settings such as select values, colors and block IDs for translation when no control of the block is marked Translate
    • Pro:
    • improved page loading speed on sites with a few dozen blocks or more, which could take several seconds since Pro 4.1
    • fixed a failed plugin update on the Plugins screen holding back the other updates queued after it until the page was reloaded
    Source Diff vs 4.4.1
  7. 4.4.1
    • changed Lazy Blocks to stay active next to Lazy Blocks Pro instead of being deactivated
    Source Diff vs 4.4.0
  8. 4.4.0
    • added WordPress 7.1 compatibility
    • added filters for extending how a block renders in the editor preview
    • improved the Gallery control in the block builder, which now previews its images in a grid
    • improved Gallery control loading speed on galleries with many images, fetching image data in one request instead of one per image
    • fixed dragging values in a multi-select control inside the editor canvas
    • fixed Image, File and Gallery values not being read when written as raw JSON in block markup

    And 4 more notes.

    Source Diff vs 4.3.1
  9. 4.3.1
    • improved performance by caching prepared get_blocks() results within a single request
    • fixed Lazy Blocks role capability sync to run once on plugin upgrade instead of on every admin request
    • Pro:
    • fixed SEO frontend preload performance by batching initial block renders in a single request
    • fixed code editor syntax highlighting when system dark mode is enabled
    Source Diff vs 4.3.0
  10. 4.3.0
    • added compatibility for WordPress 7.0
    • added support Groups Content and List groups for controls in Inspector
    • fixed Checkbox with multiple options and Save in Meta error
    • fixed possible vulnerability – stronger checks on who can change block code (editor, front-end output, and scripts), so permissions are respected even if something tries to update block meta outside the normal editor
    • fixed displaying unfinished block drafts with an empty slug
    • minor fixes and changes
    Source Diff vs 4.2.1
  11. 4.2.1
    • fixed context-aware capability check for PHP block rendering (resolves XSS)
    Source Diff vs 4.2.0
  12. 4.2.0
    • added caching for the get_blocks() function to prevent loading block custom posts on every page load. This fixes the issue with heavy SQL calls on sites using a large number of blocks (20+)
    • fixed URL control inside the ‘content’ placement. Since you asked to keep it working in Content, we restored the control here and now display settings in a Modal – this is a workaround for Gutenberg limitations with URL components inside iframe preview
    • fixed required control check and post locking when a block is rendered inside a preview example
    • Pro:
    • added Link control: https://www.lazyblocks.com/docs/blocks-controls/link/
    • added Token Field control: https://www.lazyblocks.com/docs/blocks-controls/token-field/

    And 2 more notes.

    Source Diff vs 4.1.1
  13. 4.1.1
    • security fix: prevent unauthorized block export access
    • added $content attribute to lzb/block_render/output filters
    • Pro:
    • fixed rendering blocks in widgets screen when Rank Math is active
    Source Diff vs 4.1.0
  14. 4.1.0
    • !breaking change – in Theme Templates renamed $context to $render_location to use $context for Gutenberg blocks Context feature instead: https://www.lazyblocks.com/docs/blocks-code/relationships/
    • requires PHP version 8.0 or higher, with version 8.3 and above recommended
    • added JS filter for devs: lzb.registerBlockType.args
    • added PHP filters for devs: lzb/register_blocks, lzb/get_blocks
    • fixed content wrapper controls color inheritance from parent
    • fixed losing focus from input fields in the inspector controls when block render preview updated

    And 7 more notes.

    Source Diff vs 4.0.3
  15. 4.0.3
    • Pro:
    • fixed incorrect displaying controls in inspector inside different groups
    Source Diff vs 4.0.2
  16. 4.0.2
    • fixed displaying block border in editor when used repeater in inspector
    Source Diff vs 4.0.1
  17. 4.0.1
    • restored lzb/block_render/allow_wrapper filter to prevent existing user blocks from breaking, but we now deprecate this hook and display a notice to migrate to the useBlockProps attribute
    • Pro:
    • fixed updater caching issue that sometimes caused Forbidden errors
    Source Diff vs 4.0.0
  18. 4.0.0
    • deprecated Templates feature. You need to migrate to the WordPress FSE theme and use Template editor natively. Learn more -> https://wordpress.org/documentation/article/template-editor/. Our implementation will still work for existing sites, but it is deprecated for future use.
    • improved Block Builder UI and reworked some option names and placement
    • added possibility to control the block wrapper and remove the block border from the editor https://www.lazyblocks.com/docs/blocks-code/use-block-props/
    • added setup wizard with predefined blocks for quick start your custom blocks https://www.lazyblocks.com/docs/create-block/#setup-wizard
    • added more Supports options: color, layout, shadow, spacing, dimensions, typography https://www.lazyblocks.com/docs/create-block/#block-settings
    • added lzb/register_block_type_data filter to override block registration data

    And 19 more notes.

    Source Diff vs 3.8.3
  19. 3.8.3
    • fixed XSS issue in admin blocks list page
    Source Diff vs 2.5.3
  20. 2.5.3
    • added block inserter preview (thanks https://github.com/nk-crew/lazy-blocks/pull/230)
    • fixed PHP8 deprecation warning
    • fixed security issue in the code for duplicating post (thanks to the Wordfence team)
    • minor changes
    Source Diff vs 1.8.2
  21. 1.8.2

    No notes for this release in the current readme.

    Source