diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d2efcef..803f9eb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## v0.12.1 - Bug fix + +This _minor_ release fixes an issue where certain complex Field Input and Field Choice types would try to implement a non-existent parent inteface, causing GraphQL debug messages to be returned in the response. + - fix: Use local store for `FieldInputRegistry` and `FieldChoiceRegistry` to prevent the registration of duplicate/nonexistent types. - chore: Update Composer dev deps. - test: Ensure no `extensions['debug']` messages are returned when querying FormFields. diff --git a/README.md b/README.md index c3d09121..189b8367 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A WordPress plugin that provides a GraphQL API for interacting with Gravity Forms. -![Packagist License](https://img.shields.io/packagist/l/harness-software/wp-graphql-gravity-forms?color=green) ![Packagist Version](https://img.shields.io/packagist/v/harness-software/wp-graphql-gravity-forms?label=stable) ![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/harness-software/wp-graphql-gravity-forms/v0.12.0) ![GitHub forks](https://img.shields.io/github/forks/harness-software/wp-graphql-gravity-forms?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/harness-software/wp-graphql-gravity-forms?style=social)
+![Packagist License](https://img.shields.io/packagist/l/harness-software/wp-graphql-gravity-forms?color=green) ![Packagist Version](https://img.shields.io/packagist/v/harness-software/wp-graphql-gravity-forms?label=stable) ![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/harness-software/wp-graphql-gravity-forms/v0.12.1) ![GitHub forks](https://img.shields.io/github/forks/harness-software/wp-graphql-gravity-forms?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/harness-software/wp-graphql-gravity-forms?style=social)
[![Coverage Status](https://coveralls.io/repos/github/harness-software/wp-graphql-gravity-forms/badge.svg?branch=develop)](https://coveralls.io/github/harness-software/wp-graphql-gravity-forms?branch=develop) [![WordPress Coding Standards](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/code-standard.yml/badge.svg)](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/code-standard.yml) [![Code Quality](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/code-quality.yml/badge.svg)](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/code-quality.yml) [![Schema Linter](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/schema-linter.yml/badge.svg)](https://github.com/harness-software/wp-graphql-gravity-forms/actions/workflows/schema-linter.yml) * [Join the WPGraphQL community on Slack.](https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA) diff --git a/phpstan/constants.php b/phpstan/constants.php index efa4f38d..688d63f7 100644 --- a/phpstan/constants.php +++ b/phpstan/constants.php @@ -6,4 +6,4 @@ define( 'WPGRAPHQL_GF_AUTOLOAD', true ); define( 'CRGEARY_JAMSTACK_DEPLOYMENTS_OPTIONS_KEY', 'wp-jamstack-deployments' ); define( 'WPGRAPHQL_GF_PLUGIN_FILE', 'wp-graphql-gravity-forms.php' ); -define( 'WPGRAPHQL_GF_VERSION', '0.12.0' ); +define( 'WPGRAPHQL_GF_VERSION', '0.12.1' ); diff --git a/readme.txt b/readme.txt index 57489f63..2122b194 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ Tested up to: 6.2 Requires PHP: 7.4 Requires Gravity Forms: 2.5.0 Requires WPGraphQL: 1.9.0 -Stable tag: 0.12.0 +Stable tag: 0.12.1 Maintained at: https://github.com/harness-software/wp-graphql-gravity-forms License: GPL-3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/src/Registry/FieldChoiceRegistry.php b/src/Registry/FieldChoiceRegistry.php index 532af5c3..02635286 100644 --- a/src/Registry/FieldChoiceRegistry.php +++ b/src/Registry/FieldChoiceRegistry.php @@ -27,7 +27,7 @@ class FieldChoiceRegistry { * * Used to prevent duplicate type registration. * - * @since @todo + * @since 0.12.1 * * @var array */ diff --git a/src/Registry/FieldInputRegistry.php b/src/Registry/FieldInputRegistry.php index 738602dd..1d5f985a 100644 --- a/src/Registry/FieldInputRegistry.php +++ b/src/Registry/FieldInputRegistry.php @@ -27,7 +27,7 @@ class FieldInputRegistry { * * Used to prevent duplicate type registration. * - * @since @todo + * @since 0.12.1 * * @var array */ diff --git a/wp-graphql-gravity-forms.php b/wp-graphql-gravity-forms.php index 2c13c538..0e1dff8c 100644 --- a/wp-graphql-gravity-forms.php +++ b/wp-graphql-gravity-forms.php @@ -7,7 +7,7 @@ * Author: Harness Software * Author URI: https://www.harnessup.com * Update URI: https://github.com/harness-software/wp-graphql-gravity-forms/releases - * Version: 0.12.0 + * Version: 0.12.1 * Text Domain: wp-graphql-gravity-forms * Domain Path: /languages * Requires at least: 5.4.1 @@ -35,7 +35,7 @@ function gf_graphql_constants() : void { // Plugin version. if ( ! defined( 'WPGRAPHQL_GF_VERSION' ) ) { - define( 'WPGRAPHQL_GF_VERSION', '0.12.0' ); + define( 'WPGRAPHQL_GF_VERSION', '0.12.1' ); } // Plugin Folder Path.