From 38a9eab85d1130242d618bac08b8edded3cd0d3b Mon Sep 17 00:00:00 2001 From: mricoul Date: Wed, 22 Apr 2026 15:28:26 +0200 Subject: [PATCH 1/4] chore: releases version 1.0.8 --- .plugin-data | 2 +- .wordpress-org/blueprints/blueprint.json | 2 +- CHANGELOG.md | 9 +++++++++ blockparty-modal.php | 4 ++-- package.json | 2 +- readme.txt | 7 ++++++- src/blockparty-modal/block.json | 13 ++++++++++--- 7 files changed, 30 insertions(+), 9 deletions(-) diff --git a/.plugin-data b/.plugin-data index 07f062f..47faabb 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "1.0.7", + "version": "1.0.8", "slug": "blockparty-modal" } diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index 54ae95f..91f8065 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -11,7 +11,7 @@ "pluginData": { "resource": "git:directory", "url": "https://github.com/BeAPI/blockparty-modal", - "ref": "1.0.7", + "ref": "1.0.8", "refType": "tag" }, "options": { diff --git a/CHANGELOG.md b/CHANGELOG.md index ce72947..d65141a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.8] + +* Add GitHub Actions check and `tests/bin/check-release-version.sh` to validate that release version bumps are consistent across all versioned files. +* Add this changelog file (Keep a Changelog format). +* Update WordPress Playground `blueprint.json` demo page content. +* Run the JavaScript quality workflow when `package.json` changes. +* Exclude the `tests/` directory from plugin distribution archives. +* Remove Psalm from development dependencies and GrumPHP. + ## [1.0.7] * Add block setting for the close button label. diff --git a/blockparty-modal.php b/blockparty-modal.php index 5cc69b0..afa02c5 100644 --- a/blockparty-modal.php +++ b/blockparty-modal.php @@ -2,7 +2,7 @@ /** * Plugin Name: Blockparty Modal * Description: Modal block for WordPress editor. - * Version: 1.0.7 + * Version: 1.0.8 * Requires at least: 6.8 * Requires PHP: 8.1 * Author: Be API Technical Team @@ -19,7 +19,7 @@ exit; // Exit if accessed directly. } -define( 'BLOCKPARTY_MODAL_VERSION', '1.0.7' ); +define( 'BLOCKPARTY_MODAL_VERSION', '1.0.8' ); define( 'BLOCKPARTY_MODAL_URL', plugin_dir_url( __FILE__ ) ); define( 'BLOCKPARTY_MODAL_DIR', plugin_dir_path( __FILE__ ) ); diff --git a/package.json b/package.json index 893cf10..7154473 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockparty-modal", - "version": "1.0.7", + "version": "1.0.8", "description": "Add a modal block to the WordPress editor.", "author": "Be API", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index fd897ee..369a9c6 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: Be API Technical Team Tags: block Tested up to: 6.8 -Stable tag: 1.0.7 +Stable tag: 1.0.8 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -45,6 +45,11 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove == Changelog == += 1.0.8 = +* Add CI check and a shell script to validate version bumps for releases. +* Add a project changelog and update the WordPress Playground demo blueprint. +* Adjust quality workflows, exclude `tests/` from the plugin zip, and remove Psalm from dev dependencies. + = 1.0.7 = * Add block setting for the close button label. diff --git a/src/blockparty-modal/block.json b/src/blockparty-modal/block.json index ccdecf4..3e4eab1 100644 --- a/src/blockparty-modal/block.json +++ b/src/blockparty-modal/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/modal", - "version": "1.0.7", + "version": "1.0.8", "title": "Modal", "category": "widgets", "description": "Insert a modal dialog that opens on trigger. Configure content and behaviour in the editor; the modal is displayed on the frontend when activated.", @@ -26,7 +26,11 @@ "closedBy": { "type": "string", "default": "any", - "enum": [ "any", "closerequest", "none" ] + "enum": [ + "any", + "closerequest", + "none" + ] }, "enableCloseButton": { "type": "boolean", @@ -46,7 +50,10 @@ }, "example": {}, "supports": { - "align": [ "wide", "full" ], + "align": [ + "wide", + "full" + ], "dimensions": { "height": true, "minHeight": true From 9f322b63d154522ec2730cc1e54418f2cfa93f7e Mon Sep 17 00:00:00 2001 From: mricoul Date: Wed, 22 Apr 2026 15:30:35 +0200 Subject: [PATCH 2/4] test --- .wordpress-org/blueprints/blueprint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index 91f8065..54ae95f 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -11,7 +11,7 @@ "pluginData": { "resource": "git:directory", "url": "https://github.com/BeAPI/blockparty-modal", - "ref": "1.0.8", + "ref": "1.0.7", "refType": "tag" }, "options": { From ffe6b1e5b622820638b8c9cc3147159b38ffc00e Mon Sep 17 00:00:00 2001 From: mricoul Date: Wed, 22 Apr 2026 15:31:04 +0200 Subject: [PATCH 3/4] Revert "test" This reverts commit 9f322b63d154522ec2730cc1e54418f2cfa93f7e. --- .wordpress-org/blueprints/blueprint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index 54ae95f..91f8065 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -11,7 +11,7 @@ "pluginData": { "resource": "git:directory", "url": "https://github.com/BeAPI/blockparty-modal", - "ref": "1.0.7", + "ref": "1.0.8", "refType": "tag" }, "options": { From 938d3f84c20ad8da8edb1ec03ed09a9eb0775b1a Mon Sep 17 00:00:00 2001 From: mricoul Date: Wed, 22 Apr 2026 15:40:44 +0200 Subject: [PATCH 4/4] chore: update package-lock.json --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 405b1ec..3cc3b2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "blockparty-modal", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "blockparty-modal", - "version": "1.0.7", + "version": "1.0.8", "license": "GPL-2.0-or-later", "dependencies": { "@beapi/icons": "^1.2.6",