diff --git a/.changeset/popular-carrots-impress.md b/.changeset/popular-carrots-impress.md deleted file mode 100644 index 0103643c..00000000 --- a/.changeset/popular-carrots-impress.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@wpengine/wpgraphql-logging-wordpress-plugin": minor ---- - -chore: Various improvement to the logging plugin: - -- Implemented BufferHandler to batch write database entries for performance -- Implemented LogStoreService to remove hard dependencies of the Database services in the admin and various classes -- Refactored Database and CRUD log services to use interfaces to make it easy to be exctended for other data storage solutions. -- Added missing indexes for performance -- Added filters for caching configuration -- Better error handling -- Added missing nonce for admin pages - diff --git a/plugins/composer-packages.json b/plugins/composer-packages.json index 8f2a6355..432947e6 100644 --- a/plugins/composer-packages.json +++ b/plugins/composer-packages.json @@ -423,6 +423,32 @@ } }, "wpengine/wpgraphql-logging": { + "0.2.0": { + "name": "wpengine/wpgraphql-logging", + "version": "0.2.0", + "type": "wordpress-plugin", + "description": "A plugin for logging WPGraphQL request lifecycle tp help with debugging and performance analysis for WPGraphQL queries.", + "homepage": "https://github.com/wpengine/hwptoolkit", + "license": "GPL-2.0", + "authors": [ + { + "name": "WP Engine Headless OSS Development Team", + "email": "headless-oss@wpengine.com", + "homepage": "https://wpengine.com/" + } + ], + "support": { + "issues": "https://github.com/wpengine/hwptoolkit/issues", + "email": "support@wpengine.com" + }, + "dist": { + "url": "https://github.com/wpengine/hwptoolkit/releases/download/%40wpengine%2Fwpgraphql-logging-wordpress-plugin-0.2.0/wpgraphql-logging.zip", + "type": "zip" + }, + "require": { + "composer/installers": "~1.0 || ~2.0" + } + }, "0.1.0": { "name": "wpengine/wpgraphql-logging", "version": "0.1.0", diff --git a/plugins/wpgraphql-logging/CHANGELOG.md b/plugins/wpgraphql-logging/CHANGELOG.md index e29799ee..836fde6c 100644 --- a/plugins/wpgraphql-logging/CHANGELOG.md +++ b/plugins/wpgraphql-logging/CHANGELOG.md @@ -1,5 +1,19 @@ # WPGraphQL Logging +## 0.2.0 + +### Minor Changes + +- [#456](https://github.com/wpengine/hwptoolkit/pull/456) [`389a324`](https://github.com/wpengine/hwptoolkit/commit/389a32440d21a9dbfee18dac39e695af6aa0816e) Thanks [@theodesp](https://github.com/theodesp)! - chore: Various improvement to the logging plugin: + + - Implemented BufferHandler to batch write database entries for performance + - Implemented LogStoreService to remove hard dependencies of the Database services in the admin and various classes + - Refactored Database and CRUD log services to use interfaces to make it easy to be exctended for other data storage solutions. + - Added missing indexes for performance + - Added filters for caching configuration + - Better error handling + - Added missing nonce for admin pages + ## 0.1.0 ### Minor Changes diff --git a/plugins/wpgraphql-logging/composer.json b/plugins/wpgraphql-logging/composer.json index c3693d6a..011058c4 100644 --- a/plugins/wpgraphql-logging/composer.json +++ b/plugins/wpgraphql-logging/composer.json @@ -3,7 +3,7 @@ "type": "wordpress-plugin", "description": "A plugin for logging WPGraphQL request lifecycle tp help with debugging and performance analysis for WPGraphQL queries.", "license": "GPLv2 or later", - "version": "0.1.0", + "version": "0.2.0", "authors": [ { "name": "WP Engine Headless OSS Development Team", diff --git a/plugins/wpgraphql-logging/package.json b/plugins/wpgraphql-logging/package.json index 14597fdc..612a163a 100644 --- a/plugins/wpgraphql-logging/package.json +++ b/plugins/wpgraphql-logging/package.json @@ -1,6 +1,6 @@ { "name": "@wpengine/wpgraphql-logging-wordpress-plugin", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "A POC plugin for logging WPGraphQL queries.", "scripts": { diff --git a/plugins/wpgraphql-logging/readme.txt b/plugins/wpgraphql-logging/readme.txt index 1fc3b5b6..c06c16b3 100644 --- a/plugins/wpgraphql-logging/readme.txt +++ b/plugins/wpgraphql-logging/readme.txt @@ -5,7 +5,7 @@ Requires at least: 6.5 Tested up to: 6.8.2 Requires PHP: 8.1.2 Requires WPGraphQL: 2.3.0 -Stable tag: 0.1.0 +Stable tag: 0.2.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/plugins/wpgraphql-logging/wpgraphql-logging.php b/plugins/wpgraphql-logging/wpgraphql-logging.php index 5a9556a8..e6cbf8b6 100644 --- a/plugins/wpgraphql-logging/wpgraphql-logging.php +++ b/plugins/wpgraphql-logging/wpgraphql-logging.php @@ -7,7 +7,7 @@ * Author: WPEngine Headless OSS Team * Author URI: https://github.com/wpengine * Update URI: https://github.com/wpengine/hwptoolkit - * Version: 0.1.0 + * Version: 0.2.0 * Text Domain: wpgraphql-logging * Domain Path: /languages * Requires at least: 6.5 @@ -78,7 +78,7 @@ function wpgraphql_logging_init(): void { function wpgraphql_logging_constants(): void { if ( ! defined( 'WPGRAPHQL_LOGGING_VERSION' ) ) { - define( 'WPGRAPHQL_LOGGING_VERSION', '0.1.0' ); + define( 'WPGRAPHQL_LOGGING_VERSION', '0.2.0' ); } if ( ! defined( 'WPGRAPHQL_LOGGING_PLUGIN_DIR' ) ) {