Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .changeset/popular-carrots-impress.md

This file was deleted.

26 changes: 26 additions & 0 deletions plugins/composer-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions plugins/wpgraphql-logging/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/wpgraphql-logging/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugins/wpgraphql-logging/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/wpgraphql-logging/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions plugins/wpgraphql-logging/wpgraphql-logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' ) ) {
Expand Down