diff --git a/CHANGELOG.md b/CHANGELOG.md index ff9fb918..aece1093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ All notable changes to this project will be documented in this file. += 3.8.0 - Dec 4, 2024 = + +* added WordPress 6.7 compatibility +* added better error messages to block Inspector and to the editor toolbar when block has invalid required controls +* added prompt to remove metadata from post after removing block which contains the control with Save in Meta option enabled +* added possibility to clear the Gallery control +* added duplicate row button to Repeater control +* added `wp_get_attachment_image` Handlebars helper +* added possibility to activate/deactivate blocks +* added support for embed links to the Classic Editor control +* added Groups for Inspector - Default, Styles and Advanced +* added reset button to Time control +* added Multiple option support for Checkbox control +* improved Repeater control UI +* improved block duplication process - add copy suffix and disabled block by default +* improved control with Save in Meta displaying in the editor of post, which does not support custom fields +* fixed invalid block builder render when there are no blocks registered +* fixed offsetHeight JS error in block builder preview +* fixed hardcoded `wp-content` string in the block builder UI: changed to wp content dir core constant +* fixed displaying default block icon in blocks list admin UI +* fixed saving of Repeater row addition and removal in undo/redo manager +* fixed align class rendering in block when align attribute is disabled +* prevent changing block post statuses - support only draft and publish +* rename Constructor to Block Builder +* removed advanced validation from the URL control to prevent required check fails on relative links or links to applications +* removed the ability to use URL control within Content, since the Gutenberg no longer renders it correctly here +* **Pro:** +* added possibility to change block slug Namespace and register Collection +* fixed block editor styles for Code control extension +* migrate Pro plugin from Paddle to LemonSqueezy + = 3.7.0 - May 23, 2024 = * improved Required control options - added more validation checks and better error messages diff --git a/assets/block-builder/boxes/code/index.js b/assets/block-builder/boxes/code/index.js index 89abd3ae..3affddb4 100644 --- a/assets/block-builder/boxes/code/index.js +++ b/assets/block-builder/boxes/code/index.js @@ -27,7 +27,7 @@ import { */ import CodeEditor from './component-react-ace'; -const { plugin_version: pluginVersion, wp_content_dir: woContentDir } = +const { plugin_version: pluginVersion, wp_content_dir: wpContentDir } = window.lazyblocksBlockBuilderData; export default function CustomCodeSettings(props) { @@ -249,7 +249,7 @@ export default function CustomCodeSettings(props) { )}

- {`/${woContentDir}/themes/${currentTheme.stylesheet}/blocks/`} + {`/${wpContentDir}/themes/${currentTheme.stylesheet}/blocks/`} {`lazyblock-${data.slug}`} /block.php diff --git a/languages/lazy-blocks.pot b/languages/lazy-blocks.pot index c6de2a30..07192c16 100644 --- a/languages/lazy-blocks.pot +++ b/languages/lazy-blocks.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv2 or later. msgid "" msgstr "" -"Project-Id-Version: Lazy Blocks 3.7.0\n" +"Project-Id-Version: Lazy Blocks 3.8.0\n" "Report-Msgid-Bugs-To: https://github.com/nk-crew/lazyblocks/issues\n" "Last-Translator: Lazy Blocks Team\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-12-03T20:40:16+00:00\n" +"POT-Creation-Date: 2024-12-06T20:57:23+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: lazy-blocks\n" diff --git a/lazy-blocks.php b/lazy-blocks.php index 4103dc2e..1424232b 100644 --- a/lazy-blocks.php +++ b/lazy-blocks.php @@ -2,7 +2,7 @@ /** * Plugin Name: Lazy Blocks * Description: Easily create custom blocks and custom meta fields for Gutenberg without hard coding. - * Version: 3.7.0 + * Version: 3.8.0 * Author: Lazy Blocks Team * Author URI: https://www.lazyblocks.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=byline * License: GPLv2 or later @@ -17,7 +17,7 @@ } if ( ! defined( 'LAZY_BLOCKS_VERSION' ) ) { - define( 'LAZY_BLOCKS_VERSION', '3.7.0' ); + define( 'LAZY_BLOCKS_VERSION', '3.8.0' ); } if ( ! class_exists( 'LazyBlocks' ) ) : diff --git a/package.json b/package.json index f846197a..b1193661 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lazy-blocks", "title": "Lazy Blocks", - "version": "3.7.0", + "version": "3.8.0", "description": "No hassle Gutenberg blocks for WordPress developers", "license": "GPL-2.0", "author": "Lazy Blocks Team ", diff --git a/readme.txt b/readme.txt index 3eb6d1f1..9aca4b66 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ * Requires at least: 6.2 * Tested up to: 6.5 * Requires PHP: 7.2 -* Stable tag: 3.7.0 +* Stable tag: 3.8.0 * License: GPLv2 or later * License URI: @@ -136,6 +136,37 @@ The manual installation method involves downloading our Lazy Blocks plugin and u ## Changelog += 3.8.0 - Dec 4, 2024 = + +* added WordPress 6.7 compatibility +* added better error messages to block Inspector and to the editor toolbar when block has invalid required controls +* added prompt to remove metadata from post after removing block which contains the control with Save in Meta option enabled +* added possibility to clear the Gallery control +* added duplicate row button to Repeater control +* added `wp_get_attachment_image` Handlebars helper +* added possibility to activate/deactivate blocks +* added support for embed links to the Classic Editor control +* added Groups for Inspector - Default, Styles and Advanced +* added reset button to Time control +* added Multiple option support for Checkbox control +* improved Repeater control UI +* improved block duplication process - add copy suffix and disabled block by default +* improved control with Save in Meta displaying in the editor of post, which does not support custom fields +* fixed invalid block builder render when there are no blocks registered +* fixed offsetHeight JS error in block builder preview +* fixed hardcoded `wp-content` string in the block builder UI: changed to wp content dir core constant +* fixed displaying default block icon in blocks list admin UI +* fixed saving of Repeater row addition and removal in undo/redo manager +* fixed align class rendering in block when align attribute is disabled +* prevent changing block post statuses - support only draft and publish +* rename Constructor to Block Builder +* removed advanced validation from the URL control to prevent required check fails on relative links or links to applications +* removed the ability to use URL control within Content, since the Gutenberg no longer renders it correctly here +* **Pro:** +* added possibility to change block slug Namespace and register Collection +* fixed block editor styles for Code control extension +* migrate Pro plugin from Paddle to LemonSqueezy + = 3.7.0 - May 23, 2024 = * improved Required control options - added more validation checks and better error messages