diff --git a/CHANGELOG.md b/CHANGELOG.md index 72cd866f..835f3dfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,22 @@ # Changelog +## [3.8.2] (2025-10-31) + +### Fixed +* Improved namespaced PHP snippet handling with file based execution. + ## [3.8.1] (2025-10-28) +### Added +* Code line explanation widget with apply and remove actions for AI-generated comments. (PRO) + +### Changed +* Improved pagination handling and display structure for cloud search results. (PRO) +* Enhanced styling for codevault rows and inactive tabs in cloud interface. (PRO) + +### Removed +* Removed `guzzlehttp/guzzle` dependency to reduce package conflicts. (PRO) + ### Fixed * Improved file-based snippet handling for multisite installations. diff --git a/package-lock.json b/package-lock.json index 20faf68c..62733867 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "3.8.1", + "version": "3.8.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "3.8.1", + "version": "3.8.2", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index fa95c3ed..4fe72dda 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.1", + "version": "3.8.2", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index ece61d91..22c3778b 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.1 + * Version: 3.8.2 * Requires PHP: 7.4 * Requires at least: 5.0 * - * @version 3.8.1 + * @version 3.8.2 * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2024 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '3.8.1' ); + define( 'CODE_SNIPPETS_VERSION', '3.8.2' ); /** * The full path to the main file of this plugin. diff --git a/src/php/flat-files/handlers/php-snippet-handler.php b/src/php/flat-files/handlers/php-snippet-handler.php index 5d306392..aaa212f9 100644 --- a/src/php/flat-files/handlers/php-snippet-handler.php +++ b/src/php/flat-files/handlers/php-snippet-handler.php @@ -12,6 +12,7 @@ public function get_dir_name(): string { } public function wrap_code( string $code ): string { - return "