From b4abe31fdcf271f8526b4acd319e79b6bd25ef76 Mon Sep 17 00:00:00 2001 From: Raphael Sanchez Date: Tue, 22 Sep 2026 17:28:15 +0200 Subject: [PATCH] chore: version 2.1.2 --- .plugin-data | 2 +- CHANGELOG.md | 6 ++++++ blockparty-faq.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 8 +++++++- src/faq-answer/block.json | 2 +- src/faq-item/block.json | 2 +- src/faq-question/block.json | 2 +- src/faq/block.json | 2 +- 10 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.plugin-data b/.plugin-data index fdbda80..97b56a0 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "2.1.1", + "version": "2.1.2", "slug": "blockparty-faq" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c9f73..5601557 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +## [2.1.2] - 2026-09-22 + +### Fixed + +- Sync FAQ question attribute with Polylang Autopoly to prevent block validation errors after translation. + ## [2.1.1] - 2026-08-04 ### Changed diff --git a/blockparty-faq.php b/blockparty-faq.php index 47485bb..b537418 100644 --- a/blockparty-faq.php +++ b/blockparty-faq.php @@ -4,7 +4,7 @@ * Description: A FAQ block for WordPress Editor that provided structured data based on FAQ schema. * Requires at least: 6.2 * Requires PHP: 8.1 - * Version: 2.1.1 + * Version: 2.1.2 * Plugin URI: https://beapi.fr * Author: Be API Technical team * Author URI: https://beapi.fr @@ -45,7 +45,7 @@ } // Plugin constants -define( 'BLOCKPARTY_FAQ_VERSION', '2.1.1' ); +define( 'BLOCKPARTY_FAQ_VERSION', '2.1.2' ); // Plugin URL and PATH define( 'BLOCKPARTY_FAQ_DIR', plugin_dir_path( __FILE__ ) ); diff --git a/package-lock.json b/package-lock.json index 877ac3c..b459703 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "blockparty-faq", - "version": "2.1.1", + "version": "2.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "blockparty-faq", - "version": "2.1.1", + "version": "2.1.2", "license": "GPL-2.0-or-later", "dependencies": { "@beapi/be-a11y": "^1.7.2", diff --git a/package.json b/package.json index 4739d74..49b948e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockparty-faq", - "version": "2.1.1", + "version": "2.1.2", "description": "SEO friendly FAQ module in an accessible accordion", "author": "Be API Technical team", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index e70c5ea..935c2a0 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: block, faq, accordion, gutenberg, schema, seo, accessibility Requires at least: 6.2 Tested up to: 6.8 Requires PHP: 8.1 -Stable tag: 2.1.1 +Stable tag: 2.1.2 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -57,6 +57,9 @@ Yes. The front-end accordion uses `@beapi/be-a11y` with proper ARIA attributes ( == Changelog == += 2.1.2 - 2026-09-22 = +* Fixed FAQ question attribute sync with Polylang Autopoly to prevent block validation errors after translation. + = 2.1.1 - 2026-08-04 = * Performance improvements removed script blocking time. @@ -109,6 +112,9 @@ Yes. The front-end accordion uses `@beapi/be-a11y` with proper ARIA attributes ( == Upgrade Notice == += 2.1.2 = +Fixes Polylang Autopoly sync for the FAQ question attribute. + = 2.1.0 = Adds Rank Math and SEOPress support, configurable question heading levels, and updated block markup. Existing content is preserved via deprecated save handlers. diff --git a/src/faq-answer/block.json b/src/faq-answer/block.json index 1f88f5b..666c3ff 100644 --- a/src/faq-answer/block.json +++ b/src/faq-answer/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/faq-answer", - "version": "2.1.1", + "version": "2.1.2", "title": "FAQ Answer", "category": "design", "parent": [ diff --git a/src/faq-item/block.json b/src/faq-item/block.json index b45013d..e08f9ae 100644 --- a/src/faq-item/block.json +++ b/src/faq-item/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/faq-item", - "version": "2.1.1", + "version": "2.1.2", "title": "FAQ Item", "category": "design", "parent": [ diff --git a/src/faq-question/block.json b/src/faq-question/block.json index 7ff59d7..4c742e9 100644 --- a/src/faq-question/block.json +++ b/src/faq-question/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/faq-question", - "version": "2.1.1", + "version": "2.1.2", "title": "FAQ Question", "category": "design", "parent": [ diff --git a/src/faq/block.json b/src/faq/block.json index ba4cecf..a4a7cad 100644 --- a/src/faq/block.json +++ b/src/faq/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/faq", - "version": "2.1.1", + "version": "2.1.2", "title": "FAQ", "category": "design", "description": "A FAQ block for WordPress Editor that provided structured data based on FAQ schema.",