From 6b44bce972b62db3053d3b31b6a13a74619605d8 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:58:55 +0000 Subject: [PATCH 1/4] chore(release): update changelog for v3.9.3 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 451b8e93..c6881cca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog + +## [3.9.3] (2025-12-03) + +### Added +* Add visual regression screenshots for the Code Snippets list (captures active and inactive toggle states) +* Update Playwright configuration with a snapshotPathTemplate and a maxDiffPixels threshold to improve screenshot management and allow small diffs + +### Changed +* Enhanced end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability + +### Fixed +* Fix missing import of common/direction in src/css/manage.scss to restore correct styling and direction-aware layout +* Fix toggle activation check to ensure the correct transformation value is used when detecting active/inactive state + ## [3.9.2] (2025-11-17) ### Changed From 03694778ce339e3caff84d449477111106342a0e Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:58:55 +0000 Subject: [PATCH 2/4] chore(release): update readme for v3.9.3 --- src/readme.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/readme.txt b/src/readme.txt index adb2cf95..87c49a10 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -104,6 +104,23 @@ You can report security bugs found in the source code of this plugin through the == Changelog == + += 3.9.3 (2025-12-03) = + +__Added__ + +* Add visual regression screenshots for the Code Snippets list (captures active and inactive toggle states) +* Update Playwright configuration with a snapshotPathTemplate and a maxDiffPixels threshold to improve screenshot management and allow small diffs + +__Changed__ + +* Enhanced end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability + +__Fixed__ + +* Fix missing import of common/direction in src/css/manage.scss to restore correct styling and direction-aware layout +* Fix toggle activation check to ensure the correct transformation value is used when detecting active/inactive state + = 3.9.2 (2025-11-17) = __Changed__ From c289502a21f1b8caf524a1287fdff61a619777a0 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:59:37 +0000 Subject: [PATCH 3/4] chore(release): bump version to v3.9.3 --- package-lock.json | 4 ++-- package.json | 2 +- src/code-snippets.php | 6 +++--- src/readme.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2c2c1d4..3260a843 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "3.9.2", + "version": "3.9.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "3.9.2", + "version": "3.9.3", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index 2cd64ae5..ff50f0f8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "code-snippets", "description": "Manage code snippets running on a WordPress-powered site through a graphical interface.", "homepage": "https://codesnippets.pro", - "version": "3.9.2", + "version": "3.9.3", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index 96f14d21..ad9b318f 100644 --- a/src/code-snippets.php +++ b/src/code-snippets.php @@ -8,11 +8,11 @@ * License: GPL-2.0-or-later * License URI: license.txt * Text Domain: code-snippets - * Version: 3.9.2 + * Version: 3.9.3 * Requires PHP: 7.4 * Requires at least: 5.0 * - * @version 3.9.2 + * @version 3.9.3 * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2024 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '3.9.2' ); + define( 'CODE_SNIPPETS_VERSION', '3.9.3' ); /** * The full path to the main file of this plugin. diff --git a/src/readme.txt b/src/readme.txt index 87c49a10..67dfe21c 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -4,7 +4,7 @@ Donate link: https://codesnippets.pro Tags: code, snippets, multisite, php, css License: GPL-2.0-or-later License URI: license.txt -Stable tag: 3.9.2 +Stable tag: 3.9.3 Tested up to: 6.8 An easy, clean and simple way to enhance your site with code snippets. From 5ca67cc66677388b0aae2fbb157534967090b445 Mon Sep 17 00:00:00 2001 From: Imants Date: Wed, 3 Dec 2025 17:02:59 +0200 Subject: [PATCH 4/4] fix: chnagelog --- CHANGELOG.md | 6 +----- src/readme.txt | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6881cca..1e7d50cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,7 @@ ## [3.9.3] (2025-12-03) ### Added -* Add visual regression screenshots for the Code Snippets list (captures active and inactive toggle states) -* Update Playwright configuration with a snapshotPathTemplate and a maxDiffPixels threshold to improve screenshot management and allow small diffs - -### Changed -* Enhanced end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability +* end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability ### Fixed * Fix missing import of common/direction in src/css/manage.scss to restore correct styling and direction-aware layout diff --git a/src/readme.txt b/src/readme.txt index 67dfe21c..344ab2c0 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -109,11 +109,6 @@ You can report security bugs found in the source code of this plugin through the __Added__ -* Add visual regression screenshots for the Code Snippets list (captures active and inactive toggle states) -* Update Playwright configuration with a snapshotPathTemplate and a maxDiffPixels threshold to improve screenshot management and allow small diffs - -__Changed__ - * Enhanced end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability __Fixed__