diff --git a/CHANGELOG.md b/CHANGELOG.md index e66694c..f68a308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ All notable changes to this project should be documented both here and in the main Readme files. +#### [0.1.12] - 2023-04-22 + +#### Fixed + +- Fixed WordPress mocking in unit tests +- Added proper mocking for WordPress functions in tests +- Improved code quality tool configurations + +#### Added + +- Detailed code quality checks workflow documentation +- Updated documentation for better workflow efficiency + #### [0.1.11] - 2023-04-21 #### Improved diff --git a/readme.txt b/readme.txt index ad7192c..9517bfd 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: starter, template, boilerplate, plugin development, ai coding Requires at least: 5.0 Tested up to: 6.5 Requires PHP: 7.4 -Stable tag: 0.1.11 +Stable tag: 0.1.12 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -228,6 +228,13 @@ npm run multisite == Changelog == += 0.1.12 = +* Fixed: WordPress mocking in unit tests +* Added: Proper mocking for WordPress functions in tests +* Improved: Code quality tool configurations +* Added: Detailed code quality checks workflow documentation +* Updated: Documentation for better workflow efficiency + = 0.1.11 = * Improved: Code quality with comprehensive fixes * Fixed: Indentation issues in PHP files @@ -288,6 +295,9 @@ npm run multisite == Upgrade Notice == += 0.1.12 = +Fixed WordPress mocking in unit tests, improved code quality tool configurations, and added detailed workflow documentation. + = 0.1.11 = Improved code quality with comprehensive fixes, better security, and standardized naming conventions across the codebase. diff --git a/sonar-project.properties b/sonar-project.properties index b721ba7..be03e8f 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.projectKey=wpallstars_wp-plugin-starter-template-for-ai-coding sonar.organization=wpallstars sonar.projectName=wp-plugin-starter-template-for-ai-coding -sonar.projectVersion=0.1.10 +sonar.projectVersion=0.1.12 # Path to source directories sonar.sources=. diff --git a/wp-plugin-starter-template.php b/wp-plugin-starter-template.php index 0acb5e6..37fb8f0 100644 --- a/wp-plugin-starter-template.php +++ b/wp-plugin-starter-template.php @@ -3,7 +3,7 @@ * Plugin Name: WordPress Plugin Starter Template * Plugin URI: https://www.wpallstars.com * Description: A comprehensive starter template for WordPress plugins with best practices for AI-assisted development. - * Version: 0.1.11 + * Version: 0.1.12 * Author: Your Name & The WPALLSTARS Team * Author URI: https://www.wpallstars.com * License: GPL-2.0+ @@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) { require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin.php'; // Initialize the plugin and store the instance in a global variable. -$wpst_plugin = new WPALLSTARS\PluginStarterTemplate\Plugin( __FILE__, '0.1.11' ); +$wpst_plugin = new WPALLSTARS\PluginStarterTemplate\Plugin( __FILE__, '0.1.12' ); // Initialize the plugin. $wpst_plugin->init();