From 6f0fd9e9ba36227f03a4ccd8c6a738d5d73036b4 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Mon, 3 Nov 2025 12:09:10 +0000 Subject: [PATCH 1/5] chore(release): update changelog for v3.9.0-beta.1 --- CHANGELOG.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 835f3dfb..181bc151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog + +## [3.9.0-beta.1] (2025-11-03) + +### Added +* File-based execution mode for snippets (optional in plugin settings) +* Version switch option to roll back the plugin to an earlier release +* Code line explanation widget with apply/remove for AI-generated comments (PRO) +* Snippets REST API pagination support via page and per_page + +### Changed +* Prefixed Composer packages to reduce collisions with other plugins +* Improved editor preview behavior and minor UI enhancements in the editor and sidebar +* Better pagination handling and display structure for cloud search results (PRO) +* Enhanced styling for codevault rows and inactive tabs in the cloud interface (PRO) +* Applied filters before concatenation in wrap_code for more predictable snippet processing + +### Fixed +* Improved file-based snippet handling for multisite installations +* Improved handling of namespaced PHP snippets in file-based execution +* Resolved issues with snippet evaluation and front-end initialization in edge cases +* Fixed JavaScript and CSS snippets loading twice due to a conditions bug (PRO) +* Fixed conditions that didn’t work due to loading before the loop (PRO) + ## [3.8.2] (2025-10-31) ### Fixed From 2d1c1df261932d080815e5062b79ec0f2f6ce7f1 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Mon, 3 Nov 2025 12:09:10 +0000 Subject: [PATCH 2/5] chore(release): update readme for v3.9.0-beta.1 --- src/readme.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/readme.txt b/src/readme.txt index 68cec80f..b9a4c241 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -104,6 +104,32 @@ You can report security bugs found in the source code of this plugin through the == Changelog == + += 3.9.0-beta.1 (2025-11-03) = + +__Added__ + +* File-based execution mode for snippets (optional in plugin settings) +* Version switch option to roll back the plugin to an earlier release +* Code line explanation widget with apply/remove for AI-generated comments (PRO) +* Snippets REST API pagination support via page and per_page + +__Changed__ + +* Prefixed Composer packages to reduce collisions with other plugins +* Improved editor preview behavior and minor UI enhancements in the editor and sidebar +* Better pagination handling and display structure for cloud search results (PRO) +* Enhanced styling for codevault rows and inactive tabs in the cloud interface (PRO) +* Applied filters before concatenation in wrap_code for more predictable snippet processing + +__Fixed__ + +* Improved file-based snippet handling for multisite installations +* Improved handling of namespaced PHP snippets in file-based execution +* Resolved issues with snippet evaluation and front-end initialization in edge cases +* Fixed JavaScript and CSS snippets loading twice due to a conditions bug (PRO) +* Fixed conditions that didn’t work due to loading before the loop (PRO) + = 3.8.2 (2025-10-31) = __Fixed__ From 5bc254cdb3ba99d6b2c96e6d127ac5d3e376051a Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Mon, 3 Nov 2025 12:09:50 +0000 Subject: [PATCH 3/5] chore(release): bump version to v3.9.0-beta.1 --- package-lock.json | 4 ++-- package.json | 2 +- src/code-snippets.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 62733867..99945c97 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "3.8.2", + "version": "3.9.0-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "3.8.2", + "version": "3.9.0-beta.1", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index 4fe72dda..7d34e093 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.8.2", + "version": "3.9.0-beta.1", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index 22c3778b..e4b3dd9b 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.8.2 + * Version: 3.9.0-beta.1-beta.1 * Requires PHP: 7.4 * Requires at least: 5.0 * - * @version 3.8.2 + * @version 3.9.0-beta.1 * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2024 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '3.8.2' ); + define( 'CODE_SNIPPETS_VERSION', '3.9.0-beta.1' ); /** * The full path to the main file of this plugin. From 888c2d2096d557c1ec5db2cc2bd9a60b46ab6db5 Mon Sep 17 00:00:00 2001 From: Imants Date: Mon, 3 Nov 2025 14:28:23 +0200 Subject: [PATCH 4/5] fix: changelog --- CHANGELOG.md | 21 +++------------------ src/readme.txt | 26 -------------------------- 2 files changed, 3 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 181bc151..38f67002 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,24 +4,9 @@ ## [3.9.0-beta.1] (2025-11-03) ### Added -* File-based execution mode for snippets (optional in plugin settings) -* Version switch option to roll back the plugin to an earlier release -* Code line explanation widget with apply/remove for AI-generated comments (PRO) -* Snippets REST API pagination support via page and per_page - -### Changed -* Prefixed Composer packages to reduce collisions with other plugins -* Improved editor preview behavior and minor UI enhancements in the editor and sidebar -* Better pagination handling and display structure for cloud search results (PRO) -* Enhanced styling for codevault rows and inactive tabs in the cloud interface (PRO) -* Applied filters before concatenation in wrap_code for more predictable snippet processing - -### Fixed -* Improved file-based snippet handling for multisite installations -* Improved handling of namespaced PHP snippets in file-based execution -* Resolved issues with snippet evaluation and front-end initialization in edge cases -* Fixed JavaScript and CSS snippets loading twice due to a conditions bug (PRO) -* Fixed conditions that didn’t work due to loading before the loop (PRO) +* Soft delete (Trash) functionality for snippets with ability to undo, restore or permanently delete. +* Bulk actions for trashing, restoring, and permanently deleting multiple snippets. +* Separate filtered view to manage trashed snippets. ## [3.8.2] (2025-10-31) diff --git a/src/readme.txt b/src/readme.txt index b9a4c241..68cec80f 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -104,32 +104,6 @@ You can report security bugs found in the source code of this plugin through the == Changelog == - -= 3.9.0-beta.1 (2025-11-03) = - -__Added__ - -* File-based execution mode for snippets (optional in plugin settings) -* Version switch option to roll back the plugin to an earlier release -* Code line explanation widget with apply/remove for AI-generated comments (PRO) -* Snippets REST API pagination support via page and per_page - -__Changed__ - -* Prefixed Composer packages to reduce collisions with other plugins -* Improved editor preview behavior and minor UI enhancements in the editor and sidebar -* Better pagination handling and display structure for cloud search results (PRO) -* Enhanced styling for codevault rows and inactive tabs in the cloud interface (PRO) -* Applied filters before concatenation in wrap_code for more predictable snippet processing - -__Fixed__ - -* Improved file-based snippet handling for multisite installations -* Improved handling of namespaced PHP snippets in file-based execution -* Resolved issues with snippet evaluation and front-end initialization in edge cases -* Fixed JavaScript and CSS snippets loading twice due to a conditions bug (PRO) -* Fixed conditions that didn’t work due to loading before the loop (PRO) - = 3.8.2 (2025-10-31) = __Fixed__ From d0de15ff2a87d9e4c70b175566b78a64b50dd2f4 Mon Sep 17 00:00:00 2001 From: Imants Date: Mon, 3 Nov 2025 14:34:45 +0200 Subject: [PATCH 5/5] fix: verison nr --- src/code-snippets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code-snippets.php b/src/code-snippets.php index e4b3dd9b..6958ee5b 100644 --- a/src/code-snippets.php +++ b/src/code-snippets.php @@ -8,7 +8,7 @@ * License: GPL-2.0-or-later * License URI: license.txt * Text Domain: code-snippets - * Version: 3.9.0-beta.1-beta.1 + * Version: 3.9.0-beta.1 * Requires PHP: 7.4 * Requires at least: 5.0 *