Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.8.0 #334

Merged
merged 3 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions assets/block-builder/boxes/code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -249,7 +249,7 @@ export default function CustomCodeSettings(props) {
)}
</p>
<code>
{`/${woContentDir}/themes/${currentTheme.stylesheet}/blocks/`}
{`/${wpContentDir}/themes/${currentTheme.stylesheet}/blocks/`}
<span>{`lazyblock-${data.slug}`}</span>
/block.php
</code>
Expand Down
4 changes: 2 additions & 2 deletions languages/lazy-blocks.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\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"
Expand Down
4 changes: 2 additions & 2 deletions lazy-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' ) ) :
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <https://www.lazyblocks.com/>",
Expand Down
33 changes: 32 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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: <http://www.gnu.org/licenses/gpl-2.0.html>

Expand Down Expand Up @@ -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
Expand Down
Loading