From 7df2babf3ce572f338b24740d1d3bdb0f4617d75 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Thu, 11 Jun 2026 13:18:50 +0000 Subject: [PATCH 1/4] chore(release): update changelog for v4.0.0-beta --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 235009b27..4bf21e736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [4.0.0-beta] (2026-06-11) + +### Added +* Add WordPress 7.0 admin styling compatibility layer to ensure admin UI renders correctly under WP 7.0 +* Improve cloud search UX so fetching featured bundles no longer shows a persistent 'loading' state + +### Changed +* Refine community cloud search results and restore previously missing community results for cloud browse/search +* Consolidate row-action and snippets table styling for more consistent controls and spacing in the admin lists +* Keep cloud community 'Go Pro' / upsell button branding and alignment correct in WP 7.0 +* Render truncate-row-values on the snippets list table to improve long-value display and prevent layout overflow +* Increase spacing below the import drop zone icon for clearer UX when importing snippets +* Add unit tests for cloud search and response parsing and expand documentation for cloud endpoints (get_types) + +### Fixed +* Fix get_item() returning HTTP 500 for a not-found snippet (now returns proper 404/handled response) +* Restore community cloud search results after regression introduced in earlier changes +* Fix various WordPress 7.0 admin UI regressions (snippets table controls, menu button alignment, branding) +* Fix a breaking change introduced in #389 that caused runtime issues +* Stabilize flaky featured cache key test to reduce CI/test flakiness + ## [3.9.6] (2026-04-28) ### Fixed From dcdd48f9c68b3e7d8f0a5aebd42089ce8ffb35f5 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Thu, 11 Jun 2026 13:18:56 +0000 Subject: [PATCH 2/4] chore(release): update readme for v4.0.0-beta --- src/readme.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/readme.txt b/src/readme.txt index 10e475f1f..85daf2d29 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -106,6 +106,30 @@ You can report security bugs found in the source code of this plugin through the == Changelog == += 4.0.0-beta (2026-06-11) = + +__Added__ + +* Add WordPress 7.0 admin styling compatibility layer to ensure admin UI renders correctly under WP 7.0 +* Improve cloud search UX so fetching featured bundles no longer shows a persistent 'loading' state + +__Changed__ + +* Refine community cloud search results and restore previously missing community results for cloud browse/search +* Consolidate row-action and snippets table styling for more consistent controls and spacing in the admin lists +* Keep cloud community 'Go Pro' / upsell button branding and alignment correct in WP 7.0 +* Render truncate-row-values on the snippets list table to improve long-value display and prevent layout overflow +* Increase spacing below the import drop zone icon for clearer UX when importing snippets +* Add unit tests for cloud search and response parsing and expand documentation for cloud endpoints (get_types) + +__Fixed__ + +* Fix get_item() returning HTTP 500 for a not-found snippet (now returns proper 404/handled response) +* Restore community cloud search results after regression introduced in earlier changes +* Fix various WordPress 7.0 admin UI regressions (snippets table controls, menu button alignment, branding) +* Fix a breaking change introduced in #389 that caused runtime issues +* Stabilize flaky featured cache key test to reduce CI/test flakiness + = 3.9.6 (2026-04-28) = __Fixed__ From c7769072dc50488f3a8b950edefdf7da8b532891 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Thu, 11 Jun 2026 13:19:06 +0000 Subject: [PATCH 3/4] chore(release): bump version to v4.0.0-beta --- 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 214e138fc..be58c89a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "4.0.0-dev.1", + "version": "4.0.0-beta", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "4.0.0-dev.1", + "version": "4.0.0-beta", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index 4dca5023d..1644fa96b 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": "4.0.0-dev.1", + "version": "4.0.0-beta", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index c86439550..68ed4dac4 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: 4.0.0-dev.1 + * Version: 4.0.0-beta-beta * Requires PHP: 7.4 * Requires at least: 5.5 * - * @version 4.0.0-dev.1 + * @version 4.0.0-beta * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2026 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '4.0.0-dev.1' ); + define( 'CODE_SNIPPETS_VERSION', '4.0.0-beta' ); /** * The full path to the main file of this plugin. From ce3a96b09623cdcc8850e56fb90c1512683eb12d Mon Sep 17 00:00:00 2001 From: Code Snippets Bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:04:32 +0000 Subject: [PATCH 4/4] docs: refine 4.0.0 beta changelog --- CHANGELOG.md | 43 ++++++++++++++++++++++++++----------------- src/code-snippets.php | 2 +- src/readme.txt | 36 +++++++++++++++++++++++------------- 3 files changed, 50 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bf21e736..1afc0f7ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,23 +3,32 @@ ## [4.0.0-beta] (2026-06-11) ### Added -* Add WordPress 7.0 admin styling compatibility layer to ensure admin UI renders correctly under WP 7.0 -* Improve cloud search UX so fetching featured bundles no longer shows a persistent 'loading' state - -### Changed -* Refine community cloud search results and restore previously missing community results for cloud browse/search -* Consolidate row-action and snippets table styling for more consistent controls and spacing in the admin lists -* Keep cloud community 'Go Pro' / upsell button branding and alignment correct in WP 7.0 -* Render truncate-row-values on the snippets list table to improve long-value display and prevent layout overflow -* Increase spacing below the import drop zone icon for clearer UX when importing snippets -* Add unit tests for cloud search and response parsing and expand documentation for cloud endpoints (get_types) - -### Fixed -* Fix get_item() returning HTTP 500 for a not-found snippet (now returns proper 404/handled response) -* Restore community cloud search results after regression introduced in earlier changes -* Fix various WordPress 7.0 admin UI regressions (snippets table controls, menu button alignment, branding) -* Fix a breaking change introduced in #389 that caused runtime issues -* Stabilize flaky featured cache key test to reduce CI/test flakiness +* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens. +* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar. +* Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24. +* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions. +* Bulk actions and bulk code download support in the redesigned snippets table. +* Featured snippets and improved browsing in Community Cloud. +* WordPress 7.0 admin styling compatibility. + +### Changed +* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection. +* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows. +* Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand. +* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states. +* Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience. +* Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability. + +### Fixed +* Fixed REST API server error responses on missing snippets. +* Fixed redundant frontend logic, improving overall performance. +* Fixed Community Cloud search results and pagination to respect WordPress screen options. +* Fixed snippet saving and activation feedback to improve validation and runtime error display. + +### Accessibility +* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor. +* Added clearer labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls. +* Improved colour contrast and reduced-motion support across admin screens. ## [3.9.6] (2026-04-28) diff --git a/src/code-snippets.php b/src/code-snippets.php index 68ed4dac4..632f73544 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: 4.0.0-beta-beta + * Version: 4.0.0-beta * Requires PHP: 7.4 * Requires at least: 5.5 * diff --git a/src/readme.txt b/src/readme.txt index 85daf2d29..a259e133d 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -110,25 +110,35 @@ You can report security bugs found in the source code of this plugin through the __Added__ -* Add WordPress 7.0 admin styling compatibility layer to ensure admin UI renders correctly under WP 7.0 -* Improve cloud search UX so fetching featured bundles no longer shows a persistent 'loading' state +* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens. +* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar. +* Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24. +* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions. +* Bulk actions and bulk code download support in the redesigned snippets table. +* Featured snippets and improved browsing in Community Cloud. +* WordPress 7.0 admin styling compatibility. __Changed__ -* Refine community cloud search results and restore previously missing community results for cloud browse/search -* Consolidate row-action and snippets table styling for more consistent controls and spacing in the admin lists -* Keep cloud community 'Go Pro' / upsell button branding and alignment correct in WP 7.0 -* Render truncate-row-values on the snippets list table to improve long-value display and prevent layout overflow -* Increase spacing below the import drop zone icon for clearer UX when importing snippets -* Add unit tests for cloud search and response parsing and expand documentation for cloud endpoints (get_types) +* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection. +* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows. +* Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand. +* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states. +* Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience. +* Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability. __Fixed__ -* Fix get_item() returning HTTP 500 for a not-found snippet (now returns proper 404/handled response) -* Restore community cloud search results after regression introduced in earlier changes -* Fix various WordPress 7.0 admin UI regressions (snippets table controls, menu button alignment, branding) -* Fix a breaking change introduced in #389 that caused runtime issues -* Stabilize flaky featured cache key test to reduce CI/test flakiness +* Fixed REST API server error responses on missing snippets. +* Fixed redundant frontend logic, improving overall performance. +* Fixed Community Cloud search results and pagination to respect WordPress screen options. +* Fixed snippet saving and activation feedback to improve validation and runtime error display. + +__Accessibility__ + +* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor. +* Added clearer labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls. +* Improved colour contrast and reduced-motion support across admin screens. = 3.9.6 (2026-04-28) =