From b251c2154fff9ace30a4c2f5c4420606ac6f9718 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:22:49 +0000 Subject: [PATCH 1/5] chore(release): update changelog for v3.8.0 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a333535..1e2ecf9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,20 @@ + +## [3.8.0] (2025-10-24) + +### Added +* Optional flat-file storage backend for snippets (with HTML/PHP handlers), configurable via the new Version Switch setting. +* Editor preview capability and settings UI enhancements for snippet creation and editing. + +### Changed +* Snippets REST API now supports pagination (e.g., page/per_page) with accompanying tests to improve reliability and scalability. + +### Fixed +* Fixed get_items and REST API pagination to return correct pages and counts. +* Addressed snippet evaluation and front-end initialization issues that could prevent snippets from executing in some cases. + ## [3.7.1-beta.3] (2025-10-22) ### Added From bf689af440ca15153bbe19263281513cf86cda13 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:22:49 +0000 Subject: [PATCH 2/5] chore(release): update readme for v3.8.0 --- src/readme.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/readme.txt b/src/readme.txt index 167f9bf3..328c5b05 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -106,6 +106,23 @@ You can report security bugs found in the source code of this plugin through the + += 3.8.0 (2025-10-24) = + +__Added__ + +* Optional flat-file storage backend for snippets (with HTML/PHP handlers), configurable via the new Version Switch setting. +* Editor preview capability and settings UI enhancements for snippet creation and editing. + +__Changed__ + +* Snippets REST API now supports pagination (e.g., page/per_page) with accompanying tests to improve reliability and scalability. + +__Fixed__ + +* Fixed get_items and REST API pagination to return correct pages and counts. +* Addressed snippet evaluation and front-end initialization issues that could prevent snippets from executing in some cases. + = 3.7.1-beta.3 (2025-10-22) = __Added__ From 2d1c46e426058307814a5d2780763b831ee6104a Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:23:30 +0000 Subject: [PATCH 3/5] chore(release): bump version to v3.8.0 --- 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 fe96a6f9..0e993b17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "3.7.1-beta.3", + "version": "3.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "3.7.1-beta.3", + "version": "3.8.0", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index 8d664089..f29669ba 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.7.1-beta.3", + "version": "3.8.0", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index 1db3c0bc..b1ebb98d 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.7.1-beta.3 + * Version: 3.8.0 * Requires PHP: 7.4 * Requires at least: 5.0 * - * @version 3.7.1-beta.3 + * @version 3.8.0 * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2024 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '3.7.1-beta.3' ); + define( 'CODE_SNIPPETS_VERSION', '3.8.0' ); /** * The full path to the main file of this plugin. diff --git a/src/readme.txt b/src/readme.txt index 328c5b05..717534c1 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.7.0 +Stable tag: 3.8.0 Tested up to: 6.8.2 An easy, clean and simple way to enhance your site with code snippets. From 83451bde4b7f29043f3b00bce42a9d2c9ef30868 Mon Sep 17 00:00:00 2001 From: Imants Date: Fri, 24 Oct 2025 16:09:27 +0300 Subject: [PATCH 4/5] chore(release): fix changelog --- CHANGELOG.md | 21 +++++++++++---------- src/readme.txt | 46 ++++++++-------------------------------------- 2 files changed, 19 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e2ecf9e..d1eb5ae0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,28 +1,29 @@ # Changelog - - - - ## [3.8.0] (2025-10-24) ### Added -* Optional flat-file storage backend for snippets (with HTML/PHP handlers), configurable via the new Version Switch setting. -* Editor preview capability and settings UI enhancements for snippet creation and editing. +* @CarolinaOP and @louiswol94 join the team as plugin contributors. +* File-based execution mode for snippets (Optional in Plugin Settings). +* Version switch option, to help easily rollback the plugin to an earlier release. +* Minor UI improvements to the editor and sidebar. ### Changed -* Snippets REST API now supports pagination (e.g., page/per_page) with accompanying tests to improve reliability and scalability. +* Prefixed Composer packages to reduce collisions with other plugins. +* Snippets REST API now supports pagination via page and per_page query parameters. +* Improved editor preview behavior. ### Fixed -* Fixed get_items and REST API pagination to return correct pages and counts. -* Addressed snippet evaluation and front-end initialization issues that could prevent snippets from executing in some cases. +* Fixed issues with snippet evaluation and front-end initialization in edge cases. +* Improved reliability of snippet evaluation. +* JavaScript and CSS snippets loading twice due to a conditions bug. (PRO) +* Fixed issue where some conditions didn’t work due to loading before the loop. (PRO) ## [3.7.1-beta.3] (2025-10-22) ### Added * Snippets REST API now supports pagination via page and per_page query parameters. - ## [3.7.1-beta.2] (2025-10-22) ### Added diff --git a/src/readme.txt b/src/readme.txt index 717534c1..6d75f233 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -111,53 +111,23 @@ You can report security bugs found in the source code of this plugin through the __Added__ -* Optional flat-file storage backend for snippets (with HTML/PHP handlers), configurable via the new Version Switch setting. -* Editor preview capability and settings UI enhancements for snippet creation and editing. +* @CarolinaOP and @louiswol94 join the team as plugin contributors. +* File-based execution mode for snippets (Optional in Plugin Settings). +* Version switch option, to help easily rollback the plugin to an earlier release. +* Minor UI improvements to the editor and sidebar. __Changed__ -* Snippets REST API now supports pagination (e.g., page/per_page) with accompanying tests to improve reliability and scalability. - -__Fixed__ - -* Fixed get_items and REST API pagination to return correct pages and counts. -* Addressed snippet evaluation and front-end initialization issues that could prevent snippets from executing in some cases. - -= 3.7.1-beta.3 (2025-10-22) = - -__Added__ - +* Prefixed Composer packages to reduce collisions with other plugins. * Snippets REST API now supports pagination via page and per_page query parameters. - - -= 3.7.1-beta.2 (2025-10-22) = - -__Added__ - -* Implemented version switching with a new 'Version Switch' section in Settings - -= 3.7.1-beta.1 (2025-10-16) = - -__Added__ - -* Added @CarolinaOP and @louiswol94 as plugin contributors -* File-based execution mode for snippets (Optional in Plugin Settings) - -__Changed__ - -* Minor UI/UX tweaks to the editor form and sidebar * Improved editor preview behavior. __Fixed__ -* Improved reliability of snippet evaluation and front-end integration. -* Prefixed Composer packages to reduce collisions with other plugins, especially those using Guzzle. -* Functions conditions were loading before loop setup, resulting in some conditions not working. (PRO) +* Fixed issues with snippet evaluation and front-end initialization in edge cases. +* Improved reliability of snippet evaluation. * JavaScript and CSS snippets loading twice due to a conditions bug. (PRO) - -__Removed__ - -* Removed CSS linting within the editor until a modern replacement can be implemented. +* Fixed issue where some conditions didn’t work due to loading before the loop. (PRO) = 3.7.0 (2025-08-29) = From 90e124e6e822b6f62badfb49f39bfbf8b6be91e9 Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Sat, 25 Oct 2025 00:36:56 +1100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1eb5ae0..78b6fd46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,20 +4,20 @@ ### Added * @CarolinaOP and @louiswol94 join the team as plugin contributors. -* File-based execution mode for snippets (Optional in Plugin Settings). -* Version switch option, to help easily rollback the plugin to an earlier release. -* Minor UI improvements to the editor and sidebar. +* File-based execution mode for snippets (optional in plugin settings). +* Version switch option for easily rolling back the plugin to an earlier release. ### Changed * Prefixed Composer packages to reduce collisions with other plugins. * Snippets REST API now supports pagination via page and per_page query parameters. * Improved editor preview behavior. +* Minor UI improvements to the editor and sidebar. ### Fixed -* Fixed issues with snippet evaluation and front-end initialization in edge cases. +* Issues with snippet evaluation and front-end initialization in edge cases. * Improved reliability of snippet evaluation. * JavaScript and CSS snippets loading twice due to a conditions bug. (PRO) -* Fixed issue where some conditions didn’t work due to loading before the loop. (PRO) +* Issue where some conditions didn’t work due to loading before the loop. (PRO) ## [3.7.1-beta.3] (2025-10-22)