Skip to content
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
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.7",
"version": "1.0.8",
"slug": "blockparty-modal"
}
2 changes: 1 addition & 1 deletion .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions blockparty-modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ ) );

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockparty-modal",
"version": "1.0.7",
"version": "1.0.8",
Comment thread
firestar300 marked this conversation as resolved.
"description": "Add a modal block to the WordPress editor.",
"author": "Be API",
"license": "GPL-2.0-or-later",
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

Expand Down
13 changes: 10 additions & 3 deletions src/blockparty-modal/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand All @@ -26,7 +26,11 @@
"closedBy": {
"type": "string",
"default": "any",
"enum": [ "any", "closerequest", "none" ]
"enum": [
"any",
"closerequest",
"none"
]
},
"enableCloseButton": {
"type": "boolean",
Expand All @@ -46,7 +50,10 @@
},
"example": {},
"supports": {
"align": [ "wide", "full" ],
"align": [
"wide",
"full"
],
"dimensions": {
"height": true,
"minHeight": true
Expand Down
Loading